![]() Registered Member ![]()
|
Hi everybody,
I'm fairly new to the Linux business and I'm currently trying out different media players. I have most of my media shared on a Windows 7 machine and after some work and a lot of reading I was finally able to access this windows share via Ubuntu through Samba. The share is currently mounted to my music folder and I can browse all files, open mp3s with Rythmbox and other players, but I can't seem to access them in Amarok. I tried adding the folder to my collection, but no files are added after scanning for almost an hour and when I navigate to the local folder from within Amarok I can see all folders, but simply no files (which are perfectly visible and accessible in Nautilus. Any idea what the problem might be? As said above I'm pretty new so I don't know all the tricks yet. I would really appreciate any help because from what I read and have seen so far Amarok looks like a really great piece of technology. Best whiches, MrMister |
![]() Registered Member ![]()
|
This is a well-known problem, a quick search on the web or a look at the Amarok Wiki brings you to this page:
http://amarok.kde.org/wiki/Samba |
![]() Registered Member ![]()
|
Hi marcel,
thank you for the quick reply. I've tried for roughly two hours to get it to work and following the instructions on the page you posted, but I just can't get it to work. This is the current line in fstab:
The mounting itself works perfectly (even after switching from the previous smbfs to cifs), I just don't see any files in Amarok. Could you please help me out? It seems my limited knowledge of Linux is still giving me a hard time, although I'm trying hard ![]() Greetings, mrmister |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Try to mount the share writable by setting file_mode=0644,dir_mode=0755 and add uid=yourusername to the options. As root
Check if the files/dirs are owned by myusername If this works, you can make it permanently in fstab. I won't mount anything into a user's homedir, but it's your choice. m0nk
If men could get pregnant, abortion would be a sacrament.
|
![]() Registered Member ![]()
|
Hi Dieter,
thanks four your reply. I tried the commands you provided, unfortunatelly I'm getting a few warnings and errors:
I can get around the first two warnings by using file_mode and dir_mode as suggested, however I'm still receiving a "Bad Username". Isn't providing a uid a bit redundant anyway? After all it is stored in the .smbcredentials...? Slightly confused Greetings, MrMister |
![]() Administrator ![]()
|
Please replace "<user_auf_win_pc>" with the contents of $USER ( or alternately the output of id -un )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hello bcooksley,
I ran id -un and it responed with the username on my Linux machine. Using that name sovled the warning/error thing and the folder is being mounted correctly, however I still can not see any of my files in Amarok, just the folder structure.
The more I stare at this the dumber I feel ![]() Thankful greetings, MrMister |
![]() Administrator ![]()
|
I gather if you browse to $HOME/Musik/ in a file manager the various music files are visible?
If so, you may simply need to ask Amarok to rescan the directory.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
It seems I've solved the mistery... for some reason ffmpeg was not installed or it was buggy, I don't know, but since I reinstalled the package I can see MP3s in Amarok and play them.
Thank you for the help, if anything else should come up I'll be asking away ![]() MrMister |
![]() Registered Member ![]()
|
the uid option leads to the files and folders are owned by the user "uid".
Just for info. m0nk
If men could get pregnant, abortion would be a sacrament.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]