Unoffical empeg BBS

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

Topic Options
#210780 - 24/03/2004 11:09 What is a F I D
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
Sorry guys, but I just cannot figure out what a FID is or how the Empeg deals with them?!!?

Please Help!!!
_________________________
...One man gathers what another man spills

Top
#210781 - 24/03/2004 11:32 Re: What is a F I D [Re: edsmiata]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
File IDentifier.

Basically, music and playlist information is stored into a structure on your machine. Typically, this is a pair of files: the actual binary data (playlist or music) and the associated emplode generated information (plaintext format with all of the database information that emplode reads). These are paired up as XXXX0 and XXXX1, where the "X"s represent a hexidecimal number. The file ending in zero is the binary data while the file ending in one is the text format information. The XXXX is typically referred to as a FID. You can uniquely identify any audio track or playlist from this unique identifier.

Does that help?

I am actually surprised a better definition isn't in the FAQ, but I did not see one either. At least not by searching for "FID"...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#210782 - 24/03/2004 11:33 Re: What is a F I D [Re: edsmiata]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
FIDs are the actual files on the empeg's hard disk which contain the music, database entries, and playlists.

In other words, when you upload "Rush-Tom Sawyer.mp3" from your PC to the empeg, it does not get named "Rush-Tom Sawyer.mp3" on the empeg's hard disk. It becomes a FID instead. The FIDs are all stored in the directory "\drive0\fids" and "\drive1\fids" on the empeg's hard disks.

I don't know for certain what FID stands for, I think it stands for File Identifier perhaps. I'd be curious to know for sure.

Fids have two parts, the index file and the actual data file. The index file is the one ending in the number "1" and the actual data is the file ending in the number "0". For instance, on my player, the actual MP3 file of Tom Sawyer is "\drive0\fids\bf90" and the song's index/tag data is stored in "\drive0\fids\bf91".

The files that end in "1" are just ascii data containing the song or playlist information. For instance, on my player, \drive0\fids\bf91 looks like this:

duration=273946
bitrate=fs256
genre=Progressive Rock
file_id=01
type=tune
length=8767903
codec=mp3
artist=Rush
offset=1627
tracknr=1
ctime=1053562286
year=1981
source=Moving Pictures
rid=70d3fc79d7338bd1c897ebeae124d987
samplerate=44100
title=Tom Sawyer


Playlists are also FIDs. The difference is that their data file (the 0 file), instead of being the MP3, is a list of the sub-fids contained in that parent FID.

The way the empeg handles them is: Each time you synch with emplode, it sends a special command to the player software to rebuild the database. The player software then mounts the hard disks read-write, scans through every single FID, and concatenates all the index data into a database. Then it sets the hard disks read-only again and reboots. From then on, each time the player is booted up, this database is what gets loaded into the player's memory.

Having the song data indexed into this carefully organized database (instead of leaving everything as loose files named willy-nilly) allows the player to do all of the amazing things we take for granted, and do them instantly. If the player didn't use this structure, the software would do everything dog-slow, because it would have to scan the whole hard disk every time we asked it to look up an artist, or open the playlist menu, or even switched to the next track.
_________________________
Tony Fabris

Top
#210783 - 24/03/2004 11:35 Re: What is a F I D [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
I like your description better...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#210784 - 24/03/2004 11:36 Re: What is a F I D [Re: pgrzelak]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I am actually surprised a better definition isn't in the FAQ
Because it wasn't a frequently asked question... in fact, I think this is the first time that question has been asked. I'll copy that post into the FAQ once I find out for sure what FID really stands for.
_________________________
Tony Fabris

Top
#210785 - 24/03/2004 11:52 Re: What is a F I D [Re: tfabris]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
Thanks guys!!!!
_________________________
...One man gathers what another man spills

Top
#210786 - 24/03/2004 11:53 Re: What is a F I D [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
File IDentifier.

And the slashes go the other way on Unix: /drive0/fids/
_________________________
-- roger

Top
#210787 - 24/03/2004 12:18 Re: What is a F I D [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Thanks, Roger! You da man.
_________________________
Tony Fabris

Top