Author Topic: DLNA Media Controller plugin - Common library for UPnP AV  (Read 167925 times)

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #195 on: November 14, 2013, 07:56:54 am »
The media being played by the Yamaha AVR does not appear on the plugin either.

Please check in the Help tab that the two metadata variazbles are empty.
If not, it could be a bug.

Quote
One other really strange thing occurs when the Yamaha lists the media servers it can find. It shows one called "Xmaslights [17]"  and I just happen to have a Vera Scene called "Xmas lights", which is scene number 17. If I try and select it - it says "Access Denied". I can rename the scene and the new name appears on the Yamaha!!! All a bit bizarre.

Oh yes, very bizarre.

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 778
  • Karma: +45/-8
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #196 on: November 14, 2013, 05:30:18 pm »
Quote
Please check in the Help tab that the two metadata variazbles are empty.
If not, it could be a bug.

These all show a blank value for the Yamaha AVR:

AVTransportURI   
AVTransportURIMetaData   
CurrentTrackURI   
CurrentTrackMetaData

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 778
  • Karma: +45/-8
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #197 on: November 15, 2013, 03:01:59 am »
More info on the Yamaha box. I find that I can control it with bubbleupnp (Android app). The interesting thing is once I do that, the plugin can then also control it. The plugin also shows the media information as well at that point. However the plugin cannot play a URI or "Say" anything:

Ignore the "luup_log:67: YamahaReceiver: Un-handled subunit: SERVER" - that's another plugin and is harmless.

URI log - have I entered the correct URI - I note it appears to have a leading space:
Code: [Select]
08 11/15/13 18:40:03.117 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=88 <0x3059f680>
08 11/15/13 18:40:03.117 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x3059f680>
08 11/15/13 18:40:03.118 JobHandler_LuaUPnP::HandleActionRequest argument action=Play <0x3059f680>
08 11/15/13 18:40:03.118 JobHandler_LuaUPnP::HandleActionRequest argument URI= x-rincon-mp3radio://www.live365.com/play/opost57chevy <0x3059f680>
50 11/15/13 18:40:03.359 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.371 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.388 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.400 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.412 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.413 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.414 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.424 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
01 11/15/13 18:40:03.491 luup_log:88: DLNA: error UPnP_request (SetAVTransportURI, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>600</errorCode>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>] <0x3059f680>
06 11/15/13 18:40:03.595 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:AVTransport variable: TransportState was: PLAYING now: TRANSITIONING #hooks: 0 upnp: 0 v:0xb55108/NONE duplicate:0 <0x3059f680>
50 11/15/13 18:40:03.626 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.629 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.630 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.631 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.632 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
50 11/15/13 18:40:03.639 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31622680>
06 11/15/13 18:40:03.646 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTransportActions was: Pause,Stop,Next,Previous now: Stop #hooks: 0 upnp: 0 v:0xb4fb90/NONE duplicate:0 <0x3059f680>

"Say" log:
Code: [Select]
08 11/15/13 18:24:53.093 JobHandler_LuaUPnP::HandleActionRequest device: 88 service: urn:dlna-org:serviceId:DLNAMediaController1 action: Say <0x317a4680>
08 11/15/13 18:24:53.093 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=88 <0x317a4680>
08 11/15/13 18:24:53.094 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x317a4680>
08 11/15/13 18:24:53.094 JobHandler_LuaUPnP::HandleActionRequest argument action=Say <0x317a4680>
08 11/15/13 18:24:53.094 JobHandler_LuaUPnP::HandleActionRequest argument Text=Hello Test <0x317a4680>
08 11/15/13 18:24:53.094 JobHandler_LuaUPnP::HandleActionRequest argument Language=en <0x317a4680>
06 11/15/13 18:24:53.493 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:AVTransport variable: TransportState was: STOPPED now: PLAYING #hooks: 0 upnp: 0 v:0xaced58/NONE duplicate:0 <0x317a4680>
06 11/15/13 18:24:53.641 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:AVTransport variable: CurrentTransportActions was: Play,Next,Previous,Seek,X_DLNA_SeekTime now: Pause,Stop,Next,Previous #hooks: 0 upnp: 0 v:0xaca5a8/NONE duplicate:0 <0x317a4680>
06 11/15/13 18:24:53.732 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:AVTransport variable: RelativeTimePosition was: 0:00:00 now: 0:01:15 #hooks: 0 upnp: 0 v:0x96f2a0/NONE duplicate:0 <0x317a4680>
06 11/15/13 18:24:53.777 Device_Variable::m_szValue_set device: 88 service: urn:upnp-org:serviceId:RenderingControl variable: Volume was: 90 now: 70 #hooks: 0 upnp: 1 v:0xb7cee8/NONE duplicate:0 <0x317a4680>
06 11/15/13 18:24:53.778 Device_Variable::m_szValue_set device: 88 service: urn:micasaverde-com:serviceId:HaDevice1 variable: LastUpdate was: 1384499685 now: 1384500293 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x317a4680>
01 11/15/13 18:24:54.029 luup_log:88: DLNA: error UPnP_request (SetAVTransportURI, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>714</errorCode>
<errorDescription>Illegal MIME-type</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>] <0x317a4680>
01 11/15/13 18:24:54.038 luup_log:88: DLNA: error UPnP_request (Play, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>714</errorCode>
<errorDescription>Illegal MIME-type</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>] <0x317a4680>
50 11/15/13 18:24:54.052 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.069 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.080 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.092 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.104 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.105 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.106 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:54.116 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
01 11/15/13 18:24:58.108 luup_log:88: DLNA: error UPnP_request (Stop, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>501</errorCode>
<errorDescription>Action Failed</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>] <0x2f1b5680>
50 11/15/13 18:24:58.528 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.544 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.545 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.546 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.556 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.568 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>
50 11/15/13 18:24:58.580 luup_log:67: YamahaReceiver: Un-handled subunit: SERVER <0x31279680>

