Scan for media using a samba connection not working
I just loaded Songbird 0.6 on an Ubuntu system and went to 'scan for media' to build a library. All of my music files are on a separate XP system on my home network. I can browse to the mp3s via samba but Songbird will not load them into the library, what gives? Rythymbox seems to have no problem with this, is there an add-on I'm missing for network media or something?
9
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company .
-
Inappropriate?What Ubuntu distro/version is that?
Are you running on 8.04 Hardy? -
Yes, 8.04 Hardy Heron. -
Inappropriate?I thought so...:)
That's a known issue with Ubuntu 8.04 Hardy (It's a GVFS-SMB bug).
On 8.04 no windows share (samba) authentication possible.
You will have to mount your Windows share or do some changes in smb.conf
Here is the link to ubuntuforums.org regsrding this issue:
http://ubuntuforums.org/showthread.ph...
1 person says
this answers the question
-
Thanks for the reply but if this is an ubuntu bug why can Rythymbox poke the music files and build a library using samba without a problem? -
Inappropriate?Boris,
actually, I'm also running 8.04 hardy, but when I download 0.5 I have no problems scanning for media or playing remote samba shares. .6 gives me nothing but grief.
What's the difference between .5 and .6 when it comes to samba?
I’m confused.
-
Inappropriate?Just downloaded the 1.0 rc nightly on to Ubuntu 8.10. Tried to import from smb://192.168.0.100/music/ by typing in the address.
The error message I get is: Error stating file '/home/wayne/Desktop/Songbird/smb:/192.168.0.100': No such file or directory
Also of interest (and I don't know the proper terms to say this better) is that once I open the network share through Network or "Connect to Server" under the Places menu, "music on 192.168.0.100" appears under the Places menu itself. But that entry will not show up under the Import Media window.
With Rhythmbox when going through Music -> Import Folder then on the next window "music on 192.168.0.100" shows up under Places and I can import files over the SMB share.
Let me know if I'm doing anything wrong or if you'd like me to test anything. -
Inappropriate?Oops, it was not the nightly, just the rc1.
-
Inappropriate?And just to confirm, the situation is the same in RC2.
-
Inappropriate?I am seeing a similar issue with 8.10 Intrepid (WITH the gvfs/samba update making me able to browse the folders successfully any other way) and 1.0 release. I can browse the mount via the selection, and see files, but, once I select the folder, nothing happens. This is awkward as I like to keep my music on a permanently available open NAS. Any suggestions?
I’m frustrated.
-
Inappropriate?Same problem with 8.10. All other programs can use the smb share (a DNS-323) correctly, including Rythmbox. But Songbird won't accept the smb share at all. Thanks,
Mike -
Inappropriate?I am running Ubuntu64 8.1. I have the exact same problem as Samizdata. I am pretty sure the volume is mounted because it shows on my desktop. Is their a patch in the ubuntu forums I'm not aware of? Any help would be great because Rythmbox is weak compared to Songbird but I can't really use it because 99% of my mp3's are on my XP box.(Using a laptop)
I’m frustrated
-
Boris What extra syntax do I need to make the mount command work? I'm still kinda new to linux too. -
Inappropriate?I've tried import the media from smb mounted drive:
I've mounted the drive using:
mount -t smbfs -o username='user' //
The intial scan works just fine, -
Inappropriate?Boris, Glad to hear there's a solution. But sorry I don't have enough of a background in linux yet to know what to do with the information you've provided. My music is on an NAS - I can use the Ubuntu GUI to mount the music folder and it still don't work through songbird, but works through other programs like rhapsody.
If there is a special way I need to mount the drives to work with songbird, can you help me figure out the syntax for doing that so that it happens at bootup for all users? My music is in an NAS (a DNS-323) attached to my wireless router. NAS has an IP address of xxx.xxx.xxx.103, a windows share name of "marrahmedia" and the music is in the /volume_1/music folder. . And what is the syntax you used for identifying the drive within songbird? Thanks for all the help.
Mike -
I found this command with the whole syntax after doing some searching on the internet hope it works for you.
mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>
It didn't work for me though I got the following error: "wrong fs type,bad option, bad superblock on //SERVER/sharedfolder, missing codepage or helper program, or other error</name-of-mountpoint></share></win-box></password></username> -
Inappropriate?ensure smbfs and smbclient are installed (via synaptic or apt-get) before mounting samba shares from windows
-
Inappropriate?it still didn't work even with the Gadmin & other samba tools - volume shows as mounted in file manager, but songbird simply does not 'see' it. Mounting a windows PC share via samba seems to require IP address resolution in /etc/hosts.
How this works for me under ubuntu accessing iTunes directory on Vista:
Make sure Samba is installed properly & you can see the directory using file manager.
Ensure that there is a reference to the IP address of the windows PC in /etc/hosts (a pain, but I could not get it working without it, so use static IP)
<xxx> here refers to the name you give the server/directories/user etc. in your situation. Sudo is necessary because ubuntu disables su - in debian you would su - and run from within a root session, unless you have added yourself to sudoers.
create a directory to mount the samba share to:
# sudo mkdir /mnt/<itunes_dir>
change the permissions as you require (I did this to ensure access - quick & dirty, so you might want to fine-tune your access permissions in an insecure environment):
# sudo chmod 666 <itunes_dir>
mount the Samba share to the directory you created:
# sudo mount -t smbfs -o username='<user_name>' //<win_pc>/<dir_path>/iTunes /mnt/<itunes_dir>
make sure you can see the directories, files, etc:-
# ls -l /mnt/<itunes_dir>
Then you can scan the directory from Songbird in the same way as on a local file system.
This works for me.
I know this is a bit detailed, but having gone from unix admin for ten years, to Windows for several years, and then to linux, this stuff is not immediately obvious to everybody at first (myself included).
I'd like to say how I appreciate all the work that has gone into Songbird - it looks like a fantastic offering. I had trouble getting youTube working through it, but fixed that searching posts on the forum. Mozilla produce some great apps.
Mish
(not sure why the next bit is tagged on at the end - something to so with html I guess).
</itunes_dir></itunes_dir></dir_path></win_pc></user_name></itunes_dir></itunes_dir></xxx>
1 person says
this answers the question
-
That worked for me. :0)
I had to install the package "smbfs" to get it working first (I already had "smbclient" and "samba" packages") and I had to use the IP address. Once the mount was created Songbird scanned the folder correctly.
(My music is stored on a windows share on a network drive and songbird's running on Ubuntu 8.1) -
Inappropriate?Well, that is a suitable workaround, but I believe the point of posting the question was to hopefully encourage the developers to look into the issue. Although I do not use iTunes or Vista, I have worked out a workaround involving using symlinks.
-
Inappropriate?I can see symbolic links would work once the samba share is mounted within the host filesystem, but not sure how that works before that - when I tried it I got a message that the symbolic link could not be made. Making a symbolic link would be neater. This way needs an fstab entry so it unmounts/mounts on reboot if required to persist. Probably ought to chmod 777 rather than 666, for a directory. Apologies for being a bit scrappy, but Unix is such a long time ago for me, and I am still playing catchup on Linux - just offering a suggestion to get out of stuckness.
Yes, it should work without needing to do all this. But, having played with it for a while, I do think it is the best media offering I have come across that runs on Linux (I can't stand KDE so have no knowledge of KDE-specific applications). I prefer this to iTunes, so have breathed a sigh of relief that my reliance on Windows is now restricted to only a few applications I cannot do without (EndNote bibliography manager running on Word/Windows being the indispensible one). Firefox/Iceweasel, Thunderbird/Icedove with Lightning and now Songbird are a treat to use.
Mish
Loading Profile...





