minton / Spot

Simple Spotify-powered tunes for your office.
MIT License
70 stars 14 forks source link

Radio and playlist support #27

Open wuservices opened 9 years ago

wuservices commented 9 years ago

Is it possible to play radio stations or playlists? I'm just setting this up with hubot and it's awesome, but we're using it to control our in-office music / speakers and playing or queuing one song at a time can become pretty arduous.

It'd be great if we could play radio stations matching a query or playlists by name or ID so the party can keep on going without having to manage a queue (which quickly kills productivity much like turntable.fm did).

Even better would be if you could queue up a couple songs, then fall back to the radio station or playlist that was playing before.

estiens commented 9 years ago

We often set a radio station playing, played songs and queued songs will play as normal and if nothing is queued it will fall back to the radio station. Granted, this currently requires interacting with Spotify manually in the morning, but isn't a total drag. I'm not sure if playlists or radio stations are exposed in Spotify's poor AppleScript library.

wuservices commented 9 years ago

@estiens that workflow works decently well. I didn't have the old version of Spotify so it wasn't completely working as expected but now that I've downgraded it's a lot smoother.

Ah yeah I saw this elsewhere but I now realize it's probably just for Linux with D-Bus. I assume that the Linux version has completely different hooks that might be used by http://olejon.github.io/spotcommander/ or https://github.com/Insorum/hubot-spotify-control vs the AppleScript commands that are currently available?

Separately, it seems like https://play.spotify.com has a lot of features. I wonder if it's feasible to create a Chrome extension or something like that to remotely drive the web interface. Of course that's probably going to be pretty fragile even if it works though but the cross platform nature of that could be interesting if it was possible.

Maybe it's possible to queue a playlist or radio but Spotify URI?