<br><br><div><span class="gmail_quote">On 5/12/06, <b class="gmail_sendername">Xamindar</b> <<a href="mailto:junkxamindar@gmail.com">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;">
Cole Brodine wrote:<br>> I use the same method that you do to mount external files with Samba.<br>> Daniel is right, you just need to change your mythvideo settings to<br>> enable "Video List Browses Files". That's what I did and it works
<br>> great. If you don't have this enabled then you have to scan for new<br>> files everytime before you run Mythtvideo.<br>><br>> On 5/11/06, *Chris Henderson* <<a href="mailto:jchendo@gmail.com">jchendo@gmail.com
</a><br>> <mailto:<a href="mailto:jchendo@gmail.com">jchendo@gmail.com</a>>> wrote:<br>><br>><br>><br>> On 5/11/06, *Xamindar* < <a href="mailto:junkxamindar@gmail.com">junkxamindar@gmail.com
</a><br>> <mailto:<a href="mailto:junkxamindar@gmail.com">junkxamindar@gmail.com</a>>> wrote:<br>><br>> First of all has anyone done this?<br>><br>> What I am going to try to do is have a cron job that will
<br>> check to see<br>> if my desktop is up and then mount the video directory of my<br>> desktop<br>> onto my mythtv box. Then hopefully add a menu option to browse<br>> that
<br>> folder and launch a program like xine or mplayer with the<br>> 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)
<br>> 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<br>> share to<br>> be mounted
<br>> COMPUTER=<a href="http://192.168.2.22">192.168.2.22</a> <<a href="http://192.168.2.22">http://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<br>> list of the<br>> folder's contents and allow me to select files to by
<br>> played. I tried<br>> using myth video but it doesn't show any files to be<br>> played. Also, it<br>> would be useful if I could select a bunch of files and have it<br>> 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>> _<br>><br>><br>> Hi,
<br>><br>> Sorry i can t help you with this in the slightest, but you might<br>> have helped me figure out a wayto copy new recordings to my main<br>> machine or my laptop so i can watch thenon the trian into work.
<br>><br>> thanks<br>><br>> CH<br>><br>> _______________________________________________<br>> mythtv-users mailing list<br>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org
</a> <mailto:<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>><br>><br>><br>><br>><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> <<a href="http://www.brodine.com/">http://www.brodine.com/</a>><br>> Yahoo Messenger: brodinec<br>> ICQ: 5857320<br>> Skype: cbrodine<br>> -------------------------------------------
<br>> ------------------------------------------------------------------------<br>><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>><br>I think that worked guys, thanks. It lists all files, even if they are
<br>not video files. 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. 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>-------------------------------------------