Amarok/Manual/Draft/Scrobbling to Libre.fm: Difference between revisions
(Done, wonder if it's OK to use <code></code> tags with directories...) |
m (Bcooksley moved page Amarok/Scrobbling to Libre.fm to Amarok/Manual/Draft/Scrobbling to Libre.fm without leaving a redirect: Requested on #kde-www) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This tutorial will let you scrobble to the '''[http://libre.fm/ Libre.fm]''' scrobbling service the music you hear in Amarok. | <languages /> | ||
<translate> | |||
<!--T:1--> | |||
This tutorial will let you scrobble to the '''[http://libre.fm/ Libre.fm]''' scrobbling service the music you hear in '''Amarok.''' | |||
==lastfmsubmitd installation and configuration== | ==lastfmsubmitd installation and configuration== <!--T:2--> | ||
<!--T:3--> | |||
You will need [http://www.red-bean.com/decklin/lastfmsubmitd/ lastfmsubmitd daemon] in order to scroll to Libre.fm. So download it from your distribution repositories if available, or compile it from source. | You will need [http://www.red-bean.com/decklin/lastfmsubmitd/ lastfmsubmitd daemon] in order to scroll to Libre.fm. So download it from your distribution repositories if available, or compile it from source. | ||
<!--T:4--> | |||
Once it is installed, it's time to configure it. First you will need to manually edit its configuration file, whose location will depend on your distribution. When you know its location, edit it as root and fill in your libre.fm user information (username and password) and add the lines needed to specify Libre.fm's server: | Once it is installed, it's time to configure it. First you will need to manually edit its configuration file, whose location will depend on your distribution. When you know its location, edit it as root and fill in your libre.fm user information (username and password) and add the lines needed to specify Libre.fm's server: | ||
< | <!--T:5--> | ||
{{Input|1=<nowiki> | |||
[account] | [account] | ||
user : your_librefm_userid | user : your_librefm_userid | ||
password : your_librefm_password | password : your_librefm_password | ||
<!--T:6--> | |||
[server] | [server] | ||
url = http://turtle.libre.fm/ | url = http://turtle.libre.fm/ | ||
</ | </nowiki>}} | ||
<!--T:7--> | |||
It's done. Now, you have to start lastfmsubmitd and lastmp daemons, and you might want to make sure they are started in your system on every boot. The way to do it vary from a distro to another, so ask yours. | It's done. Now, you have to start lastfmsubmitd and lastmp daemons, and you might want to make sure they are started in your system on every boot. The way to do it vary from a distro to another, so ask yours. | ||
==Amarok2LibreFM installation== | ==Amarok2LibreFM installation== <!--T:8--> | ||
<!--T:9--> | |||
This is the easiest step. You just need to [http://kde-apps.org/CONTENT/content-files/107339-Amarok2LibreFM.tar.gz download Amarok2LibreFM], open Amarok, and go to <menuchoice>Tools -> Script Manager</menuchoice>. There, press <menuchoice>Install Script</menuchoice> and search for the archive you have just downloaded (in case you can't see it, make sure the file browser is not filtering results following any pattern). | This is the easiest step. You just need to [http://kde-apps.org/CONTENT/content-files/107339-Amarok2LibreFM.tar.gz download Amarok2LibreFM], open Amarok, and go to <menuchoice>Tools -> Script Manager</menuchoice>. There, press <menuchoice>Install Script</menuchoice> and search for the archive you have just downloaded (in case you can't see it, make sure the file browser is not filtering results following any pattern). | ||
<!--T:10--> | |||
The script will become active as soon as you restart Amarok. | The script will become active as soon as you restart Amarok. | ||
==Permissions configuration== | ==Permissions configuration== <!--T:11--> | ||
Now you need to make sure you have permissions to write to the folders < | <!--T:12--> | ||
Now you need to make sure you have permissions to write to the folders <tt>/var/log/lastfm/</tt> and <tt>/var/spool/lastfm/</tt>. In case your user is part of the <code>audio</code> group (whih you can see running <code>id</code> in a console as your user), these lines (both) should do the job: | |||
<!--T:13--> | |||
{{Input|1=sudo chown :audio /var/log/lastfm/ /var/spool/lastfm/ -R | {{Input|1=sudo chown :audio /var/log/lastfm/ /var/spool/lastfm/ -R | ||
sudo chmod -R 775 /var/log/lastfm/ /var/spool/lastfm/}} | sudo chmod -R 775 /var/log/lastfm/ /var/spool/lastfm/}} | ||
<!--T:14--> | |||
[[Category:Amarok]] | [[Category:Amarok]] | ||
[[Category:Draft]] | |||
</translate> |
Latest revision as of 21:25, 26 September 2012
This tutorial will let you scrobble to the Libre.fm scrobbling service the music you hear in Amarok.
lastfmsubmitd installation and configuration
You will need lastfmsubmitd daemon in order to scroll to Libre.fm. So download it from your distribution repositories if available, or compile it from source.
Once it is installed, it's time to configure it. First you will need to manually edit its configuration file, whose location will depend on your distribution. When you know its location, edit it as root and fill in your libre.fm user information (username and password) and add the lines needed to specify Libre.fm's server:
[account] user : your_librefm_userid password : your_librefm_password [server] url = http://turtle.libre.fm/
It's done. Now, you have to start lastfmsubmitd and lastmp daemons, and you might want to make sure they are started in your system on every boot. The way to do it vary from a distro to another, so ask yours.
Amarok2LibreFM installation
This is the easiest step. You just need to download Amarok2LibreFM, open Amarok, and go to . There, press and search for the archive you have just downloaded (in case you can't see it, make sure the file browser is not filtering results following any pattern).
The script will become active as soon as you restart Amarok.
Permissions configuration
Now you need to make sure you have permissions to write to the folders /var/log/lastfm/ and /var/spool/lastfm/. In case your user is part of the audio
group (whih you can see running id
in a console as your user), these lines (both) should do the job:
sudo chown :audio /var/log/lastfm/ /var/spool/lastfm/ -R sudo chmod -R 775 /var/log/lastfm/ /var/spool/lastfm/