Announcement

Collapse
No announcement yet.

How to play Spotify playlist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to play Spotify playlist

    Hello,

    I'm new to this google cast concept, so please excuse my ignorance.

    I have Spotify Premium, and it is linked to my google home.

    Can I use AK Google Cast to play a playlist? And if so how?

    Also, I see I can send AK Google Cast a URL, but where or how do I get/create the url?

    I already have an HS Event that turns my backyard lights on at dusk on the weekends, I would also like it to play a playlist.

    Thank you.
    -Tom

    #2
    Hey Tom,

    I think spotify doesn't use URLs to control play list, they use special spotify protocol and pass content id for each track instead of url.

    Can you verify, i.e. start playing Spotify playlist on Chromecast or Google Home and look in my plugin ContentId device.

    Comment


      #3
      Alex, that was a great idea, but you were correct, it's not playing by URL.


      Click image for larger version  Name:	hs2.jpg Views:	0 Size:	48.6 KB ID:	1362108

      Comment


        #4
        Originally posted by tmassano View Post
        Alex, that was a great idea, but you were correct, it's not playing by URL.
        I saw an API for Spotify, I might look into it again.

        BTW, the screenshot looks like HS4?

        Comment


          #5
          Good morning Alex, The Spotify API would be great. I have some events that when I arrive home from work ( via geo-fencing) it turns on lights, gives me a weather report and stock market update.
          It would be really nice if it could also start playing my favorite playlist ;-)

          I also have a door sensor on my back door, if after 5pm (but before 10pm), on Fri-sat-sun I open the door, it turns on my deck lights and all my landscaping lights. It would be nice if it also started my playlist!

          Yes, I have been running HS4 Beta for a couple of days. UI is VERY different, a new learning curve, but its SLOWLY growing on me.

          Thank you for all you do, it is much appreciated.
          -Tom

          Comment


            #6
            Thank you Tom, it's actually almost 12 AM here in AU - HS is my "night job"

            I will look at implementing various controllers in my plugin, I want to play Youtube and Spotify playlists. But my main desire is to create a history of played tracks - and then ability to re-play them.

            Comment


              #7
              Alex, That is actually what I really like about Spotify. It keeps a list of recently played, AND it uses an algorithm to make a "Made for you" playlist of similar music. It's a nice way for me to get introduced to new artists, and like their music. (broaden my horizon) ;-)

              Thanks again, and good night!
              -Tom
              -Tom Click image for larger version

Name:	hs3.jpg
Views:	180
Size:	15.2 KB
ID:	1362193

              Comment


                #8
                Tom, I want general functionality in my plugin - keep a list of anything played - and then the ability to go back and replay.

                Because the plugin already constantly monitors the content id. I actually started the plugin because I have Chromecast connected to my TV and when idle - it starts Backdrop app which shows slideshow with some amazing images, and I always wanted to know what is on the picture? Now it's possible

                Or when somebody plays some songs on Youtube (via Chromecast) - sometimes I want to go back to some song I liked... You get the point...

                Comment


                  #9
                  a list of anything played - and then the ability to go back and replay
                  Is this possible to capture content-id, or whatever else and then replay (like siriusxm) streaming? Is this possible with an event? Objective: create multiple events, and simulate different channels (streams for Rock, Country, Jazz...)

                  Not sure if this is possible since we don't have a URL to copy.

                  Thoughts?

                  Comment


                    #10
                    Originally posted by Mr.Gadget View Post
                    Is this possible to capture content-id, or whatever else and then replay (like siriusxm) streaming? Is this possible with an event? Objective: create multiple events, and simulate different channels (streams for Rock, Country, Jazz...)

                    Not sure if this is possible since we don't have a URL to copy.

                    Thoughts?
                    That's the plan - after HS port.

                    But this still requires supporting protocols for the particular provider, i.e. Spotify, SiriusXm, etc. Because you are right, the content ID is only meaningful for the specific protocol. Unless it's an URL.

                    [EDIT] There's already support for Youtube, Plex.

                    Comment


                      #11
                      Originally posted by Mr.Gadget View Post
                      Is this possible to capture content-id, or whatever else and then replay (like siriusxm) streaming? Is this possible with an event? Objective: create multiple events, and simulate different channels (streams for Rock, Country, Jazz...)

                      Not sure if this is possible since we don't have a URL to copy.

                      Thoughts?
                      I did add support for SiriusXm, but can't test it because it's not available in AU...

                      Comment


                        #12
                        I see people like the idea of adding Spotify support - it's on my TODO list https://forums.homeseer.com/forum/me...atures-request - I would like it myself too.

                        Comment

                        Working...
                        X