LinHES Forums http://forum.linhes.org/ |
|
What is the best way to share music across LAN? - SOLVED http://forum.linhes.org/viewtopic.php?f=6&t=7831 |
Page 1 of 1 |
Author: | Dr. Hood [ Wed Jan 11, 2006 7:05 pm ] |
Post subject: | What is the best way to share music across LAN? - SOLVED |
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.... |
Author: | LaGaffe [ Thu Jan 12, 2006 6:35 am ] |
Post subject: | Try Zina |
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. |
Author: | MrFahrenheit [ Thu Jan 12, 2006 9:21 am ] |
Post subject: | |
have you installed nfs-common? what is your /etc/fstab? what's in your /etc/exports? have you looked at amorak from kubuntu? |
Author: | spalVl [ Thu Jan 12, 2006 1:01 pm ] |
Post subject: | |
You found the NFS Howto on WIKI ? http://www.knoppmythwiki.org/index.php?page=NFSHowTo |
Author: | oblib [ Thu Jan 12, 2006 9:29 pm ] |
Post subject: | Re: What is the best way to share music across LAN? |
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 |
Author: | Dr. Hood [ Thu Jan 12, 2006 11:11 pm ] |
Post subject: | |
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 |
Author: | Dr. Hood [ Thu Jan 12, 2006 11:34 pm ] |
Post subject: | |
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 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |