Announcement

Collapse
No announcement yet.

Displaying a locally stored picture

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

    Displaying a locally stored picture

    In the old DLNA manager plugin I used to be able to display a locally stored picture on my Bravia TV with a simple event :
    Speak and wait: C:\AAA\call.jpg At:$DLNA$BRAVIA$HS3New: DEFAULT
    That was after Dirk told me how to do it of course.

    Anyway, I can't figure out how to send the Bravia the same picture with MediaController. I can't send it via a server because the image needs to be displayed in under a second
    and that method is too slow.

    Is there any way to do this with a script or event in HS3?
    I've tried setting the device string hs.SetDeviceString to point at the right file and although the device string changes it seems to have no affect on the picture that gets displayed.

    FYI - In HS2 I used this event to render a string message in to a nice looking picture (with a separate command line program) and then displayed that on the Bravia in this case it was a Caller ID message.
    Original post its here btw:
    http://board.homeseer.com/showthread...40#post1084640

    Any ideas anyone ?

    #2
    Originally posted by reggs11 View Post
    In the old DLNA manager plugin I used to be able to display a locally stored picture on my Bravia TV with a simple event :
    Speak and wait: C:\AAA\call.jpg At:$DLNA$BRAVIA$HS3New: DEFAULT
    That was after Dirk told me how to do it of course.

    Anyway, I can't figure out how to send the Bravia the same picture with MediaController. I can't send it via a server because the image needs to be displayed in under a second
    and that method is too slow.

    Is there any way to do this with a script or event in HS3?
    I've tried setting the device string hs.SetDeviceString to point at the right file and although the device string changes it seems to have no affect on the picture that gets displayed.

    FYI - In HS2 I used this event to render a string message in to a nice looking picture (with a separate command line program) and then displayed that on the Bravia in this case it was a Caller ID message.
    Original post its here btw:
    http://board.homeseer.com/showthread...40#post1084640

    Any ideas anyone ?

    Does the TV show any events or errors when you try to run this event?
    I suspect the problem has something to do with code that Rich included for me in HS2 and never made it in HS3.
    I should remind him again, maybe open a bug report, better to track

    Dirk

    Comment


      #3
      Originally posted by dcorsus View Post
      Does the TV show any events or errors when you try to run this event?
      I suspect the problem has something to do with code that Rich included for me in HS2 and never made it in HS3.
      I should remind him again, maybe open a bug report, better to track

      Dirk
      Hi Dirk - Read HELP and got the format for $MC$ but I now actually get a warning about the file type being a .jpg :

      Click image for larger version

Name:	error.jpg
Views:	1
Size:	28.4 KB
ID:	1178621

      I've tried these two lines in the 'Text to be spoken box'
      C:\AAA\call.jpg At:$MC$BRAVIA$HS3NEW:dEFAULT (nb lower case D avoids the Big Grin Smiley)
      C:\AAA\call.jpg At:$MC$BRAVIA$

      But I just get silence and a speech bubble with the above text in it, as it probably wants a .wav I assume ?

      Click image for larger version

Name:	event.jpg
Views:	1
Size:	47.3 KB
ID:	1178622

      Comment


        #4
        Hi Dirk - I messed around some more and tried playing a .wav and .mp3 using a similar line and removed the "At:" and get the same warning
        that it can't play that type of file followed by the speech bubble, but only get silence.

        I've tried the following .mp3's and also .jpg's

        C:\AAA\speak_temp.mp3 $MC$HS3NEW:BRAVIA
        C:\AAA\speak_temp.mp3 $MC$BRAVIA$DEFAULT
        C:\AAA\speak_temp.mp3 $MC$HS3NEW:BRAVIA
        C:\AAA\speak_temp.mp3 $MC$

        A line with no $MC$ appended like this one does play the MP3 on the default HS3 speaker client though :
        C:\AAA\speak_temp.mp3

        The TV doesn't respond at all, even though I can play a picture served up from a media server fine.
        I still have this working fine in HS2 btw.

        Comment


          #5
          Originally posted by reggs11 View Post
          Hi Dirk - I messed around some more and tried playing a .wav and .mp3 using a similar line and removed the "At:" and get the same warning
          that it can't play that type of file followed by the speech bubble, but only get silence.

          I've tried the following .mp3's and also .jpg's

          C:\AAA\speak_temp.mp3 $MC$HS3NEW:BRAVIA
          C:\AAA\speak_temp.mp3 $MC$BRAVIA$DEFAULT
          C:\AAA\speak_temp.mp3 $MC$HS3NEW:BRAVIA
          C:\AAA\speak_temp.mp3 $MC$

          A line with no $MC$ appended like this one does play the MP3 on the default HS3 speaker client though :
          C:\AAA\speak_temp.mp3

          The TV doesn't respond at all, even though I can play a picture served up from a media server fine.
          I still have this working fine in HS2 btw.
          I suspect you are not creating the event properly. You do not add the speaker client as part of the spoken text. Read the help file at the "Generate your own Announcement or play wave files" part and see how you need to add a speaker client etc.

          Dirk

          Comment


            #6
            Hi Dirk - Ok I now have the Bravia attempting to play the file but on the TV screen after the player box pops up it says 'Content Error' and then it reverts back to whatever input it was on originally.

            I've tried jpgs and mp3s - Same error on the TV.
            If I play wavs I get a long error in the HS3 Log.

            All that I really want to do is play a single jpg though.

            Files do appear in :
            C:\Program Files (x86)\HomeSeer HS3\html\MediaController\Announcements
            And I can open them up manually as well.

            I can also cue them up on a server and play them okay so not sure what's going wrong now.
            Any ideas?

            Click image for larger version