Adding to the strangeness - I can another Vera Scene listed in bubbleupnp .


Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #198 on: November 15, 2013, 09:45:28 am »
What URI did you provide ? (you don't have the sent message in the logs ?)

For TTS, maybe http URL is not acepted by the Yamaha renderer ?

You could check what are the accepted protocols by your Yamaha DMR using Device Spy.

Offline fhreid

  • Sr. Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #199 on: November 15, 2013, 02:49:23 pm »
This plug is developing nicely.  I can play vids and music from my XBMC library.  The "scanning" issue seems to have been resolved.  Haven't had a lot of luck using media player as a control to my Sony KDL as a renderer.  It discovers it but won't play the selected URI.

One thing that is a pain is that the selections in the comboboxes don't seem to persist if the control loses scope.

Also, forgive me for this newb question but what I would like to do is run a scene that pauses playback if my android phone rings.  I use tasker which can initiate a scene in vera but the device and consequently all the command buttons are disabled when I am in scene creation.  Is there a luup command I can uses to implement?

Thanks for your hard work!

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
    • House Of Yu
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #200 on: November 16, 2013, 04:17:48 am »
i added the sonos files as u mentioned.. causing some reloads randomly on vera lite.. then i restarted the tv and rebooted vera .. seems ok now and volume up n down works now. settings>discover doesn't work anymore.. (i have samsung tv selected and this is only DMR it found, not sure if this makes a difference.. see it scanning and then nothing comes up) it finds player services though in player tab..
using TTS it seems to do something on tv and no error but i dont hear anything.. goes back to TV broadcast after done.
using play URI : http://mp1.somafm.com:8808 (/listen.pls)     .. does nothing and plays Bolt 3D movie rightafter.. while it was on TV broadcast
using play URI: http://192.168.1.2/THX-Dolby DTS-Ultimate Bass Test.mp3 .. nothing.. goes back to bolt 3D movie after
using play URI: 192.168.1.2/THXTest.mp3   still nothing..  after filled in duration.. nothing.. filled in volume.. sets volume, not playing
in help :    http://192.168.1.2:32469/object/50387e6f8da6dea621cd/file.mkv  <- Bolt 3D movie... stil there after reboot and restart tv
used new version of I_DNLA..... and L_DNLA....

logoutput:
Code: [Select]
08   11/16/13 10:43:45.627   JobHandler_LuaUPnP::HandleActionRequest device: 118 service: urn:dlna-org:serviceId:DLNAMediaController1 action: Play<0x2f510680>
08   11/16/13 10:43:45.628   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=118 <0x2f510680>
08   11/16/13 10:43:45.628   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x2f510680>
08   11/16/13 10:43:45.628   JobHandler_LuaUPnP::HandleActionRequest argument action=Play <0x2f510680>
08   11/16/13 10:43:45.629   JobHandler_LuaUPnP::HandleActionRequest argument URI=192.168.1.2/THXTest.mp3 <0x2f510680>
10   11/16/13 10:43:45.650   UPnPCallbackEventHandler 4 start PIDLOG2 26715 <0x2f110680>

10   11/16/13 10:43:45.759   UPnPCallbackEventHandler 4 start PIDLOG2 26715 <0x2f310680>

10   11/16/13 10:43:45.789   UPnPCallbackEventHandler 4 start PIDLOG2 26715 <0x2f110680>

10   11/16/13 10:43:45.899   UPnPCallbackEventHandler 4 start PIDLOG2 26715 <0x2f310680>

06   11/16/13 10:43:46.409   Device_Variable::m_szValue_set device: 118 service: urn:upnp-org:serviceId:AVTransport variable: TransportState was: STOPPED now: TRANSITIONING #hooks: 0 upnp: 0 v:0x10f9f88/NONE duplicate:0 <0x2f510680>

Code: [Select]
08   11/16/13 11:06:33.104   JobHandler_LuaUPnP::HandleActionRequest device: 118 service: urn:dlna-org:serviceId:DLNAMediaController1 action: Play <0x2f8e6680>
08   11/16/13 11:06:33.104   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=118 <0x2f8e6680>
08   11/16/13 11:06:33.104   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x2f8e6680>
08   11/16/13 11:06:33.105   JobHandler_LuaUPnP::HandleActionRequest argument action=Play <0x2f8e6680>
08   11/16/13 11:06:33.105   JobHandler_LuaUPnP::HandleActionRequest argument URI=http://192.168.1.2/Cest lavie - Robbie Nevil.MP3 <0x2f8e6680>
08   11/16/13 11:06:33.105   JobHandler_LuaUPnP::HandleActionRequest argument Volume=20
01   11/16/13 11:06:33.639   luup_log:118: DLNA: error UPnP_request (SetAVTransportURI, urn:schemas-upnp-org:service:AVTransport:1): status=1 statusMsg=500 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>716</errorCode><errorDescription>Resource not found</errorDescription></UPnPError></detail></s:Fault>
</s:Body>
</s:Envelope>] <0x2f8e6680>
06   11/16/13 11:06:34.271   Device_Variable::m_szValue_set device: 118 service: urn:upnp-org:serviceId:AVTransport variable: TransportState was: STOPPED now: TRANSITIONING #hooks: 0 upnp: 0 v:0xbd70a8/NONE duplicate:0 <0
with e with ' on top of it (forum dont like the alt characters it seems) caused vera crash and reboot.. replace with e >error  ..in browser> plays mp3
« Last Edit: November 16, 2013, 05:17:46 am by Da_JoJo »
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #201 on: November 16, 2013, 05:28:04 am »
Also, forgive me for this newb question but what I would like to do is run a scene that pauses playback if my android phone rings.  I use tasker which can initiate a scene in vera but the device and consequently all the command buttons are disabled when I am in scene creation.  Is there a luup command I can uses to implement?

