This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Access music on Windows share with 2.5

Tags: None
(comma "," separated)
netean
Registered Member
Posts
2
Karma
0
OS
My apologies if this has been answered already, I searched for this as a topic for 2.5 and failed to find answer.

Also forgive me, as although I'm old hat with Linux, having used it for years, I've been using KDE for less than a week, so I may be ignorant of something obvious.

I've been searching for the perfect music player in Liinux for ages and finally though Amarok was going to fill the need.

Yet for the life of me I cannot work out how to add my music collection from my Samba/NFS/Windows network share.

I can't add from the Settings page, because network, samba, nfs isn't an option
I can't find a config file anywhere to manually edit
I can't drag and drop from Dolphin

I see there is an NFS plugin installed with 2.5 but that doesn't seem to achieve my aim.

Googling I've come across stuff from earlier releases about permanently mounting through fstab.. but that can't the case now surely? I can see my files in Dolphin and I've added bookmarks for it.

I've got permission to read/write to the share
i've even got an Itunes Library file in there that I created for exactly this purpose, But the iTunes import option also fails.

Am I missing something obvious? I can't believe I've spent the last hour trying to work it out, i feel like an idiot (which, if it's really obvious, then I accept I must be!)

How do I add my music from a network share in 2.5?
jahidulislam
Registered Member
Posts
7
Karma
0
OS
You need to mount your samba share in dolphin (eg /media/samba) using mount command.
1 first make the directory
Code: Select all
sudo mkdir /media/samba


2. mount the samba share
Code: Select all
mount -t cifs //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword


if servername=192.168.1.137
sharename=MUSIc
mountdirectory=/media/samba then the command will be

Code: Select all
mount -t cifs //192.168.1.137/MUSIC /media/samba -o username=mywindowsusername,password=mywindowspassword


use smbfs if cifs doesn't work

3 to make it permanent you have to write an entry in /etc/fstab

Code: Select all
//servername/sharename /mountdirectory cifs username=windowsuserename,password=windowspassword 0 0


then use the folder/directory(/media/samba) as a collection in amarok.

You can read this pdffor more detail.
netean
Registered Member
Posts
2
Karma
0
OS
Thank you for the reply.
My apologies, i'd seen this elsewhere for (I think it was in response to a question about v2.1 or 2.2) but I didn't really think it would still be he case now.

Whilst I'm happy mounting stuff by cli, I'm a lot less happy fiddling with the etc/fstab as getting that wrong means the system won't boot properly I believe?

But is that really the only way to work with network shares, it seems kind of crazy that I've even though I can browse to my files in dolphin I can use them without hacking a command line or the basic guts of the operating system.

Mounting is something I'm ok doing, but just can't see most "real world" (non geeks) being happy to do. Sadly I think they'll see that requirement as a failure of Amarok.

I assumed that it would have been much simpler (GUI wise) than that.

however, your response is very much appreciated, I'll action it immediately

Much thanks
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Amarok has absolutely nothing to do with that, it relies on the system to mount shares correctly. There is nothing that can be done in Amarok to change that.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient