View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Just setting it up....
PostPosted: Tue Jan 24, 2006 7:35 pm 
Offline
Joined: Wed Jan 18, 2006 11:24 am
Posts: 3
Hey everyone, i've nearly finished installing knoppmyth backend and am trying to setup the media library. There is obviously the setting to specify the folder which contains the videos locally, but what do i do to map remote folders (on other windows machines on the network) as video folders? Can i somehow mount these as shortcuts within the local video folder and they will show up within the media library as folders? I apologise as i think this is a really stupid question, but i am seriously seriously unproficient in linux and don't really know how it works or how to get it to do things yet! I would really appreciate an iditots guide as to how i would go about doing this from the settings screen where the option to select the video directory is?

Thank you so much for your help in advance, i'm sorry if i'm being really thick!

Dave


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 7:59 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
See the Samba writeup in the WiKi
you will do something like this, in /etc/fstab

smbmount //xpserver/share/videos/whatever /home/mythtv/videos/xpserver smbfs username=you,password=1234


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:47 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
My suggestion is like thornsoft said use the Samba howto from the WIKI to get an idea how samba works. The only change I would suggest is use autofs howto to mount the windows shares rather than fstab file. Given the stabality of Windows shares can disconnect when Windows crashes and autofs works to keep connection alive. Autofs is more complex to use but only have to set it up once. The other thing that has worked well for me is mounting the shares in standard locations and creating symlinks to respective directory in /myth/video, that way can use exisitng HDD storage + network storage. I also find it helpful to use folder view in MythVideo (M key).

Samba client and server setup
http://www.knoppmythwiki.org/index.php? ... +and+samba

Here are the commands I used to get this setup (replace variables). To get into console ALT+CTRL+F1. ^ end of a single line command.

Code:
/etc/init.d/samba start
^
update-rc.d samba defaults
^
echo “/mnt/network /etc/auto.samba.mnt --timeout=2 -–ghost” >>/etc/auto.master
^
echo “%servername-share% -fstype=smbfs,credentials=/home/mythtv/.smbpassword ://%windows-server-name%/%shared-folder-name%” >>/etc/auto.samba.mnt
^
echo username=%username% >> /home/mythtv/.smbpassword
^
echo password=%password% >> /home/mythtv/.smbpassword
^
/etc/init.d/autofs stop
^
/etc/init.d/autofs start
^
ln –s /myth/gallery/%servername-share% /mnt/network/%servername-share%/pics
^
ln –s /myth/music/%servername-share% /mnt/network/%servername-share%/audio
^
ln –s /myth/video/%servername-share% /mnt/network/%servername-share%/videos
^
echo cache=2048 >> /home/mythtv/.mplayer/config


above taken from this post...
http://mysettopbox.tv/phpBB2/viewtopic.php?t=7732


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 11:10 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Guys, this is a post install question in the installation forum. It will most likely go the way of all flesh before long. I'd recommend you don't waste time with elaborate answers...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu