Amarok/Manuel/Divers/FAQ

From KDE Wiki Sandbox
< Amarok‎ | Manual‎ | Various
Revision as of 18:05, 7 April 2018 by Dadu042 (talk | contribs) (Created page with "===== Comment puis-je ajouter des podcasts ? =====")

FAQ ː questions fréquemment posées

Amarok qu'est-ce que c'est ?

Amarok est un lecteur d'audio. Davantage d'informations peuvent êtres trouvées dans un résumé de ses fonctionnalités et la gallerie de capture d'écrans. Pour débuter l'utilisation de Amarok, lisez le Guide de démarrage rapide. Le manuel Amarok est ici.

Quelles sont les différences entre Amarok 2 et les versions précédentes ?

Amarok 2 est une réécriture presque complète du code, par conséquent la base de code (le logiciel) a peu en commun avec Amarok 1.4. Si il vous manque une fonction, veuillez remplir un souhait dans Bugzilla.
Voici une courte liste des nouvelles fonctionnalités :
  • Maybe the biggest new feature is the Service Framework, which integrates networked music sources directly into Amarok. This includes online music stores, media servers, Web music lockers, and more. Thanks to it you'll get easy access to music provided by Magnatune, Jamendo, Last.fm, MP3Tunes Locker, Ampache and many others. Expect more big (and small) names to join during the 2.x lifecycle. See Internet Media Sources for more.
  • Another exciting feature is the Context pane, occupying the central place of the Amarok's window, replacing the old Context Browser from the 1.x series. It displays contextual information about the music you play, like the album cover, track rating, labels, lyrics, artist information, related songs and artists, guitar and bass tabs and others. Thanks to the Plasma technology it uses, the Context pane can provide very rich content, like AJAX, video and animations, all in an eye-catching fashion. More about the Context pane.
  • To accompany the Context pane, we developed a new, space efficient playlist. In order to preserve horizontal space, it groups the track name, artist, album name and cover art together, and allows further grouping by album names. Plus you can rearrange it to your heart's content! If you prefer the old 1.4 playlist, you can have that too. See Changing the Playlist layout for more.
  • Une autre super pépite est le support de la vidéo. Regardez vos vidéos clips musicaux à l'intérieur Amarok est super ǃ
  • We can't forget the Dynamic Playlists, which extend the old Dynamic Playlists. They allow you to define an automatically populated playlist, based on specific probability driven criteria called "biases". The Dynamic Playlists is joined by the new Automatic Playlist Generator, used to generate lists for specific purposes and of a specified length. See Dynamic Playlists and Automatic Playlist Generator for more information.
Il y a beaucoup de fonctionnalités telles que le scripting avancé, des collections dynamiques, des améliorations de facilité d'utilisation, l'amélioration du traitement des dispositifs medias, un nouveau gestionnaire de podcast, le soutien à davantage de plates-formes logicielles, et d'autres.

Installation

Puis-je utiliser Amarok sans KDE ?
Amarok exige que des parties de KDE soient installées afin de s'exécuter, mais il s'exécute bien dans Gnome ou dans d'autres environnements de bureau, y compris Windows et OS X. Pour que Amarok fonctionne, kdelibs et kdebase-runtime doivent être installées.
Pour que certaines fonctionnalités marchent correctement (telles que l'affichage à l'écran), votre gestionnaire de fenêtres doit être configuré pour soutenir les standards '"freedesktop.org'" appropriés. Plus d'infos au sujet de l'exécution dAmarok sur d'autres platformes sont ici.
Pourquoi Amarok utilise-t-il KDElibs ?
Nous sommes engagé à soutenir Amarok sur toutes les plates-formes. Nous utilisons KDElibs et Qt parce qu'ils fournissent un excellent environnement de développement. À part Linux et BSD, Amarok fonctionne sur Windows et MacOS, et il y a des installateurs disponibles, mais malheureusement nous n'avons pas (encore) les ressources d'offrir du soutien complet pour ces systèmes d'exploitation. Presque toute nos développeurs utilisent des systèmes d'exploitation libres, et ceux-là ont la priorité pour nous. Cependant nous accueillerons des développeurs Windows et OS X désirant aider et améliorer Amarok sur ces systèmes d'exploitation.

Usage général

