Amarok/Manual/Organization/Collection/RemoteCollections/Samba/en: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
===== Samba =====
===== 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.
'''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.
 
<span id="Client"></span>
===== Client =====
===== Client =====


Line 17: Line 16:
Open the properties of a folder in '''Dolphin''' and switch to the <menuchoice>Share</menuchoice> tab.
Open the properties of a folder in '''Dolphin''' and switch to the <menuchoice>Share</menuchoice> tab.


[[File:remotecollections_samba_server.png|center|300px]]
[[File:Amarok_2.8_Remotecollections_samba_server.png|center|400px]]
 
Click <menuchoice>Configure File Sharing...</menuchoice> to open the configuration dialog.
 
[[File:remotecollections_samba_server1.png|thumb|400px|center|]]
 
Change the settings to <menuchoice>Advanced Sharing</menuchoice> and the <menuchoice>Allowed Users</menuchoice> to <menuchoice>Allow all users to share folders</menuchoice>.
 
[[File:remotecollections_samba_server2.png|center|250px]]


Then you can add the folder to the shares. Click at <menuchoice>Add...</menuchoice> and share the desired folder with '''Samba'''.
To share the folder, just check the <menuchoice>Share with Samba (Microsoft Windows)</menuchoice> field and set the share name under the <menuchoice>Name</menuchoice> field. Check the <menuchoice>Allow Guests</menuchoice> checkbox to allow anonymous users access to the folder.


[[File:remotecollections_samba_server3.png|center|250px]]
[[File:Amarok_2.8_Remotecollections_samba_server1.png|400px|center|]]


The folder should now be accessible to the network. To tell '''Amarok''' to look for your '''Samba''' share, go to <menuchoice>Settings -> Configure Amarok -> Plugins -> Local Collection Backends</menuchoice> and click the box. Your tracks will show up in ''Local Collection''.
The folder should now be accessible to the network. Please see the [[Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/Samba#Client|Client section]] for details on how to use it in '''Amarok'''.


{{Prevnext2
{{Prevnext2
Line 39: Line 30:
}}
}}


[[Category:Amarok 2.6]]
[[Category:Amarok2.8]]
[[Category:Multimedia]]
[[Category:Multimedia]]
[[Category:Tutorials]]
[[Category:Tutorials]]

Latest revision as of 11:30, 30 July 2013

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.

To share the folder, just check the Share with Samba (Microsoft Windows) field and set the share name under the Name field. Check the Allow Guests checkbox to allow anonymous users access to the folder.

The folder should now be accessible to the network. Please see the Client section for details on how to use it in Amarok.