.... so this probably shows the problem and it might be something wrong with Samsung. This is an excerpt of wiresharking.
When pushing the folder ABC:
Code: Select all
POST /upnp/control/content_directory HTTP/1.0
HOST: 192.168.0.12:5001
CONTENT-LENGTH: 668
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50 SEC_HHP_[TV]UE46D6300/1.0
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0$6$7$10$1$32</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator</Filter><StartingIndex>0</StartingIndex><RequestedCount>30</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Server: Linux-amd64-3.5.0-54-generic, UPnP/1.0, UMS/3.3.0
Content-Length: 12328
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<Result><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/"><item id="0$6$7$10$1$32$1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>Add to favorite:monitor</dc:title><res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01" size="0" bitrate="10000000">http://192.168.0.12:5001/get/0$6$7$10$1$32$1/Add+to+favorite%2Fmonitor</res><res protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_TN">http://192.168.0.12:5001/get/0$6$7$10$1$32$1/thumbnail0000Add+to+favorite%2Fmonitor</res><upnp:class>object.item.videoItem</upnp:class></item><container id="0$6$7$10$1$32$2" childCount="1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>
19:9 21.25
</dc:title><res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN">http://192.168.0.12:5001/get/0$6$7$10$1$32$2/thumbnail0000%0A19%2F9+21.25%0A</res><upnp:class>object.container.storageFolder</upnp:class></container><container id="0$6$7$10$1$32$3" childCount="1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>
19:9 19.15
and so on. This means that the folder 19:9 21.25 has been given the path 0$6$7$10$1$32$1 in the respons.
Now when pushing the folder 19:9 21.25 I get this:
Code: Select all
POST /upnp/control/content_directory HTTP/1.0
HOST: 192.168.0.12:5001
CONTENT-LENGTH: 668
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50 SEC_HHP_[TV]UE46D6300/1.0
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0$6$7$10$1$32</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator</Filter><StartingIndex>0</StartingIndex><RequestedCount>30</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Server: Linux-amd64-3.5.0-54-generic, UPnP/1.0, UMS/3.3.0
Content-Length: 12328
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<Result><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/"><item id="0$6$7$10$1$32$1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>Add to favorite:monitor</dc:title><res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01" size="0" bitrate="10000000">http://192.168.0.12:5001/get/0$6$7$10$1$32$1/Add+to+favorite%2Fmonitor</res><res protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_TN">http://192.168.0.12:5001/get/0$6$7$10$1$32$1/thumbnail0000Add+to+favorite%2Fmonitor</res><upnp:class>object.item.videoItem</upnp:class></item><container id="0$6$7$10$1$32$2" childCount="1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>
19:9 21.25
</dc:title><res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN">http://192.168.0.12:5001/get/0$6$7$10$1$32$2/thumbnail0000%0A19%2F9+21.25%0A</res><upnp:class>object.container.storageFolder</upnp:class></container><container id="0$6$7$10$1$32$3" childCount="1" parentID="0$6$7$10$1$32" restricted="true"><dc:title>
19:9 19.15
So, the TV asks for the parent folder 0$6$7$10$1$32 again instead of the pushed 0$6$7$10$1$32$1
Appearently, the TV mixes up the relations between the folders presented on the screen and their paths - but only sometimes. I cannot see that UMS is really making anything wrong.
Can you see anything in the first reponse that could confuse the TV up?
Any clue why this happens for all folders within the A-Z folder but never in the Oppet Arkivet folder? What is the difference between these???
Well, doing the same trace in Oppet Arkivet folder I can see that there seems to be a "carrige return" ending the title of the last folder when going into A-Z, but there is no corresponding "carriage return" ending the title of the last folder when going into Oppet Arkivet!
Did you rembember that you made a patch for me for exchanging "/" with a ":" in a title? Now I suspect Samsung has the same problem with <CR> but this meta character might not be possible to replace with the patch you introduced (since it will become a line separator in the config file).
Who is the one putting the <CR> there? Is it already at the SVT home page or is it Channels that put it there?
Regards
Pen
A very confused Pen