Comment contrôler Amarok depuis le clavier ?
Keyboard shortcuts are available; see our Keybinding Reference page for more information.
Pour contrôler Amarok depuis une console, tapez
amarok --help-all
pour afficher la liste complète des commandes.
Où puis-je obtenir de l'assistance concernant Amarok ?
There are several options. Often times problems you have with the initial install of Amarok are best answered by experts of your particular Unix or Linux distribution. You may seek help from fellow users and developers at the Amarok forum and the Amarok IRC channel at irc.freenode.net channel #amarok.
Note that bugzilla is not a place to seek support. Please do enter a bug if you are serious about helping fix a bug in Amarok itself.
Comment puis-je signaler un bug ?
If you find a bug in Amarok, please submit it to the KDE bugzilla instance. To make a complete bug report, please always include the following information:
  • The exact Amarok version (the version can be found in Help -> About Amarok). You should not report bugs for Amarok versions older than the current stable release as we do not provide backport fixes.
  • The exact KDE and Qt version, even if you do not run Amarok in KDE (Help -> About KDE)
  • The exact Phonon backend. You can find this information in the Diagnostics (Help -> Diagnostics )
  • Whether the bug is reproducible. Please do not report bugs that you can not reproduce as these are almost impossible to fix.
  • Exact steps how to reproduce the bug
If any of these information is missing the bug report is not complete. Please also be prepared to answer questions from the developers or bug triagers and eventually test other settings.

Questions au sujet de la liste de lecture

Davantage au sujet de la Liste de lecture, ici.
Quand je démarre Amarok, je vois une liste de lecture vide. Comment puis-je mettre des pistes dedans ?
Use the Media Sources on the left side to navigate to the desired artist/album/track. Then drag the files into the Playlist part on the right. You can use Dynamic Playlists or the Automatic Playlist Generator to populate your playlist. You can also drag files in from any file manager, such as Dolphin. You may also double-click a track, artist or genre in your Media Sources or file-system, or right-click and Add to Playlist or Replace Playlist.
Comment enlever des pistes hors de la piste de lecture ?
Select the track(s) you want to remove, and press the Delete key. Or right-click the selection and choose Remove From Playlist.
Comment puis-je charger une liste de lecture ?
Just drag and drop the playlist file into the Playlist, like you would do with any other file. It's that simple!
Comment puis-je sauvegarder l'actuelle liste de lecture ?
Click the button in the Playlist toolbar. Slow-click the disc icon to chose to save to your harddisk, or to the database.

Questions concernant la lecture

Comment jouer des CDs audio ?
Audio CDs are treated differently than data CDs, which are also supported. When you insert an audio CD, it will be shown as a local collection. Drag to the playlist or Pop-Up Dropper, or right-click the selected tracks and choose Add to Playlist or Replace Playlist.

Quels types de médias Amarok supporte-t-il ?
Amarok does not play music by itself, but lets Phonon do that job, specifically the VLC or GStreamer backends of Phonon. Therefore, whatever files they can play, Amarok can play. To analyse file tags, Amarok uses Taglib, which supports most file types that contain metadata.
What is Phonon? What are Phonon backends?
Phonon is the multimedia framework of KDE 4. You can find more information here.
We currently recommend both the Gstreamer and VLC backend as both are actively maintained. If you want to play streams you should use the VLC backend only as the Gstreamer backend has some shortcomings in this regard. Make sure you do not use any other backend as those are obsolete.
If you are using the Phonon-backend-gstreamer make sure you only use plugins from one single gstreamer version, else your sound will be compromised.
Amarok ne joue pas mes MP3s, que faire ?

Il vous manque probablement les codecs nécessaires pour votre backend Phonon (Gstreamer, ou VLC). Veuillez le signaler à votre distribution si vous n'avez pas été incité à les installer automatiquement quand vous avez exécuté Amarok la toute première fois

J'ai les codecs, mais Amarok ne joue toujours pas les mp4s ni les mkas

When using some phonon backend, like the gstreamer one, Amarok might refuse to play mp4 and mka files. This is a known problem, see bug #290168 for more technical information.

A very simple workaround is to change the file extension. Change mp4 extension to m4a and for mka change it to mkv. Of course you must be sure the files contains audio only. You can use the ffprobe command to look at what data streams are present in the file. If the file has a video stream it must be stripped out. There are a lot of tools able to edit these formats and most of them are based on ffmpeg/libav, which you can use if you are familiar with them. If you prefer graphical tools one possible choice is avidemux.

This is a quick example how you can remove a video stream from an mp4 video with ffmpeg. Stripping a video stream from an mkv file is the same. First check if there is a video stream

