LinHES Forums http://forums.linhes.org/ |
|
Just setting it up.... http://forums.linhes.org/viewtopic.php?f=1&t=8081 |
Page 1 of 1 |
Author: | deshg [ Tue Jan 24, 2006 7:35 pm ] |
Post subject: | Just setting it up.... |
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 |
Author: | thornsoft [ Tue Jan 24, 2006 7:59 pm ] |
Post subject: | |
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 |
Author: | spalVl [ Tue Jan 24, 2006 10:47 pm ] |
Post subject: | |
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 |
Author: | tjc [ Tue Jan 24, 2006 11:10 pm ] |
Post subject: | |
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... |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |