empeg tools

2008-05-14 06:28:15 +0000 empeg

In response to this thread on the empeg BBS, I hacked together a couple of small tools for the empeg car player.

They’re not particularly well-integrated yet, but that’ll come later.

They’re command-line programs, so you’ll need to open a console window before running them. They all require .NET 2.0, which is installed by default on Windows Vista, but you might need to download and install it on other OS versions and editions. They also work fine on Mono.


This program looks for empegs on the local network. Run it with no arguments, as follows:

crowley at
crowley at

It’ll scan the local network once every thirty seconds, displaying the empeg’s name and its IP address. Press Ctrl+C to stop it.

Note that the Windows Vista firewall might prompt you to unblock the application. It seems to still work OK even if you don’t.


Given the IP address of the empeg found above, this downloads the database files from the empeg. They’re placed into the current directory (this will be fixed later). Run it as follows:

Getting empeg database from
Copying to ./database3
Copying to ./tags
Copying to ./playlists

It requires the following:

You can see if it succeeded, because the database files are placed in the current directory:


This parses the database files downloaded above and dumps them, in depth-first order, to the screen. I’ll add XML, HTML or XPS output in a later release:

00000100: empeg-car
 00000120: Artists
  00000130: 1000 Clowns
   00000140: (Not the) Greatest Rapper
    00000150: (Not the) Greatest Rapper (LP Version)
    00000160: (Not the) Greatest Rapper (Instrumental)
    00000170: Rainy Days (LP Version)
  000183f0: 2 Many DJ's
   00018400: As Heard On Radio Soulwax Pt. 2
    00018410: Peter Gunn (Live) & Where's Your Head At (Head-A-Pella)

Each line shows the FID in hex, followed by the title, indented under the parent playlist.