LinHES Forums http://forum.linhes.org/ |
|
Playing music/video files from network server http://forum.linhes.org/viewtopic.php?f=11&t=3802 |
Page 1 of 1 |
Author: | JGShinn [ Sat Mar 05, 2005 2:06 pm ] |
Post subject: | Playing music/video files from network server |
Hi, I searched a bit for this and couldn't find anything on it. I just setup a network file server running redhat. I setup samba on it so from my windows pc I can type //192.168.1.8/music/ and be in the folder with all my music. Now what i'd like to do is beable to have the mythtv look in that folder for music when I do scan for new music. I'd also like to do the same thing with video. However if it could look in both the /myth/video and the //192.168.1.8/video folders for files that would be preferable. Is there a file to edit somewhere to add this in? I tried going under setup and chaning the "folder to look for music" but it didn't find anything. Thanks, Jon |
Author: | davem [ Sat Mar 05, 2005 2:36 pm ] |
Post subject: | |
I'd export the directories with nfs on the server machine, then mount them from the knoppmyth box. You could do line cesmans linhes boxen and mount the under mnt, then make a link to the dir's under /myth/music and /myth/video. Or you could just mount them straight away under the /myth/music and /myth/video dirs. |
Author: | JGShinn [ Sun Mar 06, 2005 12:43 pm ] |
Post subject: | |
Okay I'm kinda new to linux... so if i wanted to mount //192.168.1.8/music to /myth/music what would the syntax be. mnt //192.168.1.8/music /myth/music ? And how would I export the directory with nfs. Thanks Jon |
Author: | Xsecrets [ Sun Mar 06, 2005 1:14 pm ] |
Post subject: | |
search for nfs and samba over on the wiki there are pretty good instructions on both, and by the way they are two completely separate things. something exported with nfs can't be mounted with samba and vice versa. basically samba=windows sharing nfs=unix sharing. |
Author: | JGShinn [ Sun Mar 06, 2005 5:15 pm ] |
Post subject: | |
okay i read the wiki about Storing Music on the Hard Drive of a Windows PC: I figgured since the folder was already being shared with samba from a linux pc that would be the same steps as from a windows pc. The only thing I had a problem with was step 7. On your MythTV box log in as root, and use your favorite editor (nano, vi, emacs, xedit, whatever) to open your /etc/fstab fil, and add the line: //windows-server-name/shared-folder-name /linux/mount/point smbfs username=xp_username,password=xp_password 0 0 So i added that line...but then I realized the // are the wrong way for windows file shares...they should go the other way. So i tried it both ways but when i do the next step of mount /myth/music it gives me this error. root@mythtv:~ # mount /myth/music 2683: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed any ideas? Thanks, Jon |
Author: | Xsecrets [ Sun Mar 06, 2005 5:42 pm ] |
Post subject: | |
I know the slashes are in the opposite direction than you are used to in windows, but I assure you it is / not \ in Unix \ means treat the next character as a normal character (mostly used for spaces). |
Author: | JGShinn [ Sun Mar 06, 2005 6:53 pm ] |
Post subject: | |
strange it still says the same error 2915: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed I'll try again in a bit. |
Author: | Xsecrets [ Sun Mar 06, 2005 10:19 pm ] |
Post subject: | |
and you're sure you got the share name right? have you tried acessing that share from another windows box? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |