Amarok/Manual/Organization/Collection/RemoteCollections/Samba

From KDE Wiki Sandbox
Revision as of 18:57, 19 July 2013 by Myriam (talk | contribs) (add attention warning, revert to category 2.7)
Other languages:


Attention
All screenshots need to be checked if they are still accurate with a recent KDE 4.10.x or later
Samba

Samba is a free implementation of the SMB/CIFS protocol which is used to share files and printers in a network. Most modern file managers like Dolphin and Nautilus support this protocol.

Client

You need to mount the share to use it in Amarok. To do this, you need to install the package smbfs. Use the command

sudo mount -t cifs //host/share /mount-point/

to mount the share. After that you can use it like a local folder and add it to your local collection.

Server

The easiest way is to use your file manager. On Debian-based distributions like Ubuntu you can install a Dolphin extension to manage shares using

sudo apt-get install kdenetwork-filesharing

Open the properties of a folder in Dolphin and switch to the Share tab.

Click Configure File Sharing... to open the configuration dialog.

Change the settings to Advanced Sharing and the Allowed Users to Allow all users to share folders.

Then you can add the folder to the shares. Click at Add... and share the desired folder with Samba.

The folder should now be accessible to the network. To tell Amarok to look for your Samba share, go to Settings -> Configure Amarok -> Plugins -> Local Collection Backends and click the box. Your tracks will show up in Local Collection.