Hi PCP, all,
I'm looking for API capabilities which may not currently exist. If not, I'd like to submit this as a feature request.
I would like to initiate playing a playlist by script. For example:
Currently, of course, PlayPlaylist isn't accessible on the HSPI interface. All we have is the CLI method.
Is it possible to implement a way to play a Pandora, Spotify, local file, etc from script?
My scenario is as follows:
It's this last bit that I am missing. I could probably rig this up using the existing CLI functionality, but I'd rather have it "cleaner" than that, if that makes sense.
Anyone have any thoughts?
Thanks!
hjk
---
I'm looking for API capabilities which may not currently exist. If not, I'd like to submit this as a feature request.
I would like to initiate playing a playlist by script. For example:
Code:
Dim playlist As HomeSeerAPI.Playlist_Entry playlist.Lib_Type = 24 'Pandora playlist.Playlist_Name = "Bruno Mars Radio" playlist.Length = 1 hs.PluginFunction("SqueezeBox", "", "PlayPlaylist", {playlist})
Is it possible to implement a way to play a Pandora, Spotify, local file, etc from script?
My scenario is as follows:
- Build a list of Pandora stations by script and submit to a global var
- Use Spud's Kinect plugin and special functionality he just implemented to use that global var as part of a VR string. Ex: Play Pandora <station1|station2></station1|station2>
- Kinect plugin sticks "station2" into another global var when the phrase is recognized, and then calls my script
- My script pulls "station2" and (in theory) plays it using the SqueezeBox plugin
It's this last bit that I am missing. I could probably rig this up using the existing CLI functionality, but I'd rather have it "cleaner" than that, if that makes sense.
Anyone have any thoughts?
Thanks!
hjk
---
Comment