Frank does this with
http://server/ds-bin/getfid?output=raw&savefile=band-album-pos-track_name.mp3&fid=9f8


getfid is a generic function used for :
- getting playlist info in javascript
- getting mp3 info in javascript
- streaming an m3u-file from the empeg
- streaming an mp3-file from the empeg
- download mp3's with custom names

Backup needs both fid-file (*0 *1), so I wrote another function just for backup. It just takes one parameter, the fid filename :
http://server/ds-bin/backupfid?fid=9f80


there's also a function which returns all fids available :
http://server/ds-bin/getallfids


If you want to generate a full listing of all meta info on the empeg, the simplest way to go is use the CSV-dump in emplode, but if you want to go the hard way and do it yourself ( which is much more fun ), you could do it this way :
- call getallfids to get a list of fid files
- strip off the last zero or one from the fid-filenames
- use the new fid-filenames as parameter for getfid :
http://server/ds-bin/getfid?output=js&fid=9f8

this will generate a javascript array which you could parse to get all relevant info

If you just want to change the filename that is downloaded from the default displayserver pages, you can edit test1.html to do this.
adjust the following line to change the saved filename :

filename=""+i+"-"+fidinfo[7]+"-"+fidinfo[4]+"-"+fidinfo[3]+".mp3";




Frank van Gestel
_________________________
Frank van Gestel