<div class="gmail_quote">On Sat, Sep 18, 2010 at 4:12 AM, Jannik Sost <span dir="ltr">&lt;<a href="mailto:jannik.sost@gmail.com">jannik.sost@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
First, the problem:<br>Some recorded shows don&#39;t start to play on my WD TV Live via Upnp, although they are listed correctly. The WD device doesn&#39;t even request the recording, the DMARender on the WD TV just prints this debug message:  &quot;UpnpDispatch_MediaRenderer_AVTransport_SetAVTransportURI:2587: CurrentURIMetaDate element had too large value&quot;<br>


<br>The weird thing is, that recordings from tv-station&#39;s like ARD,ZDF,ARTE etc are playing fine (public service TV), the private channels like RTL,Pro7 etc. didn&#39;t work. The former usually have a subtitle in their EPG data, the latter don&#39;t. When MythTV builds the mediamap for the recordings tree, it sets the title to &quot;Title: Subtile&quot; OR &quot;Title: Description&quot; if no subtitle is available. The leads to the long Metadata element that the WD complains about.<br>


<br>My quick and dirty solution (I don&#39;t really know how to use diff :) ):<br>In file: mythtv-0.23.1/programs/mythbackend/upnpcdstv.cpp replace:<br>line 276:                                                                                                                               <br>


QString sName      = sTitle + &quot;: &quot; + (sSubtitle.isEmpty() ? sDescription : sSubtitle);                                            <br>with this:                                                                                                                      <br>


QString sName      = sTitle + &quot;: &quot; + (sSubtitle.isEmpty() ? &quot;&quot; : sSubtitle);<br><br>Quick and dirty because if there&#39;s no description you can&#39;t distinguish two recordings with the same title. It would be better to truncate the description to a certain length...<br>


<br>I don&#39;t know if this is a MythTV bug. Don&#39;t know if there&#39;s a limit for element length in the Upnp specification. It might also be the device&#39;s fault, but it&#39;s probably easier to make MythTv compatible.<br>
<br></blockquote><div><br></div><div>Please create a ticket on trac so I can look into this post-0.24 release.  The -users mailing list really isn&#39;t the right place for an apparent bug report :)</div><div><br></div><div>
Also, please include the UPnP&#39;s client agent string (you can find it by running the backend with -v upnp).  The whole agent string, please.  It&#39;s likely I may need to put in a specific exception.  </div><div><br></div>
<div>Also, please include the length of the description of the offending show(s), etc for debugging.</div><div><br></div><div>Thanks.</div></div>