Announcement

Collapse
No announcement yet.

Scripting for Remote Client

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

  • Scripting for Remote Client

    I have looked thru the help file at the script commands for the plugin, but none of them specify a client so I assume they apply only to playing locally. Is there any way to play playlists on a remote client from the scripting interface, or any possibility this could be added (if not currently possible).

    Thanks

  • #2
    Try:

    hs.plugin("BLMediaPlayer").SpeakerClientPlayPlaylist("My Speaker Client", "My Playlist")

    Most of the Player calls will work for the speaker client except you need to replace Player with SpeakerClient and then add the speaker client name as the first parameter.

    For example:

    PlayerPlayGenre(genre)

    would be this:

    SpeakerClientPlayGenre(speakerclient, genre)

    Hope that makes sense
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Thanks, I'll give that a try.

      Comment


      • #4
        I am trying this out, so far it works great

        As per this post - http://board.homeseer.com/showthread.php?t=157324

        I am only using the Client Player, pushing the music to a different PC.
        How do I populate a device(s) in HS with the currently playing song title and artist?

        Thanks,
        Tim
        FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

        HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

        No, Im from Iowa. I only work in outer space. Captain Kirk

        Comment

        Working...
        X