Pretty messy. I think a better option would be for JEmplode to simply generate the new database on the PC side, and upload it after the tunes and playlists during each sync. MUCH faster that way, and already discussed previously. Then we wouldn't need (or even want, most of the time) the player software to ever rebuild the database.

Cheers