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

Liked tracks #297

Closed
winterscar opened this issue Jan 4, 2021 · 7 comments
Closed

Liked tracks #297

winterscar opened this issue Jan 4, 2021 · 7 comments
Labels
A-webapi Area: Spotify Web API

Comments

@winterscar
Copy link

The main way I use Spotify is to navigate to my "Liked Tracks" and hit "Play All".
I use this library in association with home-assistant, and I can start playing any of my playlists without problems, but I'm unable to figure out how I might instruct mopidy to just shuffle all my "Liked Tracks" from spotify.

Is this possible using this library?

Thanks.

@jodal
Copy link
Member

jodal commented Jan 6, 2021

For all music backends, Mopidy supports both:

  • physically shuffling the play queue (called the "tracklist") so that you can view what order the tracks will be played in,
  • "random" play mode, where it will leave the tracklist intact, but pick the next song by random.

I'm not familiar with the HomeAssistant Mopidy integration, so I don't know if or how this functionality is exposed there. Please try asking at https://discourse.mopidy.com or the maintainers of the HomeAssistant integration.

@jodal jodal closed this as completed Jan 6, 2021
@winterscar
Copy link
Author

Hi, thanks for clarifying about the shuffle modes mopidy supports. However, my question was more around how I can get my "liked songs" from spotify into the tracklist in the first place.

@jodal jodal reopened this Jan 7, 2021
@jodal jodal changed the title Shuffle all liked tracks Liked tracks Jan 11, 2021
@jodal
Copy link
Member

jodal commented Jan 11, 2021

AFAIK we don't expose "Liked Songs" in any way, and I can't immediately find any support for them in Spotify's Web API. If anyone can point out my error or if Spotify adds support for it to the Spotify Web API, we can make "Liked Songs" available in Mopidy-Spotify too.

@jodal jodal added the A-webapi Area: Spotify Web API label Jan 11, 2021
@winterscar
Copy link
Author

@djmattyg007
Copy link
Contributor

I think @winterscar is referring to the "folders" presented through the browse integration, by navigating to Spotify -> Your music -> Your Tracks. This isn't a playlist and therefore presumably can't be triggered through an integration that only supports playlists.

It might be possible to provide a fake "liked tracks" playlist?

@winterscar
Copy link
Author

That seems like a good solution to me!

@djmattyg007
Copy link
Contributor

@winterscar Would you be able to take a look at #313 and see if it resolves your issue?

kingosticks pushed a commit to kingosticks/mopidy-spotify that referenced this issue Dec 20, 2023
This adds the ability to utilise the "spotify:your:tracks" and
"spotify:your:albums" URIs through library lookups.

Fixes mopidy#297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-webapi Area: Spotify Web API
Projects
None yet
Development

No branches or pull requests

3 participants