# Playlist

## Playlist attuale

&kplayer; keeps a list of files, directories, streams, tracks, titles and channels that are being played or are going to be played or have recently been played. It shows the current playlist in a drop down box on the playlist toolbar. If there are any directories on the current playlist, the drop down list shows their contents instead of the directories themselves.

La barra della playlist, il menu Lettore e il menu a comparsa della playlistrecano i comandi Successivo e Precedente che dicono a &kplayer; di riprodurre rispettivamente l'elemento successivo e precedente dall'elenco. La selezione di una voce dall'elenco a discesa nella barra la renderà la voce attiva e inizierà a riprodurla.

When you ask &kplayer; to play things in any of the following ways, it wipes out the current playlist and puts the new items on it:

- any of the various Play commands on the File menu or its submenus;

- Play or Play Next command from the Library menu, except when you use them on items that are already on the current playlist;

- un comando equivalente da un menu a comparsa con un clic destro

- running &kplayer; with a file or directory path or a URL from &konqueror;, from the command line, from a script, etc.;

- Play or Play Next action in &konqueror;, &kicker; or any other program that supports those actions;

- dragging and dropping files and directories or a URL from &konqueror; or another program onto any part of &kplayer; except the multimedia library.

Esistono diversi modi per aggiungere voci alla playlist attuale:

- Queue or Queue Next command on the Library menu or the library popup menu in the multimedia library; if you use these commands on items that are already on the current playlist, &kplayer; will move them to the end of the playlist;

- Queue or Queue Next action in &konqueror;, &kicker; or any other program that supports those actions;

- Add Files... or Add URL... on the Library menu or the library popup menu in the Now Playing section of the multimedia library or from the playlist popup menu;

- dragging and dropping items from &konqueror; or another program or another part of the multimedia library into the Now Playing section of the library.

&kplayer; ha alcune opzioni che controllano il comportamento della playlist:

- Loop option tells &kplayer; to play the current playlist again from the beginning after it finishes playing it.

- L'opzione Mescola dispone gli elementi della playlist attuale in ordine casuale.

  Se è attiva anche l'opzione Ciclo, la playlist sarà rimescolata a ogni ciclo. Per rimescolare in qualsiasi momento, disabilita l'opzione Mescola e abilitala di nuovo.

  These two options are available on the playlist toolbar, the Player menu and the playlist popup menu.

- Allow duplicate entries on playlists option lets you put more than one entry with exactly the same URL on the playlist. When this option is turned off, &kplayer; will automatically remove duplicate entries from the playlist. However, you still can put the same entry in two different folders in the Now Playing section of the multimedia library, and then they both will be on the current playlist. This option also affects playlists stored in the Playlists section of the library, as well as folders in the Recent section. This option is on the General page in &kplayer; Settings.

To remove entries from the current playlist, or to change the order of entries, open the Now Playing section of the multimedia library by choosing Library Go Now Playing or right clicking the playlist drop down box on the playlist toolbar and choosing Edit. Then use the Remove, Move Up and Move Down commands from the Library menu or the library popup menu to edit the playlist. Clicking a column header in the list view resets the order of items in the current playlist folder and any expanded subfolders and sorts the folder by that column.

You can save the current playlist in the Playlists or the Collection section of the multimedia library by right clicking the playlist drop down box on the playlist toolbar and choosing Add to Playlists... or Add to Collection... respectively. The playlist will then appear on the Play List submenu of the File menu and several popup menus, as well as on the Add to submenus of the Library menu and the library popup menu. Right clicking the playlist drop down box and choosing Add to an existing playlist name will add the contents of the current playlist to the existing playlist you choose.

For more information on the multimedia library feature see the Multimedia library micro-HOWTO.

## Playlist memorizzate

To create a new playlist and store it in the Playlists section of the multimedia library, select the multimedia you want to put on it in another section of the library, choose Add to New Playlist... from the Library menu or the library popup menu, and enter the name of the new playlist. If the multimedia is already stored in a folder, you can use the Add to Playlists command instead. These commands are also available on the Actions submenu of the right click popup menu in &konqueror;, &kicker; and other programs.

The playlists you create in the Playlists section will appear on the Play List submenu of the File menu and several popup menus that lets you play a list by choosing it from the menu, as well as on the Add to submenu of the Library menu and the library popup menu that allows you add more multimedia to an existing playlist. The Maximum entries on playlist menus option on the General page of &kplayer; Settings gives the maximum number of playlists that will be included on the submenus.

Just like with the current playlist, you can edit a playlist stored in the Playlists section by opening the list in the multimedia library and using commands from the Library menu and the library popup menu, or add more items to it by dragging and dropping them onto the playlist or any of its subfolders.

Per ulteriori dettagli vedere il micro-HOWTO Raccolta multimediale.

## File di playlist

&mplayer; attualmente non può rilevare e riprodurre automaticamente i file di playlist come `m3u`, `pls`, `asx`, `ram` e così via. &kplayer; deve passare un'opzione speciale a &mplayer; per fargli riprodurre correttamente un file di playlist.

&kplayer; cerca di rilevare i file di playlist dall'estensione. A volte, però, un file di playlist non avrà un'estensione, o un file che non è di playlist ne avrà l'estensione. In questi casi la riproduzione non riuscirà. Puoi andare alla pagina Generale delle Proprietà dei file e impostare correttamente l'opzione Playlist. &kplayer; memorizzerà l'opzione e la userà la prossima volta che riproduci lo stesso file o URL.

Se impostare l'opzione Playlist non aiuta, dovrai estrarre manualmente il percorso o URL dal file e incollarlo nella finestra Riproduci URL che puoi aprire dal menu File o dalla finestra Aggiungi URL che si ottiene facendo clic con il tasto destro del mouse sulla barra della playlist e scegliendo Aggiungi URL....

Le estensioni delle playlist riconosciute da &kplayer; sono `ram`, `rpm`, `smi`, `smil`, `asx`, `m3u`, `pls` e `strm`.