View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 11, 2006 7:05 pm 
Offline
Joined: Wed Dec 14, 2005 8:26 pm
Posts: 84
Location: Northeast, USA
Hi All,

I have searched the forum and haven't quite found the answer to the question.

I have successfully setup a KnoppMyth box. I am interested in storing all of my music on the KnoppMyth box and playing it from a workstation that is on the same LAN.

What is the best way to go about doing this?

(1) Run the KnoppMyth Frontend CD on the workstation?

This will work straightaway; however, it requires a reboot. My spouse won't go for this option. Isn't there something simpler?

(2) Install KnoppMyth Frontend on the workstation?

Thought of this; however, I am reluctant to install the frontend at the moment. What holds me back is that I use Ubuntu (Breezy) on our workstations. The easiest way to install MythTV frontend is from the Ubuntu repository. Unfortunately, I don't think the MythTV version in the Ubuntu repository (0.18 ) is the same as the KnoppMyth version (RA16). I do prefer to install things from the repository than manually. Isn't there another option?

(3) Use a media player client installed on the workstation.

I tried this option. I couldn't get Ubuntu to mount the music directory on the KnoppMyth box using NFS; however, I could mount it using SAMBA. I mounted the KnoppMyth music directory using the 'Connect to Server' utility in Gnome. Unfortunately, neither RhythmBox nor Mplayer that are installed on the workstation can see the shared directory that appears on the Ubuntu/Gnome desktop.

Is there any other option?

Can any of the issues I am experiencing with the above options be resolved?

Any comment or suggestion will be greatly appreciated.

Dr. Hood

*****************
This has been solved... See post below....


Last edited by Dr. Hood on Sun Jan 15, 2006 10:49 am, edited 3 times in total.


Top
 Profile  
 
 Post subject: Try Zina
PostPosted: Thu Jan 12, 2006 6:35 am 
Offline
Joined: Fri Jun 11, 2004 6:39 am
Posts: 20
Location: Zurich, Switzerland
http://sourceforge.net/projects/zina/

With a bit of tweaking you manage to get it to stream your mp3s to any client, i.e. WinAmp or similar.
Had it working once, but after that last upgrade I didn't bother installing it again.

_________________
Shuttle SN41G2V2
AMD Athlon XP-3000+
Lite-On 832S IDE, +/-R
200 GB Western Digital
Hauppauge PVR-350
Xbox Frontend


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 9:21 am 
Offline
Joined: Mon Aug 01, 2005 9:54 pm
Posts: 77
have you installed nfs-common?

what is your /etc/fstab?

what's in your /etc/exports?

have you looked at amorak from kubuntu?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 1:01 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
You found the NFS Howto on WIKI ?

http://www.knoppmythwiki.org/index.php?page=NFSHowTo


Top
 Profile  
 
PostPosted: Thu Jan 12, 2006 9:29 pm 
Offline
Joined: Sat Jan 07, 2006 1:27 pm
Posts: 19
Dr. Hood wrote:
(3) Use a media player client installed on the workstation.

I tried this option. I couldn't get Ubuntu to mount the music directory on the KnoppMyth box using NFS; however, I could mount it using SAMBA. I mounted the KnoppMyth music directory using the 'Connect to Server' utility in Gnome. Unfortunately, neither RhythmBox nor Mplayer that are installed on the workstation can see the shared directory that appears on the Ubuntu/Gnome desktop.

This should work just fine if you manually mount it somewhere obvious. If you are sure the network share (on the Myth box) will be up whenever you start up Ubuntu, you should just include a line in the /etc/fstab file that mounts the share to a directory somewhere. For example, create a directory called /media/music then add something like:
Code:
//music_server/shared_dir        /media/music  smbfs    defaults       0       0

where music_server is the name or IP of your Myth box, and shared_dir is the shared folder name. Then you should be able to access the folder in Ubuntu just by looking in that directory (/media/music). If you just want to mount it whenever you need it use:
mount //music_server/shared_dir /media/music
(works for me anyway, you may want to be more explicit.)

oblib


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 11:11 pm 
Offline
Joined: Wed Dec 14, 2005 8:26 pm
Posts: 84
Location: Northeast, USA
MrFahrenheit wrote:
have you installed nfs-common?

what is your /etc/fstab?

what's in your /etc/exports?

have you looked at amorak from kubuntu?


Thank you for replying...

I did not create an exports file on the mythtv box.

What should this file contain?

Dr. Hood


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 11:34 pm 
Offline
Joined: Wed Dec 14, 2005 8:26 pm
Posts: 84
Location: Northeast, USA
Almost there, but need more help!!!!

Summary: I got the directory shared and mounted using NFS and accessible from a workstation. Although the music sounds terrible using RhytmBox, XMMS works great!

Thank you all for posting replies. Your replies encouraged me to not give up.

***************************
After thinking about it, I decided to pursue the NFS option and fstab.

I got it to work by doing the following:

(1) Sitting at my linux (Ubuntu) workstation, I launched a terminal and typed the following command

Quote:
ssh -l root mythtvipaddress /etc/init.d/nfs-common start


Note: I was prompted for the admin password of the mythtv box.

(2) I then issued the next command

Quote:
ssh -l root mythtvipaddress /etc/init.d/nfs-kernel-server start

The following output appeared

Quote:
Exporting direcories for NFS kernel daemon...
exportfs: No host name given with /myth/music (rw), suggest *(rw) to avoid warning
exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export ":/myth/music".
Assuming default behavior ('sync')
Note: this default has changed from previous versions
done.

The output above told me that /myth/music is the shared directory on the mythtv box.

(3) I created a new directory on my local workstation to mount the shared directory

Quote:
sudo mkdir /mnt/mythmusic

Note: I was prompted for a password

(4) I then mounted the shared directory on the mythtv box (/myth/music) to the local direcotry (/mnt/mythmusic)

Quote:
sudo mount mythtvboxipaddress:/myth/music /mnt/mythmusic

(5) I then launched the music player (XMMS) and directed it to import music list from /mnt/mythmusic directory.

Note: For some reason the music sounds garbled when using RhythmBox. It is quite terrible and unusable. The music in XMMS is great.

Dr. Hood


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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