emilioastarita / lyricfier

a Spotify Lyrics alternative app | New updates at https://github.com/emilioastarita/lyricfier2 (a faster version in golang)
Creative Commons Zero v1.0 Universal
584 stars 47 forks source link

Current song error: No song #103

Open leoarruda6 opened 5 years ago

leoarruda6 commented 5 years ago

image

Piratkopia13 commented 5 years ago

Having the exact same issue, doesn't matter which song I play.

ghost commented 5 years ago

The same thing happens to me and I think it's been since the last update of windows 10

flashjames commented 5 years ago

Tried on ubuntu 16.04. Same error

leoarruda6 commented 5 years ago

Don't know if it helps, but trying to find out here, got this. The token being used has a 'faketoken' at the end. Any idea?

image

fjpalacios commented 5 years ago

Same thing here with macOS 10.13.5.

emilioastarita commented 5 years ago

Hey! This could be a change in spotify API. Let me check this on weekend and I see what can I do.

discoli-zz commented 5 years ago

@emilioastarita must be because Musixmatch and spotify-lyrics also do not seem to work, thought I messed something up haha, thank you :)

guiburi commented 5 years ago

same issue here. any update @emilioastarita ?

j0hn commented 5 years ago

same problem... Looks like spotify changed something because https://open.spotify.com/token is returing a token that ends with "faketoken".

Vahidrostami commented 5 years ago

same problem here with both Musixmatch and Lyricifier in Ubuntu 16.04

rgalhama commented 5 years ago

Same problem here! (Lyricifier+Spotify, on Linux Mint). Any news?

nnoc commented 5 years ago

Same problem here! Is it something related to spotify?

RobFog commented 5 years ago

Lyricfier is sorely missed!

morgancmartin commented 5 years ago

Just chiming in to say the same! @emilioastarita if you could use some help just ping me and I'll see what I can do. I'm not super familiar with typescript, but I may be of some use. Just LMK!

DaanGebraad commented 5 years ago

Same issue here as well, any updates on a possible fix? Got some experience with typescript so hit me up if you need some help.

patrolez commented 5 years ago

Every Open-Source project which deals with new Spotify API struggles with this problem after recent API upgrade.

Solution 1 - upgrade to new WebApi

The official way to do it is to follow guide how it is mentioned under https://developer.spotify.com/documentation/general/guides/authorization-guide/

Solution 2 - offline mechanism usage in OS environments to obtain currently played song data

Linux

Under Linux it is possible to get currently played Song via MPRIS based on dbus - e.g. https://stackoverflow.com/a/33923095. Shared code above is made for Python2. To make it work under Python3 just add brackets in "print" call invocation.

Windows 10

There seems to exist an API called SystemMediaTransportControls or SMTC in C# - is there possibility to integrate it with NodeJs? I do not know - https://docs.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrolsdisplayupdater

Older Windows

Not sure if any method exist. Maybe reading data from Spotify App title.

Summary

Solution 3

It somehow misuses Spotify Developer example application, so I will not get into it. I will only say that it comes with specific client ID. Here is URL https://developer.spotify.com/console/get-users-currently-playing-track/. I will not comment on that method anymore.