I use the same method that you do to mount external files with Samba. Daniel is right, you just need to change your mythvideo settings to enable "Video List Browses Files". That's what I did and it works great. If you don't have this enabled then you have to scan for new files everytime before you run Mythtvideo.
<br><br><div><span class="gmail_quote">On 5/11/06, <b class="gmail_sendername">Chris Henderson</b> <<a href="mailto:jchendo@gmail.com">jchendo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_10b21d58b39fd18e_0"><br><br><div><span class="gmail_quote">On 5/11/06, <b class="gmail_sendername">Xamindar</b> <<a href="mailto:junkxamindar@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
junkxamindar@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
First of all has anyone done this?<br><br>What I am going to try to do is have a cron job that will check to see<br>if my desktop is up and then mount the video directory of my desktop<br>onto my mythtv box. Then hopefully add a menu option to browse that
<br>folder and launch a program like xine or mplayer with the files. It will<br>also have to check every minute or so and unmount the share if my<br>desktop goes down.<br><br>I already made the script and it works pretty good:
<br><br>#!/bin/bash<br><br>## Set these variables for your system<br>#STORAGE should be set to where you localy (on mythtv box) mount your<br>samba share<br>STORAGE=/mnt/video/external_videos<br># set this one to the ip or hostname of the computer with the share to
<br>be mounted<br>COMPUTER=<a href="http://192.168.2.22" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.22</a><br># Your samba share<br>SHARE=//192.168.2.22/storage<br>#########Do not modify the following##########
<br><br># Set variables<br>MOUNTED=`mount | grep -c -m 1 $STORAGE`
<br>UP=`ping -c1 $COMPUTER | grep "[0-9] received" | awk '{print $4}'`<br>#Thanks Seth ;)<br><br># Check if the machine is up AND not mounted, then mount the share<br><br>if [ "$UP" == "1" ] && [ "$MOUNTED" == "0" ]; then
<br> smbmount $SHARE $STORAGE -o guest<br>fi<br><br># Check if the machine is down AND mounted, then unmount the share<br><br>if [ "$UP" == "0" ] && [ "$MOUNTED" == "1" ]; then
<br> umount -l $STORAGE<br>fi<br><br><br>Now I just need to figure out a way to have mythtv display a list of the<br>folder's contents and allow me to select files to by played. I tried<br>using myth video but it doesn't show any files to be played. Also, it
<br>would be useful if I could select a bunch of files and have it play them<br>all one after the other for example in a playlist.<br><br>Any ideas of what I can add to my mythtv menus?<br><br>Thanks.<br>_</blockquote><div>
<br></div></div></span></div><div>Hi, <br><br>Sorry i can t help you with this in the slightest, but you might have helped me figure out a wayto copy new recordings to my main machine or my laptop so i can watch thenon the trian into work.
<br><br>thanks<br></div><div><span class="sg"><br>CH<br>
</span></div><br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br></blockquote>
</div><br><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>-------------------------------------------