Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any idea how I could get the liked status of current song #51

Open
code-IM-perfect opened this issue Nov 2, 2022 · 0 comments
Open

Comments

@code-IM-perfect
Copy link

code-IM-perfect commented Nov 2, 2022

I'm sorry I know this does not belong here but I can't find anything related anywhere...and you guys seem to know a lot about it...

I need to get if the currently playing song is liked or not (for a widget). I'm on linux so using MPRIS is totally cool but I don't think there is something like this on the official implementation (idk tho) but I guess the default behaviour could be changed with something like spicetify.

I've seen Spotify remembers if the current song was liked even if I restart it offline so I'm guessing I could read a file every time but I can't seem to locate it. Using the API would be much slower but that would be acceptable too but I could not find such a request in the API Documentation.

I also wanted to be able to toggle it but I'm willing to stick to the keyboard shortcuts extension in spicetify if that's too much of a problem

thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant