Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#49432 - 09/12/2001 16:26 My First Program
Captain_Chaos
member

Registered: 18/11/2000
Posts: 126
Loc: Amersfoort, The Netherlands
I've written a small program that can be run on the empeg, called mirrordb. It creates a tree of subdirectories and symbolic links to your MP3's on the empeg. You can then export that tree using samba or FTP to easily access your MP3's according to your own preferred structure (be sure to allow symbolic links outside the samba/FTP share root directory).

Try it out and let me know if it works.

By default it tries to create the tree under /drive0/mirror, but you can specify a different directory on the command line. The directory is created if it doesn't exist yet, and it will contain only one directory, named after the root playlist.

The tree doesn't take up much space, but it does use a lot of inodes, so it probably won't fit on your root filesystem.

Currently it isn't very smart about existing directories, so you have to delete the whole tree before running mirrordb again if you want to incorporate your latest changes to the database.

Hmmm, that link doesn't work very well. Shift+click to download and rename to mirrordb...


Attachments
48175-mirrordb (180 downloads)



Edited by Captain_Chaos (09/12/2001 16:28)

Top
#49433 - 09/12/2001 16:41 Re: My First Program [Re: Captain_Chaos]
Captain_Chaos
member

Registered: 18/11/2000
Posts: 126
Loc: Amersfoort, The Netherlands
I get intermittent crashes if I run mirrordb when the directory already exists. I haven't found the cause yet, but it always works for me if I delete the target directory first.

Top