ACTPOHABT wrote:Hello there!
I'm trying to add folder that is located on my second pc running windows 7 to Subsonic's "Music folders" tab under Ubuntu 11.04. It shows mounted in Nautilus as
smb://my-pc/users/USERNAME/Music. Does anyone know what the correct path would be when I add it in Subsonic "Music folders" menu in web browser? Thank you!
Ok, so good news. I was initially presented with a credentials screen, so I entered them in. I was able to see shares on my windows 7 pc including the specific folder that I shared. That being said, you can do this easily.
1. You need to make sure the network share is mounted in ubuntu on startup if you want to have access all the time to this music folder in subsonic.
2. Once you have this network share mount point, then you can point subsonic to the share.
I think what you are trying to do is tell subsonic the network share name. That could be your problem.
In your /etc/fstab, at the bottom, add the following line in the exact format as this:
- Code: Select all
//win-pc/folder that is shared /media/music cifs username=server_user,password=server_password,uid=1000,gid=users 0 0
So you are telling ubuntu to mount win-pc/musicfolder to /media/music using cifs (samba). I found that line regarding the username on forums that allows you to mount it with no user/pass.
When you have saved your /etc/fstab, don't forget to create the /media/music folder.
- Code: Select all
# mkdir /media/music
# chown yourusername:yourusername /media/music (this changes the owner of the folder to you, instead of root)
Now that that line is in fstab, it will mount it at boot time. You can manually mount it with the following:
- Code: Select all
# mount /media/music
Once that is mounted, in Subsonic, point your music folder to /media/music
NOTE: sudo works as well, i.e. sudo mount /media/music if you are not root.
Hope this helps. If you need any further info, please send me a pm.
Aethies