Hi,<br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 5:10 PM, john <span dir="ltr">&lt;<a href="mailto:newsgrp1@bestpond.com" target="_blank">newsgrp1@bestpond.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 14/11/12 00:29, Ken Mandelberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Has anyone got mythtv to work with Samsung Allshare, the built in DLNA client on Samsung TV&#39;s? My TV see&#39;s the mythtv server but then bombs after I select it.<br>
<br></blockquote></div></blockquote><div><br></div><div>See the page here: <a href="http://www.mythtv.org/wiki/Category:UPnP_Clients">http://www.mythtv.org/wiki/Category:UPnP_Clients</a> and feel free to update with new info.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></div>
I recently bought a Samsung 32&quot; TV (Model UA32ES5500MYXY Series 5) for the bedroom I have it wall mounted and it is connected to my lan via ethernet ( I wasn&#39;t prepared to fiddle with another wireless point). I eventually got the network running. It got as far as seeing the mythtv backend which runs upnp, and tries to connect, then bombs...as you say.<br>

<br>
I tried setting up minidlna which is recommended by a lot of people, and managed to connect OK.  But no myth menus or nice program names! I simply had a list of files, so if I proceeded it was pot luck what was going to be seen, especially as I have several hundred recordings across two backends and the main frontend in the lounge room.<br>

<br></blockquote><div><br></div><div>As you mention later in the email the &#39;pretty names&#39; can be achieved by running mythlink to generate the folders and names, all organized the way you like them.  You can use a folder like ~/miniDLNA/ as the base path for mythlink and share that base path with the miniDLNA.conf file.  I&#39;ve even seen a email here by someone that was runnnig mythlink multiple times to create a different (parrallel) structure for different ways of organizing recordings.  The names are populated by any of the --format options listed on the wiki page (paseted in below for reference) and you can use path seperators, &#39;/&#39; in linux, to create folders.  </div>
<div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I set about attempting to get the program names showing, and used the mythlink script. I just used a suggested set of options I found on this list (I think) which put the series title first and then ordered the episodes. That seemed to work at first, but then while I had a list of all the titles as I went to select the episode, in the majority of cases it listed the file name date &amp; time only, with the occasional one having an episode title.<br>
</blockquote><div><br></div><div>If you post the format that you specified we may can help.  If some of the recordings show a title, but others don&#39;t then that probably indicates that you have missing titles in the metadata.  </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Next discovery was as I scrolled (or tapped down the list) I found that after the titles with &quot;Z&quot; I still had showing a huge list of the files names again. Probably from the earlier attempt. So I have to sort out how to get rid of those files appearing. I have since discovered that the fast forward, and rewind buttons on my Samsung remote will do page up &amp; page down through the title listing, so I don&#39;t have to click down line by line.<br>
</blockquote><div><br></div><div>Sounds like either you have run mythlink multiple times with a different destination directory, or you have miniDLNA serving up two different folders. I&#39;ve had great success with miniDLNA and mythlink and would be glad to help.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I had also read of serviio, which seemed a bit more complex than minidlna, so am still considering if it is worth a try.<br>
<br>
To get the TV working  to stream MythTV with AllShare, it seems that you need to use a separate dlna server, and then the mythlink script, I am yet to discover the magic of getting that right to display Series Title, then episode title, also I couldn&#39;t seem to get any program information either.<br>

<br></blockquote><div><br></div><div>I also do not know how to get the miniDLNA server to share out any metadata.  Since the myth&#39;s metadata is in the database, you would have to extract that information somehow, and associate it with the recording.  mythlink will embed info in the filename, but I don&#39;t know how one would send the metadata otherwise.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I do not have the dlna server working as well as I would like, and perhaps I should try serviio instead of minidlna.<br>
<br></blockquote><div><br></div><div>Well, I don&#39;t know about serviio, but the best option is 1) mythFronted, 2) frontend client that recoginizes myth backend, 3) mythlink and a separate dlna server.  If you want help with miniDLNA and mythlink, then post back with more info.  I would suggest as a separate thread</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Unfortunately, from what I have seen there may also be a bit of variation with AllShare depending on the TV model or series.<br>
<br>
I am fully aware that to get this working &quot;perfectly&quot; i just need to add a frontend, but in my case that is not presently possible. So it would be helpfull to hear from others who have got the upnp/dlna solution working well with a separate dlna server and perhaps some additional ideas on using mythlink or other scripts to give a reasonable menu type display of recording/music/video choices.<br>

<br></blockquote><div><h2 style="background-image:none;background-color:rgb(255,255,255);font-weight:normal;margin:0px 0px 0.6em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(170,170,170);width:auto;font-size:19.16666603088379px;font-family:sans-serif;line-height:19.194442749023438px">
<span class="mw-headline" id="Examples">Examples</span></h2><pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px">
<a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%T/%T%-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[title]/[title]-[subtitle]</code></p>
<pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px"><a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%Y%m%d-%H%i-%eH%ei-%T-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[startdate]-[starttime]-[endtime]-[title]-[subtitle]</code></p>
<pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px"><a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%T/%Y%m%d-%H%i-%eH%ei-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[title]/[startdate]-[starttime]-[endtime]-[subtitle]</code></p>
<pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px"><a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%U-%T-%Y%m%d-%H%i-%eH%ei-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[recgroup]-[title]-[startdate]-[starttime]-[endtime]-[subtitle]</code></p>
<pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px"><a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%C-%T-%Y%m%d-%H%i-%eH%ei-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[category]-[title]-[startdate]-[starttime]-[endtime]-[subtitle]</code></p>
<pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px"><a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%T-%oY%om%od-%S&#39;
</pre><p style="margin:0.4em 0px 0.5em;line-height:19.194442749023438px;font-family:sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">creates links using the format <code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">[title]-[original airdate]-[subtitle]</code></p>
</div><div><code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)"><br></code></div><div><code style="font-family:monospace,&#39;Courier New&#39;;background-color:rgb(249,249,249)">The above was pasted in from the wiki page: <a href="http://www.mythtv.org/wiki/Mythlink.pl">http://www.mythtv.org/wiki/Mythlink.pl</a></code></div>
<div>As I said above, you can also a the / in your --format string to create a folder structure.</div><div>try:</div><div><pre style="font-family:monospace,&#39;Courier New&#39;;padding:1em;border:1px dashed rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.3em;font-size:12.499999046325684px">
<a href="http://mythlink.pl">mythlink.pl</a> --link /mnt/pretty --format &#39;%U/%T/<span style="font-size:12.499999046325684px;line-height:1.3em">%T-%oY%om%od-%S</span><span style="font-size:12.499999046325684px;line-height:1.3em">&#39;</span></pre>
</div><div>This should give you the format:</div><div>/mnt/pretty/[your recording group]/[program title]/[Program title]-[Original Airdate]-[subtitle]</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Regards,<br>
John<div class="im HOEnZb"><br>
<br></div></blockquote><div>Good luck.</div><div><br></div><div>Jeremy</div><div><br></div><div><br></div></div>