I can create a scene with the Vera UI5 to control the DLNA device. It works well as expected.

I don't know how tasker is working. When you say you create a scene, it is in tasker or in Vera ?

Did you install all the files I provided ?

Offline Da_JoJo

  • Hero Member
  • *****
  • Posts: 1380
  • Karma: +16/-78
  • If something aint work, we can allways try n make
    • House Of Yu
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #202 on: November 16, 2013, 05:38:48 am »
same here.. create scene in UI5 > all buttons not responding and cannot be chosen
Vera lite (1.5.622), 2x an-158/2, dead usb pl2302 rs-232, 2x greenwave 6 port, 4x Fibaro FGD211 v1.6, FGBS001, few FGS - 221, etc. AuthomationHD 3 for android :-)
Dutch & German translator http://wiki.micasaverde.com/index.php/Special:AllPages http://support.micasaverde.com http://domotica-shop.nl

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #203 on: November 16, 2013, 05:53:00 am »
i added the sonos files as u mentioned.. causing some reloads randomly on vera lite.. then i restarted the tv and rebooted vera .. seems ok now and volume up n down works now.

I thought again about this, and my feeling (not tested) is that these service files are required only if you want to control your device in Vera scenes. If you don't want this Vera feature, you can probably forget the AVTransport and RenderingControl services with the additional condition that you probably need to update the DLNA device description to suppress the reference to these services.

Quote
settings>discover doesn't work anymore.. (i have samsung tv selected and this is only DMR it found, not sure if this makes a difference.. see it scanning and then nothing comes up) it finds player services though in player tab..

Strange as it is the same function used in the settings tab and in the player tab, used with a different searched taget (DMR vs DMS).
If DMS are found, it means the network setup of your Vera is ok, it is not the problem we encounter macfly and me.
Remember that by default the lists are not refreshed. You need to push discover to start a new discovery.