$ ffprobe example.mp4 2>&1 | grep Video
Stream #0.1(und): Video: h264 (Baseline), yuv420p, 480x360 [PAR 1:1 DAR 4:3], 242 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc

If the output of the previous command is null there is no video stream in the file. To create an m4a file with just the audio stream you can use something like

ffmpeg -i example.mp4 -acodec copy -vn example.m4a

You can also use avconv in place of ffmpeg with the same options, where

  • -i example.mp4 option is the input file name
  • -acodec copy is used to not encode again the audio stream but just copy it. This to avoid quality loss, but you can also encode in a different format if you want, and you are not forced to use m4a container in this case
  • -vn strips the video stream
  • example.m4a is the output file name

Another possible workaround is to change the phonon backend. For example the VLC backend doesn't suffer this problem.

J'ai une deuxième carte-son et j'utilise ALSA. Comment fais-je pour que Amarok l'utilise au lieu de celle par défaut ?
Configure this in the Phonon system settings module. Settings -> Configure Amarok -> Playback -> Configure Phonon
Où est l'égaliseur ?
The l'égaliseur est seulement disponible si vous utilisez ː phonon-backend-gstreamer. Vous pouvez trouver l'égaliseur dans le menu Outils.
Comment puis-je contrôler le volume dans Amarok seulement, sans devoir le changer dans KMix?
Most distributions ship the PulseAudio sound-daemon nowadays which handles the sound settings system-wide. If you can't change the volume in Amarok independently of KMix, then your Pulseaudio settings have the option

flat-volume=yes

enabled. Depending on your distribution this is located either in the file $HOME/.pulse/daemon.conf or in the system file /etc/pulse/daemon.conf. More information about Pulseudio-specific settings can be found in pulse-daemon.conf man page.
Comment activer les visualisations ?
Visualizations come in the form of an applet. For more information please see the applets page. Visualizations are currently under development and may be buggy at this time.
Comment puis-je ajouter des podcasts ?
Go to Podcast section in the Media Sources pane and then select Add Podcast... Add the podcast URL where indicated. More about podcasts here.
We also have some services, such as gpodder and Podcast Directory to help you find great podcasts. Enable services in the Settings menu: Configure Amarok -> Plugins.
Comment puis-je utiliser Amarok pour streamer ma propre station de radio ?
If you want to stream directly to an icecast or shoutcast server the answer simply is: it is not supported. You could use IDJC for that.

Collection questions

Folder not properly picked up

If you find that most of your music is recognized by Amarok, but some folders are not properly picked up, open a console and type

touch folder

where folder is the path to the folder that has the problem. Then select Settings -> Configure Amarok in Amarok main window menu, open Collection page and click the Full Rescan button. Your folder should be visible again now.

Warning
this will not work on Windows, as the touch command is specific to Linux and BSD-like systems.


Can I use removable media inside Amarok?
Amarok has a greatly improved support for the media devices based on Solid, the KDE hardware layer, that doesn't need a lot of configuration. You should be able to just plug in your device and access it within Amarok. Also, thanks to the Dynamic Collections, your media devices could become part of your music collection, and be searchable and accessible within the Local Music section of the Media Sources pane when it's connected.
You can transfer your songs, albums and artists from your local collection by right-clicking, selecting Copy to Collection and picking your device; and you can also do it in the other way: right-click and select Copy to Collection -> Local Collection. More about Amarok and devices here.
Can I use the old Amarok's collection in Amarok 2? Will my tags, score are ratings be lost?
A database importer is available. You will be able to keep your ratings and statistics just fine. More here.

General questions

Où sont les scripts ?
They are little pieces of software that add some functions to Amarok. There are a lot of scripts, and you can find them in kde-apps.org or you can find and install them inside Amarok using the Script Manager. More details can be found here. You will find the Script Manager from the Settings menu, Configure Amarok -> Scripts.
Can I use Amarok 1.4 scripts in Amarok 2?
No. A new and powerful scripting API has been created, which provides huge improvements but won't let you use your old scripts. The new scripting system is based on QtScript and will significantly reduce Amarok's dependencies, a huge problem for non-technical and cross-platform users, and will greatly reduce the amount of external processes launched at runtime. Another advantage is that the new API will allow much deeper integration with Amarok than the old scripting system. Amarok Scripting API.
What are Moodbars?
Moodbars show the mood of a song in the progress bar. More about Moodbar here.
Can I play video files?
Amarok is mainly a music player so no video file management, collection support, DVD playback, subtitles, or any other sophisticated features are available.
Est-ce Amarok, AmaroK ou amaroK ?
It is Amarok! The former spelling was amaroK, but it was changed due to its strange look around 2005.
How are track scores determined?
Amarok assigns a score (a number 0-100) to a song based on how many times you've listened to it and whether you skip the song without it finishing. Every time the song finishes playing, the score is changed.
Here you have an example script that can calculate scores:
if( playcount <= 0 ) # not supposed to be less, but what the hell.
       newscore = ( prevscore + percentage ) / 2
   else
       newscore = ( ( prevscore * playcount ) + percentage ) / ( playcount + 1 )
   end
You can easily create your own script with your own algorithm. Look at the Script-Writing-Howto for further information.
How do I manually change a track's score?
You may change the score manually in the Track Details dialog, available by right-clicking on a track, choosing Edit Track Details and going to the Summary tab.
But I also want that stars system like in other players!
Amarok, of course, supports a user-defined rating system, and you can rate your tracks with a single click using the Current Track applet. You can also do this in the context menu (right-click) Edit Track Details -> Summary tab. If you have the rating stars displayed in your playlist layout, you can also edit there, with the slow double-click.
Can I drag and drop Plasma applets from the main window to the Desktop?
No, but there are several Plasmoids available for your Desktop, which will let you display information provided by Amarok as well as control Amarok.
Comment puis-je sauvegarder un flux (stream) ?
First of all, load the stream into the playlist. There are several ways to do this: downloading the file and opening it with Amarok; using the menu Playlist -> Add stream; among others.
Once the stream is loaded, you can save it by clicking on in the Playlist pane, and giving it a meaningful name. The Stream will then be added to the Saved Playlists view for later reference.
Où trouver les paramètres de Amarok ?
`kde4-config --localprefix`/share/apps/amarok
`kde4-config --localprefix`/share/config/amarokrc

Résolution de problèmes

Comment puis je obtenir une backtrace (déboggage) ?
If Amarok has crashed and you want to report it, visit the Debugging HowTo. The bug report must be made in bugs.kde.org after verifying if it has not already been reported.
Amarok just freezes! How can I help get this fixed?
You can obtain a backtrace of a frozen instance of Amarok using gdb like so:
$ gdb -p `pidof amarok` 

 (gdb) thread apply full bt all
Then just post the backtrace to PasteBin, as described in the Debugging HowTo.
Amarok prend beaucoup de temps pour se lancer
If this happens you have to check what scripts you have installed and what internet services are running, because some of them may slow down the startup. Also, if you have streams in the playlist when you open Amarok, the startup can take a little longer. The same happens if you have a great number of tracks in the playlist (over 300 and more).
On the other hand, if you don't use KDE, but a different desktop environment, startup time can be increased very slightly because there are more libraries to be loaded.

Development questions

How do I get a GIT version of Amarok?
See the Amarok Development build instruction page. Check here for a local build: Building from Git Locally: Full Summary
Pourquoi Amarok ne fait-il pas partie de "KDE Multimédia" ?
Les paquetages inclus dans la compilation "KDE Software" ont un calendrier de sortie qui ne correspond pas avec le rythme de développement de Amarok, et puisque aucune des autres applications KDE ne dépend d' Amarok il n'y a aucun besoin de suivre leur planning de sorties.
I've found a bug / I've got a great idea for Amarok!
Please report it at bugs.kde.org. If you have a list of suggestions or wishes it may be best to send them to our mailing list: amarok@kde.org. Simply posting the idea to our IRC channels or on an obscure wiki page or blog won't help much as the information will get lost.
Do you accept patches?
Happily! Your best course of action is to let us know what you plan to do before you do any work so we can discuss it, but don't fret; we haven't turned down a patch yet! Discussion is mostly to help you patch the correct bits of Amarok. Submit your patches and code contributions to git.reviewboard.kde.org. See also How to Submit Patches to Amarok. If you have a bug fix then just go ahead; this is open source after all.
Pourquoi avez-vous choisi ce nom ː Amarok ?
"Amarok" est un album fait par le compositeur britannique Mike Oldfield. Le fondateur de projet Mark Kretschmann semble beaucoup l'aimer et il a pensé que ce nom avait un son agréable. En plus, évidemment, il contient le très important K.