danielvijge / SqueezeCloud

SoundCloud plugin for Squeezebox
GNU General Public License v2.0
25 stars 11 forks source link

Problem with 'Playlists' - any click brings first item #31

Closed uh99-0 closed 3 years ago

uh99-0 commented 3 years ago

Hi, for many SquC-versions (thank you) I have a problem with item 'Playlists', 'Following' or 'Likes': whatever playlist shown i click, it brings me to the list shown on top and there, whatever i click it plays the first song.

https://user-images.githubusercontent.com/30765081/103315518-19620900-4a26-11eb-8611-efc293b366f1.mp4

Could you please solve it. (I don't understand the code of Plugin.pm; sub _parsePlaylistTracks { ff.)

uh99-0 commented 3 years ago

please look at issue #11 (2016). Same problem?

uh99-0 commented 3 years ago

Does a debug-file help? e.g.: [21-01-01 11:57:00.5785] Plugins::SqueezeCloud::Plugin::ANON (432) fetching: https://api.soundcloud.com/me/followings.json?offset=7&oauth_token=3-82597-60157201-at8jW9mqP7alUPAE& [21-01-01 11:57:00.7914] Plugins::SqueezeCloud::Plugin::ANON (483) this page: 1 total: 501 [21-01-01 11:57:00.7920] Plugins::SqueezeCloud::Plugin::tracksHandler (323) search type: friend [21-01-01 11:57:00.7922] Plugins::SqueezeCloud::Plugin::tracksHandler (324) index: 2 [21-01-01 11:57:00.7925] Plugins::SqueezeCloud::Plugin::tracksHandler (325) quantity: 1 [21-01-01 11:57:00.7927] Plugins::SqueezeCloud::Plugin::ANON (339) i: 2 [21-01-01 11:57:00.7930] Plugins::SqueezeCloud::Plugin::ANON (344) max: 1 [21-01-01 11:57:00.7933] Plugins::SqueezeCloud::Plugin::ANON (432) fetching: https://api.soundcloud.com/users/12703.json?offset=2&limit=1&&oauth_token=3-82597-60157201-at8jW9mqP7alUPAE& [21-01-01 11:57:01.0569] Plugins::SqueezeCloud::Plugin::ANON (483) this page: 3 total: 501 [21-01-01 11:57:01.0576] Plugins::SqueezeCloud::Plugin::tracksHandler (323) search type: playlists [21-01-01 11:57:01.0579] Plugins::SqueezeCloud::Plugin::tracksHandler (324) index: 3 [21-01-01 11:57:01.0582] Plugins::SqueezeCloud::Plugin::tracksHandler (325) quantity: 1 [21-01-01 11:57:01.0586] Plugins::SqueezeCloud::Plugin::ANON (339) i: 3 [21-01-01 11:57:01.0589] Plugins::SqueezeCloud::Plugin::ANON (344) max: 1 [21-01-01 11:57:01.0592] Plugins::SqueezeCloud::Plugin::ANON (432) fetching: https://api.soundcloud.com/users/12703/playlists.json?offset=3&limit=30&&oauth_token=3-82597-60157201-at8jW9mqP7alUPAE& [21-01-01 11:57:01.4869] Plugins::SqueezeCloud::Plugin::ANON (483) this page: 7 total: 530 [21-01-01 11:57:01.4912] Plugins::SqueezeCloud::Plugin::ANON (488) short page, truncate total to 10 [21-01-01 11:57:01.4919] Plugins::SqueezeCloud::Plugin::tracksHandler (323) search type: playlists [21-01-01 11:57:01.4922] Plugins::SqueezeCloud::Plugin::tracksHandler (324) index: 0 [21-01-01 11:57:01.4925] Plugins::SqueezeCloud::Plugin::tracksHandler (325) quantity: 260 [21-01-01 11:57:01.4931] Plugins::SqueezeCloud::Plugin::ANON (339) i: 0 [21-01-01 11:57:01.4938] Plugins::SqueezeCloud::Plugin::ANON (344) max: 200 [21-01-01 11:57:01.4942] Plugins::SqueezeCloud::Plugin::ANON (432) fetching: https://api.soundcloud.com/playlists/651820026.json?offset=0&limit=200&&oauth_token=3-82597-60157201-at8jW9mqP7alUPAE& [21-01-01 11:57:01.7225] Plugins::SqueezeCloud::Plugin::ANON (483) this page: 3 total: 700 [21-01-01 11:57:01.7228] Plugins::SqueezeCloud::Plugin::ANON (488) short page, truncate total to 3

danielvijge commented 3 years ago

It's the same issue as mentioned in #21 I looked at the code before (note: I'm not the original author), but I didn't see a quick way to fix it. At the moment, I'm hardly using this plugin myself, so it's difficult to find a lot of time to invest in this. It would really be good if other people could join the development and submit pull requests that solve the issue.