Announcement

Collapse
No announcement yet.

MediaController plugin beta testing Forum

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

    MediaController plugin beta testing Forum

    Subscribe to this Thread so you get an email when a new version is posted


    The plugin will discover DLNA (UPnP) devices on your local network and will create HS devices for DLNA Content Servers (those devices that hold your music, pictures and videos) and DLNA Renderers (those devices that can play your content).

    What does this plugin do?
    This PI act as a control point between DLNA devices such as players and servers. Popular DLNA Servers are Windows Media Player, XBMC, Plex, Asset UPnP, Serviio, a lot of Network Attached Storage devices have them as part of the offering and there are more (freeware) out there. Do note, this plugin is NOT a DLNA server, it doesn't go out on your network to find content, it relies on your DLNA server to do that. There is plenty of freeware stuff out there so you should be in good shape.

    The second piece is the DLNA Renderer or Player. A lot of the new generation of TVs, AV Receivers or Over The Top devices like WDTV-Live, Sony Media Player or SW players like XBMC, JRiver, WMP .... have support to play (render) content that is stored by the DLNA servers.

    Features were added to simulate a "Pictureshow" either on a DLNA capable device or on any HSTouch enabled device. The users would select a number of items from a DLNA server, put it in a queue and stream them to that device. You could have grandma and grandpa watch your pictures on their iPhone/Droid/Windows HSTouch Client.

    The PI has support for announcements. The intent would be to react to any trigger (doorbell, phone, motion, opening doors/windows, z-wave locks etc) and play an announcement or send a picture to a DLNA device.

    I've added some non-DLNA extensions that would serve as remote control devices. Currently supported are: Samsung Series C and newer, Onkyo (those that are DLNA capable), Sony (DLNA capable), Roku. There is some customization support in the plugin so you can pick and choose which functions you want to have HS buttons for. Examples are change TV to right input, channel ....

    Another device specific extension was made for newer generation Samsung Smart TVs which are capable of showing small text messages. You can route the HS TTS events to be displayed on your Samsung TV in a little SMS type of pop-up.

    One more proprietary extension is the support for "Party Mode" on Sony devices. For those Sony devices that support "Party Mode", these devices can be linked together and play simultaneously the same content. Great if you have the Sony network attached speakers sitting around the house and play the same music through all speakers.

    Before you post here your questions/remarks .... Read the help file !!. You can find the help file by clicking on the Tools > Help menu item on top of the HS3 web screen and select the MediaController help. If you open up a new thread, make sure you reference it being about the HS3 version of the PI to avoid I would have to ask each time. Secondly, when seeing a problem, before you post, search the forum for any prior postings. If nothing can be found; before you post, turn the debug flag on! Do whatever it was you were doing and append the debug log to the post. I get too many request "such and such doesn't work" but no further information. If you use events or triggers, make screenshots of the triggers/actions and attached them. You make screenshots by hitting Cntrl-PrintScreen, open up Paint (for Windows users) and paste what was captured, save it and attach file to your posting.

    Where the risk is:
    • I have not have the time to test all the functions that were in the DLNA PI so expect more issues than usual.
    • I also have not had the time to study long term resource trending such as memory/handles etc
    • I designed out the Windows UPNP COM component and wrote my own so this could give us the occasional headache but the good news is, it brings us a step closer to run this PI on Linux. While designing out the Windows UPNP COM component, I now see which devices are violating that standard, including HS themselves! So you may see the PI reporting errors on non-compliant DLNA devices that live on your network. We'll have to clean them up over time.
    • When you navigate through the content of a DLNA server, either via the Player control UI or because you are creating an event, when you pull let's say "all track", if you have tens of thousands of tracks, this is going to take a while and depending on the speed of the PC / DLNA Server, it may just timeout. I currently have a 2 minute max wait built in but need to find a way to deal with this more appropriately. I think Serviio does it by adding a level of navigation like A..Z to avoid that too many objects are retrieved. So if you have ideas or suggestions, I'm all ears.

    Known Issues for later Beta release
    • Implementation with HST seems partly broken, this is first and foremost on the HS side of things
    • The HS3 mediaAPI or the "tight" integration with HS Touch to navigate content is not there, it doesn't exist yet in HST as far as I know
    • For those of you using the "remote" function, the editor is gone, you can now use HS3 native functions to re-arrange buttons, add, delete etc.
    • Playlist editor isn't there
    • Multiple Announcements doesn't work
    • Adding play items in queue are all at end. Functions for in queue or play now not coded yet

    Changes to next version

    Changes to v3.0.0.53
    • Added MAC address to DeviceID for Samsung remote to make clients unique. Fixes issues with multiple clients require same PIN. This unfortunately will require all clients to be re-authenticated!
    • Removed dependency on mscorlib.dll for the MediaControllerCrypto.dll
    Changes to v3.0.0.52
    • Fixed issue LG toast issue
    • Fixed LG/Samsung device status issue. If remote is not authenticated, device will go to unregistered state. Some warning in log
    • Added Linux support for remote on Samsung TVs series H and J

    Changes to v3.0.0.50
    • Fixed issue with GetMAC where MAC address was overwritten with 00-00-00-00-00-00
    • Fixed another issue where WOL on Linux, even if you manually enter the MAC address in the ini file, it would still not work.
    • Some more fixes to properly terminate PI and not have it hang.
    • Fixed some issues w Samsung TV not properly generating remote buttons for applications (Y2017 ->)
    • Added more support for Roku TV Remote, including retrieving Channels

    Changes to v3.0.0.44
    • THIS IS A DEBUG VERSION. DON'T DOWNLOAD UNLESS IT DEALS WITH ISSUES BELOW
    • Added SSL support for newer Samsung TVs (2017/2018)
    • Fixed and issue where bunched up responses from websocket case problems now put in FIFO
    • Fixed issues for JSON treatment when running on Linux

    Changes to v3.0.0.36
    • Forgot to package the SPCApi.dll file causing Samsung TV with PIN authentication to fail
    • HSPI_MediaController.exe.config had bin path info missing
    Changes to v3.0.0.35
    • Remote control for LG WebOS based TVs
    • Message Service (Toast) LG WebOS based TVs
    • Fixed an issue with PI not shutting down properly

    Changes to v3.0.0.33
    • Remote control for Samsung TV Q series
    • Some changes for Remote control for K/M series Samsung TV
    • Made change to prevent device root icon to be overwritten

    Changes to v3.0.0.31
    • Remote control for Samsung TV H, J, K, M series
    • Removed UPNP Listener function
    • Found an issue where devices are not being re-discovered
    • Do note that this version requires .NET451 or higher

    Changes to v3.0.0.28
    • Config button for Sony remote is removed
    • Sony remote didn't work under Linux, failing Deserialize method, changed to DeserializeObject which seems supported by Mono.

    Changes to v3.0.0.26
    • I broke the Samsung Remote function in version .25, fixed in .26

    Changes to v3.0.0.25
    • Fixes some issue for remote control for Onkyo (same limited functions as HS2, read help file)
    • Changed adding/discovery flow for remotes a little. For a new device, remote control buttons won't populate automatically, you need to click on the "Create Remote Buttons" button in the HS Device Page.
    • Added some support for different voices in your announcements, see help file
    • Heavy logging of the PI under Linux causes resource leaks, fixed.

    Changes to v3.0.0.23
    • Fixed another issues w/ UPNP device discovery. This time when the PI starts and there are zero devices to be found, none will be added later
    • The installer will now have 2 version of the System.Data.SQLite.dll. One for Linux installs and one for Windows installs.
    • Remote control support for newer Sony Bravia TVs
    • Fixed issue with disk logging
    • Fixed issue with "=" character in the UDN
    • Added support for multiple speaker clients in a single event

    Changes to v3.0.0.20
    • Fixed some issues with device discoveries

    Changes to v3.0.0.19
    • Removed the license restriction completely
    • Made some changes wrt to playing a media object as part of an event. If the DLNA server has reindexed and the ObjectID has changed, the PI will generate a warning (when debug flag is on) and will attempt to search navigating the Server Directory, which could be quite slow

    Changes to v3.0.0.17
    • Found some issue with UPNP child devices causing devices to be dropped/re-added

    Changes to v3.0.0.16
    • Fixed an issue where the volume, mute .. device wasn't working
    • Rewrote the code where devices are not coming on-line in the PI after they went off-line->on-line. Some things got broken post v.08

    Changes to v3.0.0.13
    • Trial Date extended to May 31st, 2015
    • Fixed an issue in Function "PluginFunction" that caused 3pty access to fail (such as HSServer trying to read MediaAPI stuff)

    Changes to v3.0.0.12
    • A shuffle/repeat Queue was added to distinguish from setting repeat/shuffle on the player or just the PI's Queue behavior
    • Repeat/Shuffle buttons will now only show up IF the player supports it (most don't). Best to delete/recreate your device to find out
    • Fixed shuffle icon missing under Linux (another capital/no capital error)
    • Fixed error in shuffle as last element was never selected
    • Optimized Shuffle a little to prevent from the same Object to be played twice in a row
    • There is an issue with scrollbars on the playerpage unless you are on HS3 >v130. Added old fix back to support version <v130


    Changes to v3.0.0.11
    • Playlist function was broken
    • Shuffle function for playlist was missing, fixed
    • Error in installer for Linux, help file was not installed properly
    • Saving playlist was broken
    • Playlist SaveAs function was added
    • Fixed ClearQueue for Actions "Play Item"

    Changes to v3.0.0.10
    • Devices that show up later are not automatically set to on-line, broke this in v08
    • Added support for Linux, but this bug in HS3 (http://bugzilla.homeseer.com/bugzill...ug.cgi?id=2258) needs to be resolved first for it to work (or download the HSCF.DLL posted in that bugreport)

    Changes to v3.0.0.8
    • Relying on Pings is removed, so might now work on XBOX
    • Added some support for Sony remote

    Changes to Beta v3.0.0.6
    • Mute is fixed
    • File Lame.exe was forgotten so you cannot play an .mp3 announcement.
    • Fixed some potential issues with opening the Samsung Remote TCP port
    • Made some changes around remotes for Sony devices, not sure though it will work better in absence of any Sony TV to test

    Changes to Beta v3.0.0.5
    • Playing stuff on a Phillips TV wasn't working
    • Play Item Event wasn't working
    • Volume min/max range wasn't respected

    Changes to Beta v3.0.0.3
    • Forgot debug statement when Player UI is opened, logging every 2 seconds
    • Navigation issue when navigation tree ends in a container rather than item, it keeps repeating itself
    • Fixed more issues w/ the UPNP functions (Samsung SMS wasn't working)
    • Remote on/off buttons were missing for Samsung/Onkyo

    Changes to Beta v3.0.0.2
    • Fixed the Invalid URI issue w/ Philips TV
    Last edited by dcorsus; May 19, 2019, 05:21 PM.

    #2
    What does this MediaController PI do

    Added what this PI does to the first posting here (http://board.homeseer.com/showpost.p...90&postcount=1).

    Comment


      #3
      Hi,
      Firstly, many thanks for this!!
      I have Plex, Universal Media Server, PS Media Server and render on a Philips 46PFL8008. I have added the Plex and the Philips TV only for now.
      The Plex seems to add OK and gives no errors, but the Philips TV gives a few errors when I add it, and play with the volume, play, pause etc devices created, and is unresponsive.

      May-19 20:34:18 MC Error Error in ExtractAllServices for device = Philips TV adding RenderingControl Call Back with error = Invalid URI: Invalid port specified.
      May-19 20:34:18 MC Error Error in AVTGetTransportInfo for device = Philips TV and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:34:18 MC AVTGetTransportInfo called for device Philips TV and InstanceID = 0
      May-19 20:34:18 MC Error Error in AVTGetPositionInfo for device = Philips TV and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:34:18 MC AVTGetPositionInfo called for device Philips TV and InstanceID = 0 May-19 20:34:18 MC Error Error in AVTGetMediaInfo for device = Philips TV and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:34:18 MC AVTGetMediaInfo called for device Philips TV and InstanceID = 0
      May-19 20:34:18 MC Error Error in ExtractAllServices for device = Philips TV adding Transport Call Back with error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:34:18 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object.
      May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diShuffleHSRef with Ref 119
      May-19 20:34:18 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object.
      May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diRepeatHSRef with Ref 118 May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diMuteHSRef with Ref 116
      May-19 20:34:18 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object. M
      ay-19 20:34:18 Error Exception during grammar generation, loading grammar: The process cannot access the file 'C:\Program Files (x86)\HomeSeer HS3\Grammar\Grammar_Data_skinnez-HS3#Default.hs' because it is being used by another process.
      May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diVolumeHSRef with Ref 115
      May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diPlayStateHSRef with Ref 114
      May-19 20:34:18 MC ArtworkURL Set for device = Philips TV. Album = /images/MediaController/noart.png
      May-19 20:34:18 MC CreateHSDevice for Device = Philips TV created deviceType diArtHSRef with Ref 113
      May-19 20:34:17 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object.
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diGenreHSRef with Ref 112
      May-19 20:34:17 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object.
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diTrackDescrHSRef with Ref 111
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diTrackPosHSRef with Ref 110
      May-19 20:34:17 HSTouch Server Warning Exception on Value Change callback: Object reference not set to an instance of an object.
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diTrackLengthHSRef with Ref 109
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diAlbumHSRef with Ref 108
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diArtistHSRef with Ref 107
      May-19 20:34:17 MC CreateHSDevice for Device = Philips TV created deviceType diTrackHSRef with Ref 106
      May-19 20:34:17 MC CreateHSPlayerDevice created device Philips TV with reference 105
      May-19 20:34:17 MC ProcessSpeedSettings called for device - Philips TV
      May-19 20:34:17 MC SearchServiceDocument called for device = Philips TV with URL = http://192.168.1.5:49153/nmrDescription.xml and ServiceID = urn:upnp-org:serviceId:AVTransport and Action = Play and Argument = Speed
      May-19 20:34:17 MC ExtractAllServices for device = Philips TV found AVTransport
      May-19 20:34:17 MC Error Error in ExtractAllServices for device = Philips TV adding ConnectionManager Call Back with error = Invalid URI: Invalid port specified.
      May-19 20:34:17 MC Error Error in CMGetProtocolInfo for device = Philips TV with UPNP Error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:34:17 MC CMGetProtocolInfo called for device Philips TV
      May-19 20:34:17 MC ExtractAllServices found ConnectionManager for device = Philips TV
      May-19 20:34:17 MC ExtractAllServices for device = Philips TV set MyMaximumVolume = 100
      May-19 20:34:17 MC ExtractAllServices for device = Philips TV set MyMinimumVolume = 0
      May-19 20:34:17 MC SearchServiceDocument called for device = Philips TV with URL = http://192.168.1.5:49153/nmrDescription.xml and ServiceID = urn:upnp-org:serviceId:RenderingControl and Action = SetVolume and Argument = DesiredVolume
      May-19 20:34:17 MC SearchServiceDocument called for device = Philips TV with URL = http://192.168.1.5:49153/nmrDescription.xml and ServiceID = urn:upnp-org:serviceId:RenderingControl and Action = SetVolume and Argument = Channel
      May-19 20:34:17 MC ExtractAllServices found RenderingControl for device = Philips TV
      May-19 20:34:17 MC ExtractAllServices for device = Philips TV found 3 Services
      May-19 20:34:17 MC ProcessServiceDocument called for device = Philips TV with URL = http://192.168.1.5:49153/nmrDescription.xml
      May-19 20:34:17 MC DeviceTrigger called for device - Philips TV with Trigger = Player Online
      May-19 20:34:17 MC PlayChangeNotifyCallback called for device - Philips TV with ChangeType = DeviceStatusChanged and Changevalue = Online
      May-19 20:34:17 MC Device Finder Call Back for Device = Philips TV added Image = http://192.168.1.5:49153CP_logo_0.png
      May-19 20:34:17 MC Error GetPicture called for device - Philips TV url= http://192.168.1.5:49153CP_logo_0.png caused error: URI formats are not supported.

      Selecting a video from Plex to play on the TV using the PI interface seems to work OK but gives a similar error.

      May-19 20:20:20 MC Error Error in AVTSetAVTransportURI for device = Philips TV and CurrentURI = http://192.168.1.4:32469/object/59ac...f7120/file.mp4 and CurrentURIMetaData = {0x3C}DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/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/"{0x3E3C}item id="59aca434811ba2af7120" parentID="3ffefa012cbb0113fc08" restricted="1"{0x3E3C}dc:title{0x3E}24 901 Lol{0x3C}/dc:title{0x3E3C}dc:creator{0x3E}Unknown{0x3C}/dc:creator{0x3E3C}upnp:genre{0x3E}Unknown{0x3C}/upnp:genre{0x3E3C}upnp:albumArtURI dlnarofileID="JPEG_MED"{0x3E}http://192.168.1.4:32469/proxy/e53bc8ad4f9a5b157dd5/albumart.jpg{0x3C}/upnp:albumArtURI{0x3E3C}dc:description{0x3E}24 901 Lol{0x3C}/dc:description{0x3E3C}upnp:icon{0x3E}http://192.168.1.4:32469/proxy/061a8da6ef88425eb5ef/icon.jpg{0x3C}/upnp:icon{0x3E3C}res duration="0:44:32.000" size="376733010" resolution="720x404" bitrate="141000" nrAudioChannels="2" protocolInfo="http-get:*:video/mp4LNA.ORG_PN=AVC_MP4_HP_SD_AAC_LC{0x3B}DLNA.ORG_OP=01{0x3B}DLN A.ORG_CI=0{0x3B}DLNA.ORG_FLAGS=01500000000000000000000000000 000"{0x3E}http://192.168.1.4:32469/object/59aca434811ba2af7120/file.mp4{0x3C}/res{0x3E3C}upnp:class{0x3E}object.item.videoItem.movie{0x3C}/upnp:class{0x3E3C}/item{0x3E3C}/DIDL-Lite{0x3E} and InstanceID = 0 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = Invalid URI: Invalid port specified.
      May-19 20:20:20 MC AVTSetAVTransportURI called for device Philips TV and CurrentURI = http://192.168.1.4:32469/object/59ac...f7120/file.mp4 and CurrentURIMetaData = {0x3C}DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/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/"{0x3E3C}item id="59aca434811ba2af7120" parentID="3ffefa012cbb0113fc08" restricted="1"{0x3E3C}dc:title{0x3E}24 901 Lol{0x3C}/dc:title{0x3E3C}dc:creator{0x3E}Unknown{0x3C}/dc:creator{0x3E3C}upnp:genre{0x3E}Unknown{0x3C}/upnp:genre{0x3E3C}upnp:albumArtURI dlnarofileID="JPEG_MED"{0x3E}http://192.168.1.4:32469/proxy/e53bc8ad4f9a5b157dd5/albumart.jpg{0x3C}/upnp:albumArtURI{0x3E3C}dc:description{0x3E}24 901 Lol{0x3C}/dc:description{0x3E3C}upnp:icon{0x3E}http://192.168.1.4:32469/proxy/061a8da6ef88425eb5ef/icon.jpg{0x3C}/upnp:icon{0x3E3C}res duration="0:44:32.000" size="376733010" resolution="720x404" bitrate="141000" nrAudioChannels="2" protocolInfo="http-get:*:video/mp4LNA.ORG_PN=AVC_MP4_HP_SD_AAC_LC{0x3B}DLNA.ORG_OP=01{0x3B}DLN A.ORG_CI=0{0x3B}DLNA.ORG_FLAGS=01500000000000000000000000000 000"{0x3E}http://192.168.1.4:32469/object/59aca434811ba2af7120/file.mp4{0x3C}/res{0x3E3C}upnp:class{0x3E}object.item.videoItem.movie{0x3C}/upnp:class{0x3E3C}/item{0x3E3C}/DIDL-Lite{0x3E} and InstanceID = 0 May-19 20:20:20 MC PlayDBItem for device = Philips TV found itemName = 24 901 Lol

      For your information I had both Plex and the TV with your HS2 PI and it worked OK. I deleted them both and re-added with the HS3 box firewall off, but it gave the same result.
      I am also on HS3 3.0.0.93
      Hope this helps.

      Cheers
      J

      Comment


        #4
        Hi Skinnez,

        I guess the dance has started , there were bound to be issues with my own UPNP subsystem.

        Could you also turn the UPNP debug flag (level) to errors and event, we may need to go to verbose just to capture the right info.

        A few questions first: is this a "regular" network and PC setup? No NAT translation, routing, multiple Ethernet ports on your PC, IPv6, VM-s?

        I may need you to do a "log whole network" action (see help file) and email me the result.

        Thanks for being probably the first beta tester. I did plenty of work on plenty of devices but it was all on my network ...

        Dirk

        Comment


          #5
          New MediaController HS3 beta v3.0.0.2 posted

          Changes to Beta v3.0.0.2
          • Fixed the Invalid URI issue w/ Philips TV

          Comment


            #6
            MediaController plugin beta testing Forum

            Cheers buddy!
            I've just woke up, I'll try this tonight when I get in from work and let you know.
            This is a domain network and all are VM's so not regular. I forgot to mention I have XBMC too. So will try that too if it helps.

            Cheers
            J

            Comment


              #7
              Originally posted by Skinnez View Post
              Cheers buddy!
              I've just woke up, I'll try this tonight when I get in from work and let you know.
              This is a domain network and all are VM's so not regular. I forgot to mention I have XBMC too. So will try that too if it helps.

              Cheers
              J
              I think I figured out what the problem was but feel free to try XBMC as well. I tested the PI with Gotham Beta 1, music and video seem to be doing OK but I've seen some oddities with pictures and have the impression that the Gotham release is not very stable so if you are still on Frodo, then post your experiences here. Need to find the time to log a bunch of bugs wrt UPNP and XBMC, clearly not their highest priority. Suggest that you turn the transport polling on for an XBMC device (see help file). Oh before I forget, turn the useNext off!

              Dirk

              Comment


                #8
                Thanks for the heads up - I'm on Frodo!
                That error has gone now and the TV's graphics icon came thru to the devices once I removed the TV and added again. The volume also tracks when adjusted with the tv remote, but the transport doesn't update when playing is started from the tv. No commands work coming from the PI yet.
                The errors are all similar to the ones below.

                May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetTransportInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetTransportInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetMediaInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetMediaInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetMediaInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.

                Getting there!! I have tried XBMC as server and renderer, also Universal media server and all seems good with video. All devices update and all controls I tried from the PI worked. I wish I had bought a Samsung :/

                Cheers,

                J
                Last edited by Skinnez; May 20, 2014, 04:26 PM.

                Comment


                  #9
                  Originally posted by Skinnez View Post
                  Thanks for the heads up - I'm on Frodo!
                  That error has gone now and the TV's graphics icon came thru to the devices once I removed the TV and added again. The volume also tracks when adjusted with the tv remote, but the transport doesn't update when playing is started from the tv. No commands work coming from the PI yet.
                  The errors are all similar to the ones below.

                  May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetTransportInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetTransportInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                  May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                  May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                  May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetMediaInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetMediaInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetMediaInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.

                  Getting there!! I have tried XBMC as server and renderer, also Universal media server and all seems good with video. All devices update and all controls I tried from the PI worked. I wish I had bought a Samsung :/

                  Cheers,

                  J
                  Does the TV require any authentication for remote access? Have you tried to use the PI player control UI and select something (song or movie) from a server and try to play it on the TV?

                  There are 2 types of DLNA devices: one category is very chatty and will tell you any change on the device through their UPNP interface. There are few of these, Sonos is probably the only one besides pure DLNA Media Players. The other category will only inform you when you are using the DLNA/UPNP interface to render something. I don't know of any TV that would tell the UPNP subsystem what it is playing UNLESS it came in via the same UPNP Controller. So if you play a movie on your TV, the TV has no info about the movie; it doesn't know whether you are playing or pausing, I wished that it would at least send a UPNP (proprietary) event when it switched inputs like HDMI, AV .... but alas they don't. Then there are the category of smart TVs which have apps on them that do things, but also here, the app runs in a "sandbox", the TV doesn't know what the APP is doing so here again, you don't get UPNP info/events. Same goes for Roku devices, WD100, Sony .....

                  I'm not sure about the errors you see, turn off all debug flags, they may just be there because I suspect you have set the poll transport flag and the TV doesn't want to return that info UNLESS it is playing something via it's UPNP interface. Could be wrong, just my gut feel. Do you have the same settings like the HS2 version? Could be that the error was suppressed in HS2. The TV clearly publishes the DLNA capabilities so it should work, it may need to be authenticated, or an allowance set or set manually () set in a specific mode. For example: my Onkyo is always on, given updates on volume settings etc. but if I want to control it from a UPNP controller, you need to manually set it to "network" mode .. which really makes it a useless device for this PI, unless a PI extension or other PI can be used to first set it in the right mode.

                  If all else fails, you can always test your DLNA device with WMP or any other DLNA controller and see if that works. If it does work, it means I need to try harder

                  Dirk

                  Comment


                    #10
                    Originally posted by Skinnez View Post
                    Thanks for the heads up - I'm on Frodo!
                    That error has gone now and the TV's graphics icon came thru to the devices once I removed the TV and added again. The volume also tracks when adjusted with the tv remote, but the transport doesn't update when playing is started from the tv. No commands work coming from the PI yet.
                    The errors are all similar to the ones below.

                    May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetTransportInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetTransportInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetTransportInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                    May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                    May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetPositionInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetPositionInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.
                    May-20 19:50:47 MC Warning MyUPnPService.InvokeAction for ServiceID = http://192.168.1.5:49153/nmrAVTransport.xml while sending Action = GetMediaInfo for URI = http://192.168.1.5:49153/upnp/control/AVTransport1 and Request = {0x3C}?xml version="1.0" encoding="utf-8"?{0x3E3C}s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"{0x3E} {0x3C}s:Body{0x3E} {0x3C}u:GetMediaInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"{0x3E} {0x3C}InstanceID{0x3E}0{0x3C}/InstanceID{0x3E} {0x3C}/u:GetMediaInfo{0x3E} {0x3C}/s:Body{0x3E3C}/s:Envelope{0x3E} UPNP Error = with error = The remote server returned an error: (500) Internal Server Error.

                    Getting there!! I have tried XBMC as server and renderer, also Universal media server and all seems good with video. All devices update and all controls I tried from the PI worked. I wish I had bought a Samsung :/

                    Cheers,

                    J
                    One more trick. When the playing doesn't work, first try to click on stop before you click on play something. I've seen DLNA devices that need a stop first, I had it built in in HS2 but it might have gotten lost in this HS3 variant.

                    I assume you can play stuff to this TV using the HS2 variant of the DLNA PI, right?


                    Dirk

                    Comment


                      #11
                      New MediaController HS3 beta v3.0.0.3 posted

                      Changes to Beta v3.0.0.3
                      • Forgot debug statement when Player UI is opened, logging event every 2 seconds
                      • Navigation issue when navigation tree ends in a container rather than item, it keeps repeating itself
                      • Fixed more issues w/ the UPNP functions (Samsung SMS wasn't working)
                      • Remote on/off buttons were missing for Samsung/Onkyo

                      Comment


                        #12
                        I'm super interested in this plugin too. I was having a go last night but not quite getting it working (samsung tv trying to sms). I won't bother you with details until I've played around some more first but just wanted to ask when upgrading versions which files do I replace and which do i leave?

                        Cheers in advance.

                        Will bother you with issues later no doubt...

                        EDIT: I take that back - it's quite obvious when I open the zip file... doh!

                        Comment


                          #13
                          Ok, now I'm struggling. I've installed, it recognises my DMCs and DMRs and I can add them. My issue is that they simply don't play. I've created test events to play from my NAS (which is recognised and I can navigate to content) but when i try to play to my TV, sms to my TV or play to my Android (using BubbleuPNP) it just doesn't play.

                          No errors in my log file when I hit play. I've attached if you want to take a peek. Any help appreciated.

                          PS. I've tested to my phone and to my TV. I was able to play to my phone using the device page in the plugin menu but not from a manually triggered event. And yes, I can play to my TV using other DLNA controllers.
                          Attached Files
                          Last edited by Mattyjee; May 21, 2014, 07:19 AM.

                          Comment


                            #14
                            Originally posted by Mattyjee View Post
                            Ok, now I'm struggling. I've installed, it recognises my DMCs and DMRs and I can add them. My issue is that they simply don't play. I've created test events to play from my NAS (which is recognised and I can navigate to content) but when i try to play to my TV, sms to my TV or play to my Android (using BubbleuPNP) it just doesn't play.

                            No errors in my log file when I hit play. I've attached if you want to take a peek. Any help appreciated.

                            PS. I've tested to my phone and to my TV. I was able to play to my phone using the device page in the plugin menu but not from a manually triggered event. And yes, I can play to my TV using other DLNA controllers.

                            please turn debug flags on, take screen shots of device management page of relevant device, screenshot of PIs config screen, screenshot of events, screenshots of anything you do, simply stating it doesn't work I can't help you that way. The log isn't showing anything without debug flags on. Did you consult the help file? How did you create and test your SMS function?

                            The log only shows 2 things, one error on an image missing, maybe this was taken before you figured out what to copy where (see header of this post). It also shows using your MG phone as a content server, it's doesn't appear to have content. For the rest, nothing in the log file.

                            Dirk

                            Comment


                              #15
                              Originally posted by dcorsus View Post
                              One more trick. When the playing doesn't work, first try to click on stop before you click on play something. I've seen DLNA devices that need a stop first, I had it built in in HS2 but it might have gotten lost in this HS3 variant.
                              I assume you can play stuff to this TV using the HS2 variant of the DLNA PI, right?

                              Dirk
                              Yeah, the setup I have worked fine with your HS2 version. I just tried a few things again earlier, just to make sure I was telling it right.

                              HS2 Version
                              There is a Philips iPhone app I use to play video/films. I can select from DLNA servers in the app and send them on my TV (probably with upnp/dlna). If I start a film this way the transport shows playing etc. and what is playing on the HS2 PI. Once started this way I can pause/play using the TV remote / iPhone app or HS2 - and it all works (I have lights up and down with play/pause). Starting with the TV remote doesn't work (due to reasons you gave). Selecting from the HS2 web page works ok. Volume can be controlled from HS.

                              HS3 Version
                              I have tried the same as above, and selected a video from the PI HS3 web browser and nothing starts on the TV. I cant mute or adjust the volume and the transport devices don't change either.

                              I've tried stop first but no difference (although does update the 'Player' device artwork). I'm not sure if there is upnp authentication on the TV and can't find anyway to alter upnp/dlna settings. - there aren't any. So I turned on upnp verbose and debug logging, and tried starting a film from the the PI web page / adjust volume / mute etc etc and attach the log. Hopefully it will help.

                              Cheers
                              J

                              ps Version 3.0.0.2
                              Last edited by Skinnez; May 23, 2014, 01:17 PM.

                              Comment

                              Working...
                              X