Quote
using TTS it seems to do something on tv and no error but i dont hear anything.. goes back to TV broadcast after done.
using play URI : http://mp1.somafm.com:8808 (/listen.pls)     .. does nothing and plays Bolt 3D movie rightafter.. while it was on TV broadcast
using play URI: http://192.168.1.2/THX-Dolby DTS-Ultimate Bass Test.mp3 .. nothing.. goes back to bolt 3D movie after
using play URI: 192.168.1.2/THXTest.mp3   still nothing..  after filled in duration.. nothing.. filled in volume.. sets volume, not playing

All this finally corresponds to the same test, a MP3 file through HTTP.
What messages do you have in the logs.

This is apparently the same problem as with the Sony BR player. Your Samsung TV may reject this kind of URI.
Remember that MP3 is not a mandatory format for DLNA compatibility. You might first try using a format that is mandatory for a DLNA compatibility.

Regarding your logs, error 716 for SetAVTransportURI means "The specified resource cannot be found in the network".

Something else to try is to use another DLNA control point and check if you can handle these URL. It could help to understand if it is a bad implementation on my side, or simply a reject by your renderer.


Quote
with e with ' on top of it (forum dont like the alt characters it seems) caused vera crash and reboot.. replace with e >error  ..in browser> plays mp3

Sorry, I don't understand this sentence. You mean you found a way to play MP3. What shall I change exactly ?

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #204 on: November 16, 2013, 06:01:14 am »
same here.. create scene in UI5 > all buttons not responding and cannot be chosen

What buttons ? You mean the "Add" button in front of "pick a device" in the advanced tab ?

I am using Vera firmware 1.5.622 and tried with IE 9 and Firefox.

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #205 on: November 16, 2013, 06:09:00 am »
For all users having URI compatibility issues with your Yamaha, Sony, Samsung ... renderers, please try first with another known stable DLNA Control Point (on PC or else). If it does not work with other applications, it probably means that you renderer simply rejects this kind of URI and then I am sorry but I can do nothing for you. In the reverse case, that means there is hope and we will continue to search the reason.

In a next version, I will display in the Help tab a new table showing what protocols are accepted by your DMR. It could  help us to understand ... or not !

Offline futzle

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3250
  • Karma: +189/-9
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #206 on: November 16, 2013, 06:13:35 am »

Quote
with e with ' on top of it (forum dont like the alt characters it seems) caused vera crash and reboot.. replace with e >error  ..in browser> plays mp3
Sorry, I don't understand this sentence. You mean you found a way to play MP3. What shall I change exactly ?

I think it means: putting non-ASCII characters in filenames (such as e-with-acute-accent U+E9) causes a crash. Usually this comes about when someone sends characters in Latin-1 encoding when the other end was expecting UTF-8.

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #207 on: November 16, 2013, 06:16:27 am »
Another thing is that my code still does not communicate with the connection manager of the DMR. As I understood, the normal way would be to ask the connection manager for a new AVTransport instance ... and then use this instance ID. I systematically use instance ID 0.

I doubt but maybe it could be the reason of your problems.

The missing part of the DLNA implementation will be added in a future version.

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #208 on: November 16, 2013, 06:22:44 am »

Quote
with e with ' on top of it (forum dont like the alt characters it seems) caused vera crash and reboot.. replace with e >error  ..in browser> plays mp3
Sorry, I don't understand this sentence. You mean you found a way to play MP3. What shall I change exactly ?

I think it means: putting non-ASCII characters in filenames (such as e-with-acute-accent U+E9) causes a crash. Usually this comes about when someone sends characters in Latin-1 encoding when the other end was expecting UTF-8.

I have not noticied crash of the Vera but I can confirm that few URI returned by DMS (XBMC) having characters in Latin-1 encoding are currently not working. That's something I have to understand and debug.
Strangely, I can systematically reproduce it with a certain movie file, while other music files with accents are working well...

Offline lolodomo

  • Moderator
  • Master Member
  • *****
  • Posts: 3484
  • Karma: +74/-10
Re: DLNA Media Controller plugin - Common library for UPnP AV
« Reply #209 on: November 16, 2013, 07:28:36 am »
With a file "sc?ne.mov", playback is not starting but I found no UPnP error. The URI returned by XBMC is ... /sc%25e8ne.mov

Same file content but named "scene.mov" works well. The URI returned by XBMC is .../scene.mov