Announcement

Collapse
No announcement yet.

MediaController plugin beta testing Forum

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

    #31
    Originally posted by sparkman View Post
    Hi Dirk,

    Thanks for making this plugin available. Just starting to try it under HS3. One thing that I noticed is that when the "master" plugin is disabled, the child plugin instances don't completely disable (see screenshot below) and regular (every 30 seconds) warnings appear in the log:
    Code:
    Warning     Cannot access remote plugin MediaController
    Is there a way to disable the child plugin instances so that those errors no longer appear?

    Thanks
    Al
    What version of PI and HS3 are you on? I suspect an HS3 issue actually, I'll check whether I have it on my setup as well. If you check w/ task manager, you should see that the MediaController.exe is gone and this is a single .exe despite it showing as different instances.

    Dirk

    Comment


      #32
      Originally posted by sparkman View Post
      Hi Dirk,

      Thanks for making this plugin available. Just starting to try it under HS3. One thing that I noticed is that when the "master" plugin is disabled, the child plugin instances don't completely disable (see screenshot below) and regular (every 30 seconds) warnings appear in the log:
      Code:
      Warning     Cannot access remote plugin MediaController
      Is there a way to disable the child plugin instances so that those errors no longer appear?

      Thanks
      Al
      See the same here but don't see any errors in my PI, all links seems to be removed properly. Suspect HS3 issue. You could log a bug report

      Jun-01 7:33:56 PM Warning Cannot access remote plugin MediaController
      Jun-01 7:33:37 PM Error Displaying remotely connected interfaces: Object reference not set to an instance of an object.
      Jun-01 7:33:26 PM Warning Cannot access remote plugin MediaController
      Jun-01 7:32:56 PM
      Warning Cannot access remote plugin MediaController
      Jun-01 7:32:53 PM
      Error Displaying remotely connected interfaces: Object reference not set to an instance of an object.
      Jun-01 7:32:53 PM
      Error Initializing plug-ins Phase 2 Exception: Object reference not set to an instance of an object.
      Jun-01 7:32:50 PM Info Plugin MediaController with instance: c5714122-064b-4c34-a2f1-4ca9332a2571 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: PictureshowUDN-0 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: b913b762-230c-e127-caf9-b0fa153bc957 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: db1133ce897e68a99a1f5d381dc17066 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: c97f27c0-3031-2292-5630-d335aeb7672f has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: b9c16b61-065d-3476-9d86-c35b0f141122 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: addbcb91-0964-8955-eb94-a78b96f2aa8d has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 9e2feb3f-d36a-44d5-405a-fe8b1015e418 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: a6daed0c-27c0-d3dc-eab3-37125e7daf1c has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 1f7a2986-ad22-32b0-5c37-fad367344d75 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: a9e39a46-87b0-91be-7e75-772d05e18e16 has disconnected
      Jun-01 7:32:50 PM Info Plugin MediaController with instance: 79f84a69-0f02-4bd8-b6b0-f72f89ed86f3 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 92094eb4-760d-87a1-b13e-7fc5aadfcb9e has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 5f9ec1b3-ed59-1900-4530-0007f5238374 has disconnected
      Jun-01 7:32:50 PM Info Plugin MediaController with instance: 5b81e395-fef5-5b97-b4cd-469de6bc7a86 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 594d7744-0090-a9c3-b2a9-563b3781a830 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 55076f6e-6b79-4d65-6401-00d0b80fb86e has disconnected
      Jun-01 7:32:50 PM Info Plugin MediaController with instance: 26f8d836-e8a6-3368-b500-608a6ae82b25 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 015e30d4-6c00-10ce-80be-dc3a5e658975 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: 00000000-0000-1010-8000-30f9ed246323 has disconnected
      Jun-01 7:32:50 PM
      Info Plugin MediaController with instance: has disconnected


      Comment


        #33
        Thanks Dirk,

        Yes, the exe does disappear when I disable the plugin. Not sure what process is trying to access the plugin after it has been disabled. I have other plugins (such as Squeezebox) that create multiple plugin instances using a single exe, and when I disable their main plugin, I don't see similar messages in the log.

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

        Comment


          #34
          Originally posted by dcorsus View Post
          What version of PI and HS3 are you on?
          HS 3.0.0.101 and PI 3.0.0.5 (downloaded above, although within HS it shows as 3.0.0.2).
          HS 4.2.8.0: 2134 Devices 1252 Events
          Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

          Comment


            #35
            Originally posted by sparkman View Post
            Not sure what process is trying to access the plugin after it has been disabled.
            Obviously HS3, so we would need help from the HS team to find out what wasn't cleaned up and why HS3 is still trying to access the PI.

            Dirk

            Comment


              #36
              Originally posted by dcorsus View Post
              Well, given that I haven't posted a release with the Mute fixed, it would have been quite interesting if you had it to work . I have a new beta that has the mute fixed.
              Excellent!!


              Originally posted by dcorsus View Post
              When you turn off the "use MP3 format" , does it then work or does the TV not recognize the .wav format? Could you turn the debug flag on and post the log when you try to run the announcement. I recently made some changes in that area, not sure it was part of beta 5 or on the yet to be released version. I'll give it another try here as well.

              Dirk
              I think I tried the .wav first and the tv couldn't recognise the file (I think from memory) I'll set it up again and post the log though.

              While I remember, I wondered if you were going to implement the media stream type, like you did in your HS2 version (is video, is music etc)?

              Cheers

              J

              Comment


                #37
                Originally posted by sparkman View Post
                I have other plugins (such as Squeezebox) that create multiple plugin instances using a single exe, and when I disable their main plugin, I don't see similar messages in the log.
                Hi Dirk,

                Strike that. I disabled my squeezebox plugin this morning and the same thing now happens with it. Looks like one of the latest HS betas is the culprit as it did not do that before.

                Thanks
                Al

                PS I've logged the bug at http://homeseer.com/bugzilla/show_bug.cgi?id=1950
                HS 4.2.8.0: 2134 Devices 1252 Events
                Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                Comment


                  #38
                  Originally posted by Skinnez View Post
                  While I remember, I wondered if you were going to implement the media stream type, like you did in your HS2 version (is video, is music etc)?
                  Thanks for reminding me, not sure how that fell out. Will be added to next beta.

                  Dirk

                  Comment


                    #39
                    With "use mp3 format" ON I get errors below, and the TV displays "File not available"

                    Jun-02 22:24:03 Warning File does not exist: C:\Program Files (x86)\HomeSeer HS3\html\MediaController\Announcements\Ann_Philips_TV_0.mp3 Jun-02 22:24:03 MC Error Error in DoCheckAnnouncementQueue converting .wav to .mp3 with error = The system cannot find the file specified Jun-02 22:24:03 MC Error Error in DoCheckAnnouncementQueue finished conversion to mp3 with Ouptut = and Return = Jun-02 22:24:02 MC SpeakIn called for Device = 0, Text = hello wossi, Wait=False, Host = $MC$Philips TV$:* Jun-02 22:24:02 TTS Speak: ($MC$Philips TV$:*):hello wossi

                    then after a bit

                    Jun-02 22:25:46 MC Error Error in DoCheckAnnouncementQueue. 100 seconds expired since the announcement started and no end was received.

                    in the HTML\Mediacontroller\Announcements
                    a .wav file gets created (not an .mp3??)

                    Actually thinking about it, I wonder if I need Lame encoder (or something)on the HS3 box??

                    With the "use mp3 format" turned OFF, the tv does nothing and after a while I get

                    Jun-02 22:39:01 MC Error Error in DoCheckAnnouncementQueue. 100 seconds expired since the announcement started and no end was received.

                    Sorry didn't have debug on!!!

                    Cheers

                    J

                    Comment


                      #40
                      With "use mp3 format" ON

                      Jun-02 22:53:25 MC AVTPlay called for device Philips TV and Speed = 1 and InstanceID = 0
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue is calling PlayURI with http://192.168.1.13:81/MediaControll...ilips_TV_0.mp3
                      Jun-02 22:53:25 MC AVTSetAVTransportURI called for device Philips TV and CurrentURI = http://192.168.1.13:81/MediaControll...ilips_TV_0.mp3 and CurrentURIMetaData = {0x3C}DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlnsv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"{0x3E3C}item id="-1" parentID="-1" restricted="true"{0x3E3C}upnp:class{0x3E}object.item.audioIt em.musicTrack{0x3C}/upnp:class{0x3E3C}res protocolInfo="http-get:*:audio/mpeg:*"{0x3E}http://192.168.1.13:81/MediaController/Announcements/Ann_Philips_TV_0.mp3{0x3C}/res{0x3E3C}upnp:albumArtURI{0x3E}http://192.168.1.13:81/images/MediaController/Announcement.jpg{0x3C}/upnp:albumArtURI{0x3E3C}dc:title{0x3E}HomeSeer Announcement{0x3C}/dc:title{0x3E3C}dc:creator{0x3E}Dirk Corsus{0x3C}/dc:creator{0x3E3C}upnp:album{0x3E}Media Controller{0x3C}/upnp:album{0x3E3C}/item{0x3E3C}/DIDL-Lite{0x3E} and InstanceID = 0
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue finished SpeakToFile
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue finished conversion to mp3 with Ouptut = and Return =
                      Jun-02 22:53:25 MC Error Error in DoCheckAnnouncementQueue converting .wav to .mp3 with error = The system cannot find the file specified
                      Jun-02 22:53:25 MC Error Error in DoCheckAnnouncementQueue finished conversion to mp3 with Ouptut = and Return =
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue calling SpeakToFile with Text hello wossi and File C:\Program Files (x86)\HomeSeer HS3\html/MediaController/Announcements/Ann_Philips_TV_0
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue adds file = C:\Program Files (x86)\HomeSeer HS3\html/MediaController/Announcements/Ann_Philips_TV_0 to Queue
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue activated with HostName = *:* Text = hello wossi and LinkgroupName = Philips TV
                      Jun-02 22:53:25 MC GetLinkgroupSourceZone called with LinkgroupName = Philips TV
                      Jun-02 22:53:25 MC HandleLinkingOn called with LinkgroupName = Philips TV
                      Jun-02 22:53:25 MC DoCheckAnnouncementQueue called for linkgroup Philips TV and State = asIdle and isFile True
                      Jun-02 22:53:25 MC GetTailOfAnnouncementQueue called
                      Jun-02 22:53:25 MC GetLinkgroupSourceZone called with LinkgroupName = uuid:F00DBABE-AA5E-BABA-DADA-1C5A6B0589CE
                      Jun-02 22:53:25 MC AddAnnouncementToQueue called for PlayerName = uuid:F00DBABE-AA5E-BABA-DADA-1C5A6B0589CE and Text = hello wossi
                      Jun-02 22:53:25 MC SpeakIn found UPnPDevice = Philips TV in the UPnPDeviceInfoArray
                      Jun-02 22:53:25 MC SpeakIn is looking at 5 UPnPDevices
                      Jun-02 22:53:25 MC SpeakerProxy activated with HostName = *:* Text = hello wossi and PlayerName = Philips TV
                      Jun-02 22:53:25 MC GetUDNByDeviceGivenName called with GivenName = Philips TV
                      Jun-02 22:53:25 MC SpeakIn called for Device = 0, Text = hello wossi, Wait=False, Host = $MC$Philips TV$:*
                      Jun-02 22:53:25 TTS Speak: ($MC$Philips TV$:*):hello wossi

                      Hope it helps!!!

                      Cheers

                      J

                      Comment


                        #41
                        Originally posted by Skinnez View Post
                        Actually thinking about it, I wonder if I need Lame encoder (or something)on the HS3 box??
                        I was thinking the same and remembered that's what I recently did.
                        You need to copy the lame.exe to the <hsroot>\html\MediaController subdirectory. I think I added it to the next .zip file yet-to-be-released.
                        I noticed that the lame.exe is in the HS3 subdirectory, so just copy it.

                        Dirk

                        Comment


                          #42
                          Yup that works now - More stuff to annoy the mrs. with

                          Cheers

                          J

                          Comment


                            #43
                            Originally posted by Skinnez View Post
                            Yup that works now - More stuff to annoy the mrs. with

                            Cheers

                            J
                            Initially they are all as interesting in this technology as watching paint dry but after a while, when suddenly the announcement goes missing that the garage door was opened, now we get an earful.

                            Dirk

                            Comment


                              #44
                              Originally posted by dcorsus View Post
                              Initially they are all as interesting in this technology as watching paint dry but after a while, when suddenly the announcement goes missing that the garage door was opened, now we get an earful.

                              Dirk
                              How very true...

                              I have 2 pairs of IR beams across the driveway here for detecting incoming / outgoing vehicles / people and announcing these via the Sonos plug-in. Occasionally (on the rare occasions we see it here in the UK) bright sunlight can cause false triggers on the beams resulting in false announcements for which I get the proverbial "ear bashing" because our dogs start barking when hearing some announcements, only to find there is no one there.

                              I have an event that temporarily disables the announcements if there have been too many in X amount of time and the UV index is above X. I then get another round of abuse because someone has arrived during the "disabled" period and she wasn't told about it.

                              We can't win either way

                              Paul..

                              Comment


                                #45
                                Hi Dirk,

                                I'm still having some troubles with the plugin. I've included two log files - After doing a full delete, I recorded to log for the install and add device actions. The second log file is where I closed HS3 and restarted.

                                I'm getting a few errors in the log I wouldn't mind you having a look at if you get a chance.

                                So I can get my TV to work with the player, I can play to it using events, but I can't get speech to play, and also I can't get the remote function to work. There are definitely errors in the log relating to this. Errors when trying to use remote are as follows:

                                8/06/2014 10:09:20 AM ~!~MC Error~!~Error in ConnectSocket with error = Index was outside the bounds of the array.

                                8/06/2014 10:09:20 AM ~!~MC Error~!~Error in EstablishTCPConnection for UPnPDevice = [TV]Samsung60 . Unable to open Socket

                                8/06/2014 10:09:20 AM ~!~MC Error~!~Error in SendKeyCode. There is no socket for UPnPDevice = [TV]Samsung60
                                My TV is a Samsung UA60H6400 on 192.168.1.20
                                My NAS is a Synology on 192.168.1.10
                                HS3 is on 192.168.1.3

                                Thanks for having a look. I'm super keen to get the Samsung remote working.
                                Attached Files

                                Comment

                                Working...
                                X