Hi Patrick,

I have recently installed the latest version of the plugin. It works
very well but many of my playlists are truncated. It seems that the
number of tracks in a playlist is limited to about 40 tracks. However,
some of my playlists are rather big.

I quickly checked the code, and it indeed does not pass a limit parameter. Which means that they would return the default of 50 tracks maximum.

Unfortunately I don't have a Qobuz account, therefore can't test. Bit if you were willing to modify the code on your system, you might give this a try: check Settings/Information to figure out where your plugin is installed. It would be in the path ending in InstalledPlugins. In there you'll find a file API.pm. Line 219 there's the getPlaylistTracks method. In there change around line 230 from:

                playlist_id => $playlistId,
                extra       => 'tracks',

to:

                playlist_id => $playlistId,
                extra       => 'tracks',
                limit       => USERDATA_LIMIT

This would return a maximum of 500 items. If you feel like getting even more than 500 tracks, put your number instead of USERDATA_LIMIT. But I wouldn't be surprised if you hit some issues sooner or later.

Please let me know whether this worked. I'd then add it to the plugin code. Thanks!

--

Michael
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to