<br><br><div><span class="gmail_quote">On 5/12/06, <b class="gmail_sendername">Xamindar</b> &lt;<a href="mailto:junkxamindar@gmail.com">junkxamindar@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cole Brodine wrote:<br>&gt; I use the same method that you do to mount external files with Samba.<br>&gt; Daniel is right, you just need to change your mythvideo settings to<br>&gt; enable &quot;Video List Browses Files&quot;.&nbsp;&nbsp;That's what I did and it works
<br>&gt; great.&nbsp;&nbsp;If you don't have this enabled then you have to scan for new<br>&gt; files everytime before you run Mythtvideo.<br>&gt;<br>&gt; On 5/11/06, *Chris Henderson* &lt;<a href="mailto:jchendo@gmail.com">jchendo@gmail.com
</a><br>&gt; &lt;mailto:<a href="mailto:jchendo@gmail.com">jchendo@gmail.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On 5/11/06, *Xamindar* &lt; <a href="mailto:junkxamindar@gmail.com">junkxamindar@gmail.com
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:junkxamindar@gmail.com">junkxamindar@gmail.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; First of all has anyone done this?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What I am going to try to do is have a cron job that will
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check to see<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if my desktop is up and then mount the video directory of my<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; desktop<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onto my mythtv box. Then hopefully add a menu option to browse<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; folder and launch a program like xine or mplayer with the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files. It will<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also have to check every minute or so and unmount the share if my<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; desktop goes down.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I already made the script and it works pretty good:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #!/bin/bash<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ## Set these variables for your system<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #STORAGE should be set to where you localy (on mythtv box)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mount your<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; samba share<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STORAGE=/mnt/video/external_videos<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # set this one to the ip or hostname of the computer with the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; share to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be mounted
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMPUTER=<a href="http://192.168.2.22">192.168.2.22</a> &lt;<a href="http://192.168.2.22">http://192.168.2.22</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Your samba share<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SHARE=//192.168.2.22/storage<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #########Do not modify the following##########
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Set variables<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOUNTED=`mount | grep -c -m 1 $STORAGE`<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP=`ping -c1 $COMPUTER | grep &quot;[0-9] received&quot; | awk '{print $4}'`<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Thanks Seth ;)
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Check if the machine is up AND not mounted, then mount the share<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ &quot;$UP&quot; == &quot;1&quot; ] &amp;&amp; [ &quot;$MOUNTED&quot; == &quot;0&quot; ]; then<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smbmount $SHARE $STORAGE -o guest
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Check if the machine is down AND mounted, then unmount the share<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ &quot;$UP&quot; == &quot;0&quot; ] &amp;&amp; [ &quot;$MOUNTED&quot; == &quot;1&quot; ]; then
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; umount -l $STORAGE<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Now I just need to figure out a way to have mythtv display a<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; list of the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; folder's contents and allow me to select files to by
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; played.&nbsp;&nbsp;I tried<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using myth video but it doesn't show any files to be<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; played.&nbsp;&nbsp;Also, it<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; would be useful if I could select a bunch of files and have it<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; play them
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all one after the other for example in a playlist.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any ideas of what I can add to my mythtv menus?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hi,
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Sorry i can t help you with this in the slightest, but you might<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; have helped me figure out a wayto copy new recordings to my main<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; machine or my laptop so i can watch thenon the trian into work.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; thanks<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; CH<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; mythtv-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org
</a> &lt;mailto:<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; 1422 13th Ave<br>&gt; Kearney NE 68845-6568<br>&gt; (308) 224-1103 (Cellular)<br>&gt; -------------------------------------------<br>&gt; Visit My Website at 
<a href="http://www.brodine.com/">http://www.brodine.com/</a> &lt;<a href="http://www.brodine.com/">http://www.brodine.com/</a>&gt;<br>&gt; Yahoo Messenger: brodinec<br>&gt; ICQ: 5857320<br>&gt; Skype: cbrodine<br>&gt; -------------------------------------------
<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>I think that worked guys, thanks.&nbsp;&nbsp;It lists all files, even if they are
<br>not video files.&nbsp;&nbsp;Is it supposed to do that?<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>Mine does that as well.&nbsp; I'm not sure if there's a way to change that or not, but I just moved my non-video files to a different directory or deleted them.
<br clear="all"><br>-- <br>1422 13th Ave<br>Kearney NE 68845-6568<br>(308) 224-1103 (Cellular)<br>-------------------------------------------<br>Visit My Website at <a href="http://www.brodine.com/">http://www.brodine.com/
</a><br>Yahoo Messenger: brodinec<br>ICQ: 5857320<br>Skype: cbrodine<br>-------------------------------------------