View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 05, 2005 2:06 pm 
Offline
Joined: Wed Oct 27, 2004 12:12 am
Posts: 74
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 05, 2005 2:36 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 12:43 pm 
Offline
Joined: Wed Oct 27, 2004 12:12 am
Posts: 74
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 1:14 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 5:15 pm 
Offline
Joined: Wed Oct 27, 2004 12:12 am
Posts: 74
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 5:42 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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).

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 6:53 pm 
Offline
Joined: Wed Oct 27, 2004 12:12 am
Posts: 74
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 06, 2005 10:19 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
and you're sure you got the share name right? have you tried acessing that share from another windows box?

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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