Announcement

Collapse
No announcement yet.

SqueezeBox plugin V3.x for HS3

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Originally posted by pcp View Post
    Is it specific to the radio player?
    I don't have anything but Squeezebox Radios, so I don't have anything else to try it on.

    Does the log I provided show any hints of what the issue is?

    Comment


      #62
      At first I want to say I realy like tis plugin and I will proberbly going to buy it.
      I am trying to make a "music" screen per room in HSTouch.
      The problem is that at the moment I have to create a button for Pause, a button for Play and. the same thing goes for repeat, repeat off, and shuffle, shuffle off.
      Is it possible to add toggle fuctionality to this type of tasks so I can use one button to execute them for hstouch?

      thanks in advance,

      Martijn.

      Comment


        #63
        SqueezeBox plugin V3.0.0 Beta for HS3

        HSTouch does not yet support the new media API. Once it does creating media screens in HSTouch should become much simpler.

        Comment


          #64
          Originally posted by Jingoro View Post
          I can't seem to get TTS to work with my Squeezebox Radios.

          Here's my HS3 Configuration :
          HS3 Speaker Clients setting : default (network port 10401, default cients blank)

          SqueezeBos HS3 Plugin Speak Proxy Settings :
          Enable Speak Proxy and Primary Speak Proxy : Both checked
          Speak Proxy Mode : Normal
          Speaker Client : LMS
          TTS as MP3 : checked

          Device Management :
          Player 1 Power : Powered On
          Player 1 Status : Stopped
          Player 1 Speech Volume : 75%
          Speak Proxy Mode : Normal
          Speak Proxy Count : 0

          I try to run this script command :
          &hs.speak("Hello world where oh where oh where are you why don't you speak?", False, "LMS:Player 1")


          And this is what I see in the logs (NOTE : player name removed for privacy):
          Code:
          Feb-25 1:22:56 AM         SqueezeBox Debug    Exiting speechTimer_Elapsed   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    Exiting SpeakOutNextInQueue. New status: stopped. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    StopSpeechTimer.   
          
           Feb-25 1:22:56 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientDisable   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    Entering DisableSpeaking   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    SpeakOutNextInQueue - Stopped.   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    Entering SpeakOutNextInQueue. Status: stopping. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:56 AM         SqueezeBox Debug    Entering speechTimer_Elapsed   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    Exiting speechTimer_Elapsed   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    Exiting SpeakOutNextInQueue. New status: stopping. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    StartSpeechTimer. Duration: 0:1:0 (1000)   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    SpeakOutNextInQueue - Stopping.   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    SpeakOutNextInQueue - Deleting TTS URLs.   
          
           Feb-25 1:22:55 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientSpeakRemoveURL. Play index: 0   
          
           Feb-25 1:22:55 AM         SqueezeBox Debug    Entering SpeakOutNextInQueue. Status: started. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:54 AM         SqueezeBox Debug    Entering speechTimer_Elapsed   
          
           Feb-25 1:22:53 AM         SqueezeBox Debug    StartSpeechTimer. Duration: 0:1:0 (1000)   
          
           Feb-25 1:22:53 AM         SqueezeBox Debug    StartSpeechTimerForTTSTrackEnd. From: Kitchen. SpeakerSpeechEndPending: False Extra duration: 0:1:0 (1000)   
          
           Feb-25 1:22:53 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientSpeakCheckIfDone. PendingSpeechTrackEnd: True   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    Exiting speechTimer_Elapsed   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    Exiting SpeakOutNextInQueue. New status: started. PendingSpeechTrackEnd: True   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    StartSpeechTimer. Duration: 1:1:0 (61000)   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    Entering SpeakProxyUpdateDevices   
          
           Feb-25 1:22:48 AM         TTS    Speak: (LMS:Player 1):Hello world where oh where oh where are you why don't you speak?   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    SpeakOutNextInQueue - Started Speech: <redact> playlist index 0   
          
           Feb-25 1:22:48 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientSpeakStart. Play index: 0   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    SpeakToFile(). Call Duration=00:00:00.7499700   
          
           Feb-25 1:22:48 AM         SqueezeBox Debug    SpeakToFile mp3 start. cmd: E:\HomeSeer3\lame.exe args: --silent "E:\HomeSeer3\html\SqueezeBox\SpeakIn_6.wav" "E:\HomeSeer3\html\SqueezeBox\SpeakIn_6.mp3"   
          
           Feb-25 1:22:47 AM         SqueezeBox Debug    SpeakToFile. WAV: E:\HomeSeer3\html\SqueezeBox\SpeakIn_6.wav MP3: E:\HomeSeer3\html\SqueezeBox\SpeakIn_6.mp3 Text: Hello world where oh where oh where are you why don't you speak? IsFile: False FileExists: False   
          
           Feb-25 1:22:47 AM         SqueezeBox Debug    SpeakOutNextInQueue - Added URLs: <redact> playlist add [URL]http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3[/URL]   
          
           Feb-25 1:22:47 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientSpeakAddURL. URL: [URL]http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3[/URL] Play index: 0   
          
           Feb-25 1:22:47 AM         SqueezeBox Debug    SpeakOutNextInQueue - SpeakProxy. Remaining Queue Length: 0 SpeakerClient: LMS Host: LMS:Player 1 Text: Hello world where oh where oh where are you why don't you speak?   
          
           Feb-25 1:22:47 AM         SqueezeBox Debug    Entering SpeakOutNextInQueue. Status: starting. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:47 AM         SqueezeBox Debug    Entering speechTimer_Elapsed   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Exiting speechTimer_Elapsed   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Exiting SpeakOutNextInQueue. New status: starting. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    StartSpeechTimer. Duration: 0:1:0 (1000)   
          
           Feb-25 1:22:46 AM         SqueezeBox (Player_<redact>) Debug    Kitchen - SpeakerClientEnable. speakVolume: 75   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Entering EnableSpeaking, Client: LMS:Player 1   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    SpeakOutNextInQueue - Starting. Queue Length: 1 SpeechAudioEnabled: False SpeakerClient: LMS Speak Host: LMS:Player 1   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Entering SpeakOutNextInQueue. Status: stopped. PendingSpeechTrackEnd: False   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Entering speechTimer_Elapsed   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Exiting SpeakIn. Queue Length: 1   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    StartSpeechTimer. Duration: 0:0:4 (4)   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Entering SpeakProxyUpdateDevices   
          
           Feb-25 1:22:46 AM         SqueezeBox Debug    Entering SpeakIn host: LMS:Player 1, device: 100, Text: Hello world where oh where oh where are you why don't you speak? , Enabled: True   
          
           Feb-25 1:22:46 AM         System    Control Panel Immediate Script: &hs.speak("Hello world where oh where oh where are you why don't you speak?", False, "LMS:Player 1")
          What am I doing wrong?
          I looked at it several times and don't see anything wrong in the log; The radio player was told to play the url "http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3". I also assume </redact></redact></redact></redact></redact></redact></redact></redact>"Player 1" is the kitchen radio.

          Another thing I suggest is to go to the LMS Webpage, select the radio player and then on the left navigate to Radio > Tune In URL and enter "http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3" which is the url that the plugin told the player to player (ensure the file (hs home)/html/SqueezeBox/SpeakIn_6.mp3 still exists). Check if this url plays fine or maybe a firewall or something else is blocking it.

          Comment


            #65
            Originally posted by pcp View Post
            I looked at it several times and don't see anything wrong in the log; The radio player was told to play the url "http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3". I also assume </redact></redact></redact></redact></redact></redact></redact></redact>"Player 1" is the kitchen radio.

            Another thing I suggest is to go to the LMS Webpage, select the radio player and then on the left navigate to Radio > Tune In URL and enter "http://192.168.0.100:81/SqueezeBox/SpeakIn_6.mp3" which is the url that the plugin told the player to player (ensure the file (hs home)/html/SqueezeBox/SpeakIn_6.mp3 still exists). Check if this url plays fine or maybe a firewall or something else is blocking it.
            That was it -- Windows Home Server was blocking port 81 in the firewall rules. I didn't think to look at this one because LMS worked fine through your plugin with music.

            Thanks for your help!

            Comment


              #66
              My players seem to be doing some strange things which is more related to the players rather than anything else (I think). Anyway I am wondering if there is a way to send commands to all players rather than one individual player at a time.

              The example I am looking at is to be able to clear the playlists for all players, wait one second then speak TTS and once the TTS is finished I would then like to clear playlists again however I would be keen to not have to do this individually for each player.

              If it does not exist, this would be really helpful for future versions if possible.
              Running the latest HS3 version of the plugin

              Thanks,
              HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

              Facebook | Twitter | Flickr | Google+ | Website | YouTube

              Comment


                #67
                SqueezeBox plugin V3.0.0 Beta for HS3

                There is currently no option in the plugin actions to select all players; only specific ones are supported. When I get a chance, I look at adding it.

                Comment


                  #68
                  Hi Philippe,

                  I finally hooked up my Global Cache GC-100's and was playing with events to automate some of my AV stuff. I was looking for a way to run an event based on a value changing in one of the SB devices (Volume in this case). However, volume is not an option in the "If Squeezebox player..." triggers and the SB devices are not visible in the "If A Device's Value is..." triggers. Do you know why they are not visible there? Is there a setting somewhere where I can make them visible?

                  Thanks
                  Al
                  HS 4.2.8.0: 2134 Devices 1252 Events
                  Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                  Comment


                    #69
                    SqueezeBox plugin V3.x for HS3

                    The version that should be in the updater shortly resolves this. You will need to recreate the devices. My bad and ran into the same the other day.

                    Comment


                      #70
                      Great, thanks!
                      HS 4.2.8.0: 2134 Devices 1252 Events
                      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                      Comment


                        #71
                        version 3.1.2.0

                        Couple of quirks I picked up on while trying to implement some control screens in HSTouch.

                        If I create a play button and set it to the status control of the device and set to 'Play' it does nothing. 'Pause' and 'Stop' work ok in the same way. On the Web Interface all three work perfectly. My work around was to set the play button to the 'Pause' control which seems to act like an on/off toggle.

                        playlists - really don't seem to work for me. On LMS I have a number of playlists predefined under my music. On HSTouch I have a number of buttons that represent each playlist that triggers an event when pressed. The event is set to manually triggered and from there I've chosen 'play playlist' from 'My Music' on Squeezebox Touch and select the playlist and device. The playlist is selectable from the list. When the event is run it says now playing Rock Playlist (or whichever playlist I have selected) and comes up with Current Playlist - Nothing on my Squeezebox Touch.

                        Wishlist
                        repeat/shuffle functions as toggle controls to cycle through different options. I can then use a single button and MatchStatus to change the graphic on my screen to the corresponding status

                        Comment


                          #72
                          Thank you for the toggle button suggestion and will add it in a upcoming version. I will check the playlist issue. Could you enable debug mode in the plugin, press a playlist button on HSTouch and then send me or post the log? Thanks.

                          Comment


                            #73
                            Originally posted by ShimmerNZ View Post
                            version 3.1.2.0

                            playlists - really don't seem to work for me. On LMS I have a number of playlists predefined under my music. On HSTouch I have a number of buttons that represent each playlist that triggers an event when pressed. The event is set to manually triggered and from there I've chosen 'play playlist' from 'My Music' on Squeezebox Touch and select the playlist and device. The playlist is selectable from the list. When the event is run it says now playing Rock Playlist (or whichever playlist I have selected) and comes up with Current Playlist - Nothing on my Squeezebox Touch.
                            Someone else posted similar issues related to the playlist action. Check dialog http://board.homeseer.com/showpost.p...4&postcount=18 where I added some questions and suggestions

                            Comment


                              #74
                              Version 3.1.2.3 should be in the updater in a few days. See first post for changes.

                              Comment


                                #75
                                Originally posted by pcp View Post
                                Version 3.1.2.3 should be in the updater in a few days. See first post for changes.
                                Hi Philippe, working great so far.

                                Thanks
                                Al
                                HS 4.2.8.0: 2134 Devices 1252 Events
                                Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                                Comment

                                Working...
                                X