lyricfier
lyricfier copied to clipboard
Current song error: No song
Having the exact same issue, doesn't matter which song I play.
The same thing happens to me and I think it's been since the last update of windows 10
Tried on ubuntu 16.04. Same error
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?
Same thing here with macOS 10.13.5.
Hey! This could be a change in spotify API. Let me check this on weekend and I see what can I do.
@emilioastarita must be because Musixmatch and spotify-lyrics also do not seem to work, thought I messed something up haha, thank you :)
same issue here. any update @emilioastarita ?
same problem... Looks like spotify changed something because https://open.spotify.com/token is returing a token that ends with "faketoken".
same problem here with both Musixmatch and Lyricifier in Ubuntu 16.04
Same problem here! (Lyricifier+Spotify, on Linux Mint). Any news?
Same problem here! Is it something related to spotify?
Lyricfier is sorely missed!
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!
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.
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/
- It requires an app registration which would be assigned to some user account
- it could be maintainer/contributor account OR app author account
- Commentary for Open-Source App and Authorization Flows:
-
Implicit grant flow
at least does not makes problems withsecret key
and server-side hosting, but requires token refreshing manually by user each time it expires (so logging in to Spotify) - Rest of methods require dealing with
secret key
, so server-side hosting (so monies $$) - Another possibility is that each user can be asked to become yourself Spotify Developer and generate its own application to obtain its own
secret key
-
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.
- NodeJs package to deal with
dbus
https://www.npmjs.com/package/dbus - NodeJs package to deal with
MPRIS
directly https://www.npmjs.com/package/mpris-
MPRIS
seems to be stable, so this package even might be stated as being done - not requiring constant upgrades.
-
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
- NodeJS Edge seems to be a solution: https://github.com/tjanczuk/edge
Older Windows
Not sure if any method exist. Maybe reading data from Spotify App title.
Summary
- This solution can make Lyricifer even better app which is not limited to Spotify!
- Seems to be a lot of work to do.
- Another projects can be found via Google which uses
MPRIS
: https://www.google.com/search?q=Lyrics%20MPRIS%20site%3Agithub.com- https://github.com/ok100/lyvi
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.