Unoffical empeg BBS

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

Topic Options
#155057 - 14/04/2003 09:22 Where is the xml database stored in the Empeg?
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
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!

Top
#155058 - 14/04/2003 09:29 Re: Where is the xml database stored in the Empeg? [Re: jules]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
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.

_________________________
-- roger

Top
#155059 - 14/04/2003 19:24 Re: Where is the xml database stored in the Empeg? [Re: Roger]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
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?

Top
#155060 - 14/04/2003 23:47 Re: Where is the xml database stored in the Empeg? [Re: jules]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Or, you just query Hijack with the right urls, and it builds what you need on the fly.
_________________________
-Aaron

Top
#155061 - 15/04/2003 00:46 Re: Where is the xml database stored in the Empeg? [Re: jules]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
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.
_________________________
-- roger

Top
#155062 - 15/04/2003 03:42 Re: Where is the xml database stored in the Empeg? [Re: adavidw]
jules
member

Registered: 21/01/2002
Posts: 174
Loc: Indiana USA
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.

Top
#155063 - 15/04/2003 12:26 Re: Where is the xml database stored in the Empeg? [Re: jules]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
XML export in Jemplode might work for you.
_________________________
Mark Cushman

Top
#155064 - 15/04/2003 14:29 Re: Where is the xml database stored in the Empeg? [Re: jules]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
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.
_________________________
-Aaron

Top