Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: ljnett on October 13, 2010, 11:39:10 PM

Title: Max number of playlist viewable in playlist catalog
Post by: ljnett on October 13, 2010, 11:39:10 PM
I am using a 4th gen ipod and when viewing playlist catalog not all playlists are there. You only can see the first 400 playlists. When viewing playlist folder with file browser, all 674 playlists are there and playable. Is there a playlist catalog limit
Title: Re: Max number of playlist viewable in playlist catalog
Post by: Lear on October 14, 2010, 04:00:02 AM
Yes, there's a hard-coded limit at 400 there. Would be nice to remove that...
Title: Re: Max number of playlist viewable in playlist catalog
Post by: JdGordon on October 14, 2010, 08:36:09 AM
what the bloody hell? Why isnt the playlist catalogue using the file browser?

http://www.rockbox.org/tracker/task/11678
Title: Re: Max number of playlist viewable in playlist catalog
Post by: Lear on October 14, 2010, 01:36:54 PM
what the bloody hell? Why isnt the playlist catalogue using the file browser?

I'm guessing it doesn't use the file browser proper to show custom actions/context menus.

It does use ft_load to load the list, but then filters the result to only show playlists (the filtered result list is the limit). Temporarily changing the setting to "Playlists only" should work, even if somewhat ugly, and that should avoid the need to filter, and thus have a fixed limit on the number of entries.
Title: Re: Max number of playlist viewable in playlist catalog
Post by: JdGordon on October 14, 2010, 08:37:19 PM
it looks like the only reason it uses a custom list is so it can put the most recent playlist at the top. If that is the case then there are better ways to do this (like add a menu item) so it can use the normal file browser
Title: Re: Max number of playlist viewable in playlist catalog
Post by: ljnett on November 07, 2010, 09:48:21 AM
Was this implemented in release 3.7. I have upgraded but still have the 400 playlist limit in playlist catalog.
Title: Re: Max number of playlist viewable in playlist catalog
Post by: JdGordon on November 07, 2010, 04:03:12 PM
not yet, there is a patch but it hasnt been commited yet