Name:	Event2.jpg
Views:	1
Size:	55.3 KB
ID:	1178633

            Click image for larger version

Name:	Speak event.jpg
Views:	1
Size:	52.8 KB
ID:	1178634

            Comment


              #7
              Originally posted by reggs11 View Post
              Hi Dirk - Ok I now have the Bravia attempting to play the file but on the TV screen after the player box pops up it says 'Content Error' and then it reverts back to whatever input it was on originally.

              I've tried jpgs and mp3s - Same error on the TV.
              If I play wavs I get a long error in the HS3 Log.

              All that I really want to do is play a single jpg though.

              Files do appear in :
              C:\Program Files (x86)\HomeSeer HS3\html\MediaController\Announcements
              And I can open them up manually as well.

              I can also cue them up on a server and play them okay so not sure what's going wrong now.
              Any ideas?

              [ATTACH]46214[/ATTACH]

              [ATTACH]46215[/ATTACH]
              Some DLNA devices (my Samsung for example) expect a specific TAG to be part of the HTTP header when a file is presented to the player device to be played.

              Because HS3 is the "DLNA/file server" in this case (ie any HTTP request for a file stream is directed to the embedded HS3 web server), HS3 should generate this tag or some (perhaps all) DLNA compliant players will give an error.

              I had this code added to HS2, reminded Rich a while back that it got missing in HS3, but he thought it was in and that's where it stayed.
              I'll open a bug report and see if I can get it added again.

              Now, if this is always the same jpg, run a DLNA server and use the server to provide the picture.

              Dirk

              Comment


                #8
                Originally posted by reggs11 View Post
                Hi Dirk - Ok I now have the Bravia attempting to play the file but on the TV screen after the player box pops up it says 'Content Error' and then it reverts back to whatever input it was on originally.

                I've tried jpgs and mp3s - Same error on the TV.
                If I play wavs I get a long error in the HS3 Log.

                All that I really want to do is play a single jpg though.

                Files do appear in :
                C:\Program Files (x86)\HomeSeer HS3\html\MediaController\Announcements
                And I can open them up manually as well.

                I can also cue them up on a server and play them okay so not sure what's going wrong now.
                Any ideas?

                [ATTACH]46214[/ATTACH]

                [ATTACH]46215[/ATTACH]
                Just a quick update. Rich made available beta 176 here (http://homeseer.com/updates3/SetupHS3_3_0_0_176.exe). I'll be testing tonight. If you want to be adventurous, you can download and try as well. Make sure you can roll back to current HS3 version, you never know what else you pick up in this release.

                Dirk

                Comment


                  #9
                  Originally posted by dcorsus View Post
                  Just a quick update. Rich made available beta 176 here (http://homeseer.com/updates3/SetupHS3_3_0_0_176.exe). I'll be testing tonight. If you want to be adventurous, you can download and try as well. Make sure you can roll back to current HS3 version, you never know what else you pick up in this release.

                  Dirk
                  Hi Dirk - I get the same 'Content Error' on the Bravia display with jpgs and mp3s. Wav's still throw an error.
                  My event is the same as the last one in the post above just with a different file name.


                  May-21 06:06:18 MC Error Error in DoCheckAnnouncementQueue adding a track to the Queue = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav
                  May-21 06:06:18 MC Error Error in AVTSetAVTransportURI for device = BRAVIA and CurrentURI = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav and CurrentURIMetaData = object.item.audioItem.musicTrackhttp://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wavhttp://192.168.0.58:81/images/MediaController/Announcement.jpgHomeSeer AnnouncementDirk CorsusMedia Controller and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://192.168.0.24:52323/AVTransportSCPD.xml while sending Action = SetAVTransportURI for URI = http://192.168.0.24:52323/upnp/control/AVTransport and Request = 0 http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav <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/"><item id="-1" parentID="-1" restricted="true"><upnp:class>object.item.audioItem.musicTra ck</upnp:class><res protocolInfo="http-get:*:*:*">http://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wav</res><upnp:albumArtURI>http://192.168.0.58:81/images/MediaController/Announcement.jpg</upnp:albumArtURI><dc:title>HomeSeer Announcement</dc:title><dc:creator>Dirk Corsus</dc:creator><upnp:album>Media Controller</upnp:album></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 714Action SetAVTransportURI failed with error = The remote server returned an error: (500) Internal Server Error.

                  Comment


                    #10
                    Originally posted by reggs11 View Post
                    Hi Dirk - I get the same 'Content Error' on the Bravia display with jpgs and mp3s. Wav's still throw an error.
                    My event is the same as the last one in the post above just with a different file name.


                    May-21 06:06:18 MC Error Error in DoCheckAnnouncementQueue adding a track to the Queue = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav
                    May-21 06:06:18 MC Error Error in AVTSetAVTransportURI for device = BRAVIA and CurrentURI = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav and CurrentURIMetaData = object.item.audioItem.musicTrackhttp://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wavhttp://192.168.0.58:81/images/MediaController/Announcement.jpgHomeSeer AnnouncementDirk CorsusMedia Controller and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://192.168.0.24:52323/AVTransportSCPD.xml while sending Action = SetAVTransportURI for URI = http://192.168.0.24:52323/upnp/control/AVTransport and Request = 0 http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav <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/"><item id="-1" parentID="-1" restricted="true"><upnp:class>object.item.audioItem.musicTra ck</upnp:class><res protocolInfo="http-get:*:*:*">http://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wav</res><upnp:albumArtURI>http://192.168.0.58:81/images/MediaController/Announcement.jpg</upnp:albumArtURI><dc:title>HomeSeer Announcement</dc:title><dc:creator>Dirk Corsus</dc:creator><upnp:album>Media Controller</upnp:album></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 714Action SetAVTransportURI failed with error = The remote server returned an error: (500) Internal Server Error.
                    The error smells a lot like what this new version of HS3 is trying to solve. I unfortunately couldn't test last night, spent a lot of time trying to figure out why my PI wasn't detecting any DLNA device until I realized that the TVand everything else is not connected to the LAN yet (I moved 2 weeks back). DUH
                    I will try again tonight.

                    Could you email or post the jpeg, mp3 and .wav files you are trying to play on the Bravia. Just to confirm, the same file worked w/ HS2 and same TV, correct?

                    Thanks

                    Dirk

                    Comment


                      #11
                      I'll try to post them soon (travelling at the mo).

                      Yes they are nothing special. The jpg is just a static picture with a text message on it and the wav and mp3 are just both short test announcement messages.

                      These all play fine on HS2.
                      They also play fine if sent from a media server to HS3.
                      Same Bravia TV, same network, same Windows7 64 PC & hardware.

                      Comment


                        #12
                        Originally posted by reggs11 View Post
                        I'll try to post them soon (travelling at the mo).

                        Yes they are nothing special. The jpg is just a static picture with a text message on it and the wav and mp3 are just both short test announcement messages.

                        These all play fine on HS2.
                        They also play fine if sent from a media server to HS3.
                        Same Bravia TV, same network, same Windows7 64 PC & hardware.
                        This Messageboard won't let me upload the wav and mp3's s Dirk but they're only short test announcements. Very small 162KB max size.

                        Its actually only the jpg picture that I use.
                        This gets rendered on the fly when I get an incoming phone call, which is why it can't be sent from a media server as I only have split second to render the image before it needs displaying on the TV. I've had this working on HS2 for years.
                        (number obscured)

                        Click image for larger version

Name:	call1.jpg
Views:	1
Size:	26.0 KB
ID:	1178692

                        Comment


                          #13
                          Originally posted by reggs11 View Post
                          Hi Dirk - I get the same 'Content Error' on the Bravia display with jpgs and mp3s. Wav's still throw an error.
                          My event is the same as the last one in the post above just with a different file name.


                          May-21 06:06:18 MC Error Error in DoCheckAnnouncementQueue adding a track to the Queue = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav
                          May-21 06:06:18 MC Error Error in AVTSetAVTransportURI for device = BRAVIA and CurrentURI = http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav and CurrentURIMetaData = object.item.audioItem.musicTrackhttp://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wavhttp://192.168.0.58:81/images/MediaController/Announcement.jpgHomeSeer AnnouncementDirk CorsusMedia Controller and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://192.168.0.24:52323/AVTransportSCPD.xml while sending Action = SetAVTransportURI for URI = http://192.168.0.24:52323/upnp/control/AVTransport and Request = 0 http://192.168.0.58:81/MediaControll...n_BRAVIA_0.wav <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/"><item id="-1" parentID="-1" restricted="true"><upnp:class>object.item.audioItem.musicTra ck</upnp:class><res protocolInfo="http-get:*:*:*">http://192.168.0.58:81/MediaController/Announcements/Ann_BRAVIA_0.wav</res><upnp:albumArtURI>http://192.168.0.58:81/images/MediaController/Announcement.jpg</upnp:albumArtURI><dc:title>HomeSeer Announcement</dc:title><dc:creator>Dirk Corsus</dc:creator><upnp:album>Media Controller</upnp:album></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 714Action SetAVTransportURI failed with error = The remote server returned an error: (500) Internal Server Error.
                          I can confirm that problem is not solved in version 176 nor the recent released version 177. I know what is missing, emailed Rich just now. Should be simple to add back in, hope he finds the time tomorrow.

                          Dirk

                          Comment


                            #14
                            Has this issue been resolved?

                            Comment


                              #15
                              Originally posted by matthewb View Post
                              Has this issue been resolved?
                              Should be. Have you tried it?

                              Comment

                              Working...
                              X