Difference between revisions of "Amarok"

From ArchWiki
Jump to: navigation, search
m (Format corrections.)
(Undo revision 442990 by Lahwaacz.bot (talk) bug)
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
[[Category:Multimedia players]]
 
[[de:Amarok]]
 
[[de:Amarok]]
 
[[fr:Amarok]]
 
[[fr:Amarok]]
[[it:Amarok 2]]
+
[[it:Amarok]]
[[Category:Player]]
+
[[ja:Amarok]]
{{Article summary start}}
+
{{Related articles start}}
{{Article summary text|Provides a brief overview of the quintessential KDE music player.}}
+
{{Related|Amarok 1.4}}
{{Article summary heading|Related articles}}
+
{{Related articles end}}
{{Article summary wiki|Amarok 1.4}}
+
{{Article summary end}}
+
 
+
 
[http://amarok.kde.org/ Amarok] is a music player and organizer for Linux with an intuitive [[Qt]] interface that integrates very well with [[KDE]].  
 
[http://amarok.kde.org/ Amarok] is a music player and organizer for Linux with an intuitive [[Qt]] interface that integrates very well with [[KDE]].  
  
Line 15: Line 13:
 
== Installation ==
 
== Installation ==
  
[[pacman|Install]] Amarok from the [[official repositories]].
+
[[Install]] {{pkg|amarok}} from the [[official repositories]].
  
 
Amarok now depends on Phonon, so you will have to have a working back-end selected for it.  See [[KDE#Phonon]]. You may also need to install a few [[codecs]] for use by the chosen back-end.
 
Amarok now depends on Phonon, so you will have to have a working back-end selected for it.  See [[KDE#Phonon]]. You may also need to install a few [[codecs]] for use by the chosen back-end.
Line 23: Line 21:
 
=== Integration with GNOME ===
 
=== Integration with GNOME ===
  
See [[Uniform Look for QT and GTK Applications]] for visual integration of the main GUI.
+
See [[Uniform look for Qt and GTK applications]] for visual integration of the main GUI.
  
 
=== Scripts and applets ===
 
=== Scripts and applets ===
Line 37: Line 35:
 
Then go to ''Settings > Configure Amarok'' and check "Show moodbar in progress slider".
 
Then go to ''Settings > Configure Amarok'' and check "Show moodbar in progress slider".
  
{{Note|As of February 19th Amarok 2 does '''not''' generate moodfiles, you can either try to follow this tutorial [http://amarok.kde.org/wiki/Moodbar] to create them yourself or get Amarok1 from AUR and let it generate all the .mood files for you. For the Amarok1 solution go to ''Settings > Configure Amarok'', and in the general tab check the "use moods" and "store moods data files with music" boxes.
+
{{Note|As of February 19th Amarok 2 does '''not''' generate moodfiles, you can either try to follow this tutorial [http://amarok.kde.org/wiki/Moodbar]{{Dead link|2015|04|23}} to create them yourself or get Amarok1 from AUR and let it generate all the .mood files for you. For the Amarok1 solution go to ''Settings > Configure Amarok'', and in the general tab check the "use moods" and "store moods data files with music" boxes.
 
}}
 
}}
  
 
== SHOUTcast ==
 
== SHOUTcast ==
  
For reasons which have not been adequately explained Amarok developers have removed the SHOUTcast Internet radio features from version 2.1.90 onwards. See the [https://wiki.archlinux.org/index.php/Talk:Amarok_2#Shoutcast discussion page], the forum [http://forum.kde.org/viewtopic.php?f=116&t=83718 here] and the thread starting [http://mail.kde.org/pipermail/amarok/2009-November/009696.html here].
+
For reasons which have not been adequately explained Amarok developers have removed the SHOUTcast Internet radio features from version 2.1.90 onwards. See the [[Talk:Amarok_2#Shoutcast|discussion page]], the forum [http://forum.kde.org/viewtopic.php?f=116&t=83718 here] and the thread starting [http://mail.kde.org/pipermail/amarok/2009-November/009696.html here].
  
 
You can get back SHOUTcast by using the "SHOUTcast service" script. Start Amarok, go ''Tools > Script Manager > Get More Scripts'', search for ''SHOUTcast'' install ''Shoutcast Service'', restart Amarok. Then you have it in "Internet" context.
 
You can get back SHOUTcast by using the "SHOUTcast service" script. Start Amarok, go ''Tools > Script Manager > Get More Scripts'', search for ''SHOUTcast'' install ''Shoutcast Service'', restart Amarok. Then you have it in "Internet" context.
Line 48: Line 46:
 
[[Amarok 1.4]] and [[VLC]] continue to support the SHOUTcast Internet radio station index and streaming as before.
 
[[Amarok 1.4]] and [[VLC]] continue to support the SHOUTcast Internet radio station index and streaming as before.
  
See also: [http://amarok.kde.org/wiki/FAQ#How_can_I_use_Amarok_to_stream_to_my_own_radio_station.3F How can I use Amarok to stream to my own radio station?], which recommends [http://giss.tv/sahabuntu/doc/idjc.html Internet DJ Console], available in the AUR ({{AUR|idjc}}).
+
See also: [http://amarok.kde.org/wiki/FAQ#How_can_I_use_Amarok_to_stream_to_my_own_radio_station.3F How can I use Amarok to stream to my own radio station?]{{Dead link|2015|07|5}}, which recommends [http://giss.tv/sahabuntu/doc/idjc.html Internet DJ Console], available in the AUR ({{AUR|idjc}}).
  
 
== Ampache/MP3 Streaming ==
 
== Ampache/MP3 Streaming ==
  
If you are streaming MP3s directly or with the Ampache plugin, you are not able to seek in tracks if you are not using the [[GStreamer]] backend. Install the needed packages: {{Pkg|phonon-gstreamer}} {{Pkg|gstreamer0.10}} {{Pkg|gstreamer0.10-plugins}}.
+
If you are streaming MP3s directly or with the Ampache plugin, you are not able to seek in tracks if you are not using the [[GStreamer]] backend. Install the needed packages: {{Pkg|phonon-qt4-gstreamer}} {{Pkg|phonon-qt5-gstreamer}} {{Pkg|gstreamer0.10}} {{Grp|gstreamer0.10-plugins}}.
 
Then go inside Amarok to ''Settings > Configure Amarok > Playback > Configure Phonon >'' ''tab'' ''Backend. Here make GStreamer the prefered backend
 
Then go inside Amarok to ''Settings > Configure Amarok > Playback > Configure Phonon >'' ''tab'' ''Backend. Here make GStreamer the prefered backend
  
Line 80: Line 78:
 
=== PostgreSQL ===
 
=== PostgreSQL ===
  
Not yet supported, [http://amarok.kde.org/blog/archives/812-MySQL-in-Amarok-2-The-Reality.html see more]
+
Not yet supported, [http://amarok.kde.org/blog/archives/812-MySQL-in-Amarok-2-The-Reality.html see more]{{Dead link|2015|04|23}}
 +
 
 +
== Audio CD Playback ==
 +
 
 +
If you are not using KDE as your Desktop Environment, Amarok may not have the utilities it needs to play back Audio CDs. [[Install]] {{pkg|kdemultimedia-audiocd-kio}} from the [[official repositories]] to obtain this functionality.
  
 
== Firefly/Daap share ==
 
== Firefly/Daap share ==
Line 92: Line 94:
 
== See also ==
 
== See also ==
  
[[List of Applications#Audio]]
+
[[List of applications#Audio players]]

Latest revision as of 09:12, 25 July 2016

Related articles

Amarok is a music player and organizer for Linux with an intuitive Qt interface that integrates very well with KDE.

Amarok 2 has not yet and will not implement all features from Amarok 1.4[1], so if you are not satisfied with the new version and would rather have the old one back, refer to that article.

Installation

Install amarok from the official repositories.

Amarok now depends on Phonon, so you will have to have a working back-end selected for it. See KDE#Phonon. You may also need to install a few codecs for use by the chosen back-end.

Customization

Integration with GNOME

See Uniform look for Qt and GTK applications for visual integration of the main GUI.

Scripts and applets

New scripts and applets can be found either directly from within Amarok (Tools > Script Manager > Get More Scripts) or at kde-apps.org.

Moodbar

The moodbar is a feature which turn your standard progress slider bar into a progress slider bar coloured depending on the mood of your track.

Install moodbarAUR from the AUR.

Then go to Settings > Configure Amarok and check "Show moodbar in progress slider".

Note: As of February 19th Amarok 2 does not generate moodfiles, you can either try to follow this tutorial [2][dead link 2015-04-23] to create them yourself or get Amarok1 from AUR and let it generate all the .mood files for you. For the Amarok1 solution go to Settings > Configure Amarok, and in the general tab check the "use moods" and "store moods data files with music" boxes.

SHOUTcast

For reasons which have not been adequately explained Amarok developers have removed the SHOUTcast Internet radio features from version 2.1.90 onwards. See the discussion page, the forum here and the thread starting here.

You can get back SHOUTcast by using the "SHOUTcast service" script. Start Amarok, go Tools > Script Manager > Get More Scripts, search for SHOUTcast install Shoutcast Service, restart Amarok. Then you have it in "Internet" context.

Amarok 1.4 and VLC continue to support the SHOUTcast Internet radio station index and streaming as before.

See also: How can I use Amarok to stream to my own radio station?[dead link 2015-07-5], which recommends Internet DJ Console, available in the AUR (idjcAUR).

Ampache/MP3 Streaming

If you are streaming MP3s directly or with the Ampache plugin, you are not able to seek in tracks if you are not using the GStreamer backend. Install the needed packages: phonon-qt4-gstreamer phonon-qt5-gstreamer gstreamer0.10 gstreamer0.10-plugins. Then go inside Amarok to Settings > Configure Amarok > Playback > Configure Phonon > tab Backend. Here make GStreamer the prefered backend

Collection database

Amarok 2.x can use Sqlite (default) or MySQL to store the collection database. Users with large collections and more demanding performance requirements might prefer to use mysql.

MySQL

For basic MySQL configuration refer to the MySQL page.

When using Amarok with MySQL you need to create a MySQL user that can access the database. To do use, enter the following:

# mysql -p -u root
# CREATE DATABASE amarokdb;
# USE amarokdb;
# GRANT ALL ON amarokdb.* TO amarokuser@localhost IDENTIFIED BY 'password-user';
# FLUSH PRIVILEGES;
# quit

This creates a database called 'amarokdb' and a user with name 'amarokuser' with the password 'password-user' who can access said database from localhost. If you want to connect to your database computer from a different computer, change the line to

# GRANT ALL ON amarok.* TO amarokuser@'%' IDENTIFIED BY  'password-user';

To configure amarok to use MySQL, enter the Configure Amarok screen, choose Database and mark "used external MySQL database". Enter the server (usually "localhost" if on your local box, else the name of the remote box), the username ("amarokuser" in this example) and your chosen password-user. Do not forget to select the path to your music collection.

PostgreSQL

Not yet supported, see more[dead link 2015-04-23]

Audio CD Playback

If you are not using KDE as your Desktop Environment, Amarok may not have the utilities it needs to play back Audio CDs. Install kdemultimedia-audiocd-kio from the official repositories to obtain this functionality.

Firefly/Daap share

To make Daap shares visible in Amarok enable the "DAAP Collection" plugin in the Amarok settings.

Install nss-mdns and complete the hosts line in /etc/nsswitch.conf to look like:

hosts: files mdns4_minimal [NOTFOUND=return] nis dns mdns4

start avahi-daemon systemd service.

See also

List of applications#Audio players