question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I call an album?

See original GitHub issue

Hi, sorry if this is not the correct place to ask but I don’t see any other support site.

How do I call a specific album instead of a playlist? I use the Mini Media Card which uses Spotcast data model. When I define a playlist with like id: spotify:user:<me>:playlist:136hsDqjTbnGG4M8qOHREF it works but it doesn’t call albums. I tried id: spotify:user:<me>:album:21jF5jlMtzo94wbxmJ18aa (Adele’s 30) but that doesn’t work and usually boots me out of Spotify with [spotipy.client] HTTP Error for PUT to https://api.spotify.com/v1/me/player/play with Params: {} returned 403 due to Player command failed: Restriction violated

Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
hmmbobcommented, Dec 21, 2021

spotify:album:21jF5jlMtzo94wbxmJ18aa should work

service: spotcast.start
data:
  entity_id: media_player.studeerkamer
  uri: spotify:album:21jF5jlMtzo94wbxmJ18aa

gets me Adele playing. As albums are not linked to your account (playlists may be), I think that there is no need to pass your username to play them.

0reactions
Stoooviecommented, Dec 22, 2021

the error you receive isn’t even from spotcast, Home Assistant isn’t even aware of the device you are trying to call.

that’s the issue. This is from the HA log when trying to call the Spotcast service. The media_player.bedroom_echo_dot is correct, I use it every day for two years in a lot of different automations. I may be confused with the plethora of elements in this workflow and I’ve admitted earlier to be, but in this very instance, I’m not.

But as I said, it’s an issue with Shuffle/Repeat/DND entities that are intermittent, it’s not just my issue. Thanks for your time!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the difference between a single, an EP and an album?
An album is considered to be 6 or more songs running over 30 minutes in length and is considered to be one product....
Read more >
Album - Wikipedia
When LP records were introduced, a collection of pieces or songs on a single record was called an "album"; the word was extended...
Read more >
What is the difference between a Single, an EP, and an Album?
In TuneCore's platform, an album is a release with two or more tracks. Albums can contain up to 100 tracks and have a...
Read more >
What Is The Difference Between Lp And Ep In Music?
You could even call it a “mini album”. This isn't what the term EP actually means, but we'll talk more about that in...
Read more >
EP's, LP's, Albums and Mixtapes - marshall.com
The term 'album' was coined when 78rpm record first got released. Originally these popular 10-inch records could only hold about three minutes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found