size limit on playlists?

Posted by: pim

size limit on playlists? - 08/04/2001 17:22

I'm not sure whether this is a bug or whether I made some mistake upgrading my harddisks. But this is what's happened:

Now that I have two IBM travelstar 30 GB drives, my Mk2 won't remember where it was if I play the root playlist and reboot.

My root playlist contains 11447 songs, 9265 unique. Any other sub-playlist will continue to play after a next boot. But the root playlist will start with "end of playlist" the next time I cold-boot the empeg. It does not matter whether the Empeg is powered by the car or by the adapter. In the car, it is enough to do a full shutdown, without touching the ignition key, to make the Empeg forget, so I don't think it's an electrical problem, like the "thumb" problem that was fixed by the diode I happily received from Empeg support.

My hunch is that I hit some size limit in the player software.
Any other ideas?


Posted by: peter

Re: size limit on playlists? - 09/04/2001 02:59

My hunch is that I hit some size limit in the player software.

9,362 (a bit less if you've got duplicates).

Sorry about that.

We intend to put a bigger limit in 1.1 before release.

Peter


Posted by: tfabris

Re: size limit on playlists? - 09/04/2001 09:49

Wow, I didn't know this.

Question: Why does there need to be a limit at all? Isn't there a way to dynamically allocate that sort of thing?

___________
Tony Fabris
Posted by: peter

Re: size limit on playlists? - 09/04/2001 10:08

Why does there need to be a limit at all? Isn't there a way to dynamically allocate that sort of thing?

The limit isn't on the size of playlist you can play, it's on the size of playlist you can remember and restore over a power-off. The player uses a special disk partition for this kind of data: one without a filesystem on, one which is read and written directly at the sector level.

Because there is no filesystem on this "dynamic data" partition, the allocations to various uses (bookmarks, playcount etc. live on there too) are fixed. And the allocation for remembered playlists is simply too small.

The reason there's no filesystem, is to avoid the chance of the whole lot getting hosed in the case of power failure: the dynamic data partition, unlike the music or root partitions, is rewritten at arbitrary times in-car, and so we must cope with power fails at any moment.

Peter


Posted by: muzza

Re: size limit on playlists? - 09/04/2001 20:20

That is truly amazing!!!!

You guys really thought of everything

____________________
Murray 06000047