Where is the xml database stored in the Empeg?

Posted by: jules

Where is the xml database stored in the Empeg? - 14/04/2003 09:22

Folks,

I need to get my hands on the xml database (programatically download it to a controlling application over ethernet) that contains the playlists, fids and tags. I just can't seem to locate it by traversing the empegs' directory structure. I am assuming that Hijack places such a databse somewhere, since CharcoalGray99's web interface uses it. I have located threads speaking about this, but none point to the location (and name) of the file. Would appreciate pointers.

Thanks!
Posted by: Roger

Re: Where is the xml database stored in the Empeg? - 14/04/2003 09:29

It's not stored anywhere on the player -- it's put together on the fly. The data you're looking for (and it's not XML) is in /empeg/var/database, /empeg/var/tags and /empeg/var/playlists.

Posted by: jules

Re: Where is the xml database stored in the Empeg? - 14/04/2003 19:24

Thanks!

I was hoping to get the xml already done for me. I could use the xml export from emplode, but for some reason that feature does not work on any one of my three machines. There must be something installed in them that conflicts with the export feature. I get a flicker of the title bar in Emplode, but thats it. I had already mentioned this sometime ago.

I will see if I can figure out the layout of the empeg/var files. Has someone figured this out already?
Posted by: adavidw

Re: Where is the xml database stored in the Empeg? - 14/04/2003 23:47

Or, you just query Hijack with the right urls, and it builds what you need on the fly.
Posted by: Roger

Re: Where is the xml database stored in the Empeg? - 15/04/2003 00:46

Has someone figured this out already?

The canonical definition is in the emptool sources (available from the download pages).

There's plenty of other information around, though.
Posted by: jules

Re: Where is the xml database stored in the Empeg? - 15/04/2003 03:42

Where can I find information on the "right url". I don't care about format as long as the info is there, and is in XML. I'll use xPath to get what I need once I know the structure. Thanks.
Posted by: cushman

Re: Where is the xml database stored in the Empeg? - 15/04/2003 12:26

XML export in Jemplode might work for you.
Posted by: adavidw

Re: Where is the xml database stored in the Empeg? - 15/04/2003 14:29

Off the top of my head, I don't know where to point you, but try looking at the URL's that charcoalgray's interface points too. Basically, it's some sort of URL that tells hijack to return a certain fid, and return it in an xml format.