SwagLyrics / SwSpotify

Cross-platform library to get the currently playing song and artist from Spotify w/o using the API or the internet. Very fast.
MIT License
85 stars 12 forks source link

Swspotify no longer works on latest UWP Spotify #56

Open IM-TechieScientist opened 5 months ago

IM-TechieScientist commented 5 months ago

Describe the bug Swspotify no longer works on latest uwp Spotify version.

To Reproduce Update Spotify UWP to latest version and try using spotify.song() fn.

Proposed Fix Figured out that replacing "Chrome_WidgetWin_0" with "Chrome_WidgetWin_1" in line 31 of spotify.py fixes the issue. Occasionally Visual studio code or other electron apps do cause issues but that can be fixed with an additional if statement.

aadibajpai commented 5 months ago

if you make a pr I'd be happy to accept it and make a new release

IM-TechieScientist commented 4 months ago

@aadibajpai Apologies for the late response but user Advaith-RN has made the pr and it would be great if you could accept it.