MartijnVogelaar / krunner-spotify

Allows you to easily control Spotify via KRunner.
GNU General Public License v3.0
42 stars 6 forks source link

myplaylist command no longer works #31

Open zany130 opened 1 year ago

zany130 commented 1 year ago

It will show your playlists but selecting one will lead to a page not found Spotify error

Operating System: Garuda Linux KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.13-272-tkg-bmq (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6700 XT

MartijnVogelaar commented 1 year ago

I am unable to reproduce this problem.

Typing: "Play myplaylist"

And selecting any one of the shown will result in this playlist being played.

Could you tell me what version of Spotipy you are using?

Are you furthermore a premium Spotify user? Spotify does not allow all features for free users

zany130 commented 1 year ago

spotipy 2.16.1

and yeah I am a spotify premium user

edit updated to spotipy 2.22.0 and same issue

installed the latest version of krunner-spotify from the master branch (was using the version on discover) and same issue

image

MartijnVogelaar commented 1 year ago

Edit: managed to reproduce it.

Looking at a fix now.

MartijnVogelaar commented 1 year ago

Should be fixed in: https://github.com/MartijnVogelaar/krunner-spotify/pull/32

zany130 commented 1 year ago

cloned the 31-myplaylist-command-no-longer-works branch and ran the uninstaller, rebooted then the installer, and it still loads the wrong URL with track in it. Changing it to playlist manually fixes it so seems like this conditional is not working.

https://github.com/MartijnVogelaar/krunner-spotify/blob/20eb07741c18754e155b4b67ef80f354573323d0/src/commands/Play.py#L42