Well, the playlists is probably much harder to parse than to create. Like I said, it's a concatenation of all playlist tags in FID order.

So to find subplaylists, you will need to calculate the offset in the playlists file for your subplaylist.

To do that, you wil have to look up all the lengths of all playlists in the database file and build an offset table from there.

That's why it's very important that the length tag for playlists is correct.

Pim