archienz / universal-media-server

Automatically exported from code.google.com/p/universal-media-server
GNU General Public License v2.0
0 stars 0 forks source link

Folder title containing "/" crashes TV media browser #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Applies to:
-----------

Samsung Smart TV sets (verified on D and E series)
Online media only (since stored media cannot have "/" in folder names)

What steps will reproduce the problem?
--------------------------------------

Using the Channels plugin and SVT for online media:
In the subtree of SVTPlay/A-Z, choose any directory D that contains a 
subdirectory D1 with a title containing the letter "/", then enter D1 and then 
enter the parent directory D again (without selecting any media). 

Note: This is just an example. There is no dependence to the Channels plugin or 
to SVT. The "Report" or "ABC" are examples of failing directories D

What is the expected output? What do you see instead?
-----------------------------------------------------

Actual: The TV presents "no media available on server" (dependent on language 
and series) and can only recover by reselecting the source (UMS).

Wanted: The TV presents the parent folder

What version of the product are you using? On what operating system?
---------------------------------------------------------------------

My setup:
Ubuntu 12.04
UMS 2.6.5
Channels 2.20
FFmpeg 0.10.7
Renderer Samsung D and E series

Please provide any additional information below.
------------------------------------------------

Attached is a network trace of the SOAP request/response for the parent folder. 
Note that in the reproduction use case, folder D is attempted to be entered 
twice. Going forward the path succeeds and returning back fails. However, the 
SOAP request/response is the same.

This is the critical part:

<container id="0$3$10$10$18$4$4" childCount="1" parentID="0$3$10$10$18$4" 
restricted="true">
    <dc:title> Rapport - 19/9 19.30 - textat
    </dc:title>
    <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN">http://192.168.0.12:5002/get/0$3$10$10$18$4$4/thumbnail0000Rapport+-+19%2F9+19.30+-+textat
    </res>
    <upnp:class>object.container.storageFolder
    </upnp:class>
</container>

The TV fails the second time whenever the <dc:title> value contains the "/" 
letter.

According to the DLNA standard the "/" should be allowed but Samsung seems to 
be non compliant.

Suggestion: Replace any "/" in a <dc:title> value to something acceptable for 
both Samsung owners and owners of other TV brands.

Motivation: Samsung would be reluctant to accept a trouble ticket due to too 
few online media users and those they rather want to use their proprietary apps 
instead giving them much more revenue. Samsung has a 25% market share for TV 
sets, meaning a work around would also help the corresponding share of UMS 
users.

More info

http://www.universalmediaserver.com/forum/viewtopic.php?f=6&t=78&start=180#p7001
http://www.universalmediaserver.com/forum/viewtopic.php?f=6&t=78&start=180#p7096

Original issue reported on code.google.com by papikl...@gmail.com on 5 Oct 2013 at 8:48

Attachments:

GoogleCodeExporter commented 9 years ago
Well, applies to should be "webmedia only" rather than "online media only" 
perhaps.

Original comment by papikl...@gmail.com on 5 Oct 2013 at 10:49

GoogleCodeExporter commented 9 years ago
We are switching over to GitHub for our issue tracking.
Future updates to this issue will be at the following link:
https://github.com/UniversalMediaServer/UniversalMediaServer/issues/189

Original comment by subjunk on 26 Nov 2013 at 3:27