Using a custom storage system with the SliMP3?
Jacob Potter <[email protected]>
| Newsgroups | gmane.music.equipment.slimp3.dev |
|---|---|
| Organization | Pottersoft |
| Message-ID | <[email protected]> |
Hi all -
On my system, I have a somewhat different MP3 storage system. Actual
MP3s are stored in the generic spaces-as-underscores format ("A Song"
becomes "A_Song.mp3"), but directories are always stored as 'f.'
followed by something, usually a number. ('f.0', 'f.1', etc). The actual
name of that directory is stored in a file named '.album' along with the
mp3s or subdirectories. Also, the names of MP3s are stored in
'.indexfile', so that I can see the files in whatever order they were on
the CD, not just alphabetically.
I have a console-based browser (which calls mpg123) and PHP web-based
access for this, but how can I tie this in to my SliMP3? (Well, my
SliMP3 emulator, because I don't have a SliMP3). Both the browser and
the PHP script call a back-end, written in C, that outputs something
like this:
1 /home/jacob/mp3/A_Song.mp3 "A Song"
2 /home/jacob/mp3/Another_Song.mp3 "Another Song"
3 f.0/ "A Folder"
(note that the mp3 names are absolute, the folder names are relative.)
Here's an example tree:
-+ MP3s
|
+- .album
(contains 'Root')
+- .indexfile
(contains 'A_Song.mp3' on line 1, 'Another_Song.mp3' on line 2)
+- A_Song.mp3
+- Another_Song.mp3
|
+-+ f.0
|
+- .album
(Contains 'A Folder')
+- .indexfile
(contains 'Song_In_Folder.mp3')
+- Song_In_Folder.mp3
To the user, that looks like:
-+ Root
|
+- A Song
+- Another Song
|
+-+ A Folder
|
+ Song In Folder
Any ideas on how I can tie all this into the SliMP3 server? Thanks!
- Jacob
--
"Terminak #3 has bad keyboard. Pkease fix."
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/