Amarok/Manual/Playlist/DynamicPlaylists: Difference between revisions

From KDE UserBase Wiki
(Explanation for PartBias)
m (fix levels)
Line 5: Line 5:
{{Construction}}
{{Construction}}


== Dynamic Playlists ==
=== Dynamic Playlists ===


Some media players are designed to load the entire collection of music in a single playlist, then play it in random order, or search/ sorted, then queued. With a larger collection, this way of managing your playlist isn't efficient. '''Amarok'''<nowiki>'s</nowiki> ''Dynamic Playlist'' is a better way to explore your music.
Some media players are designed to load the entire collection of music in a single playlist, then play it in random order, or search/ sorted, then queued. With a larger collection, this way of managing your playlist isn't efficient. '''Amarok'''<nowiki>'s</nowiki> ''Dynamic Playlist'' is a better way to explore your music.
Line 15: Line 15:
[[Image:Amarok-newdynamic-detail.png|center|285px]]
[[Image:Amarok-newdynamic-detail.png|center|285px]]


=== How the Dynamic Playlist works ===
==== How the Dynamic Playlist works ====


The dynamic playlist is a list that grows while you listen to your music.
The dynamic playlist is a list that grows while you listen to your music.
Line 21: Line 21:
The songs that will be added to the front of the playlist are determined by the currently selected dynamic playlist.
The songs that will be added to the front of the playlist are determined by the currently selected dynamic playlist.


=== Using a Dynamic Playlist ===
==== Using a Dynamic Playlist ====


To enable dynamic playlists, click the <menuchoice>Turn dynamic playlist on</menuchoice> button (the one with the small dice) in the dynamic playlist pane. A bar will be displayed at the top of the playlist pane announcing that it is enabled. Select which dynamic playlist to use from the list of options by double clicking it. The currently selected dynamic playlist is bolded.
To enable dynamic playlists, click the <menuchoice>Turn dynamic playlist on</menuchoice> button (the one with the small dice) in the dynamic playlist pane. A bar will be displayed at the top of the playlist pane announcing that it is enabled. Select which dynamic playlist to use from the list of options by double clicking it. The currently selected dynamic playlist is bolded.
Line 27: Line 27:
You can adjust the number of songs before and after the currently playing song to be displayed in the playlist with the <menuchoice>Previous</menuchoice> and <menuchoice>Upcoming</menuchoice> fields. You can prevent the same track appearing in the current playlist more than once using the <menuchoice>Allow duplicate songs in result</menuchoice> button. The <menuchoice>Repopulate</menuchoice> button allows you to generate a new set of tracks. This can be used together with a high <menuchoice>Upcoming</menuchoice> setting to generate fixed playlists for export.
You can adjust the number of songs before and after the currently playing song to be displayed in the playlist with the <menuchoice>Previous</menuchoice> and <menuchoice>Upcoming</menuchoice> fields. You can prevent the same track appearing in the current playlist more than once using the <menuchoice>Allow duplicate songs in result</menuchoice> button. The <menuchoice>Repopulate</menuchoice> button allows you to generate a new set of tracks. This can be used together with a high <menuchoice>Upcoming</menuchoice> setting to generate fixed playlists for export.


=== Defining Dynamic Playlists ===
==== Defining Dynamic Playlists ====


Each dynamic playlist is built of biases. A bias defines a particular constraint on the behaviour of the dynamic playlist, and new items to be added to the playlist are selected at random from a list of all songs which match the biases. Biases may either be a single bias (e.g. the ''Search'' bias) or a grouping of other biases (e.g. the ''Match All'' bias). Some examples playlists are included, and you can define a new playlist with the <menuchoice>New playlist</menuchoice> button.
Each dynamic playlist is built of biases. A bias defines a particular constraint on the behaviour of the dynamic playlist, and new items to be added to the playlist are selected at random from a list of all songs which match the biases. Biases may either be a single bias (e.g. the ''Search'' bias) or a grouping of other biases (e.g. the ''Match All'' bias). Some examples playlists are included, and you can define a new playlist with the <menuchoice>New playlist</menuchoice> button.
Line 33: Line 33:
To change the name of a playlist, either use the <menuchoice>Edit the selected playlist or bias</menuchoice> button or right click on it and select <menuchoice>Rename playlist</menuchoice>. A bias can be edited with the same button or by right-clicking and selecting <menuchoice>Edit bias</menuchoice>, and for biases which have sub-biases, a new sub-bias can be added by right clicking and selecting <menuchoice>Add new bias</menuchoice>.
To change the name of a playlist, either use the <menuchoice>Edit the selected playlist or bias</menuchoice> button or right click on it and select <menuchoice>Rename playlist</menuchoice>. A bias can be edited with the same button or by right-clicking and selecting <menuchoice>Edit bias</menuchoice>, and for biases which have sub-biases, a new sub-bias can be added by right clicking and selecting <menuchoice>Add new bias</menuchoice>.


==== Biases ====
===== Biases =====


An explanation of each available bias and any options it takes follows.
An explanation of each available bias and any options it takes follows.
Line 63: Line 63:
: This bias matches tracks which are on the weekly charts from Last.fm for a given time period.
: This bias matches tracks which are on the weekly charts from Last.fm for a given time period.


=== A dynamic playlist in use ===
==== A dynamic playlist in use ====


[[File:Amarok-newdynamic.png|center|500px]]
[[File:Amarok-newdynamic.png|center|500px]]


== Old (2.4.1 and earlier) Dynamic Playlist ==
=== Old (2.4.1 and earlier) Dynamic Playlist ====


[[Image:Dynamic_playlist.png|center|300px]]
[[Image:Dynamic_playlist.png|center|300px]]


=== Biases ===
===== Biases =====


Biases are what makes your dynamic playlist special! The default value for the dynamic playlist, with no biases, is random play. Biases of various sorts will alter that in different ways.
Biases are what makes your dynamic playlist special! The default value for the dynamic playlist, with no biases, is random play. Biases of various sorts will alter that in different ways.


==== Proportional Bias ====
===== Proportional Bias =====


Proportional biases match a certain portion of the playlist to a specific value, such as Artist, Composer, Title, Genre, Year, etc. You can specify as many biases as you like to work together. This is a very flexible way of choosing your playlist.
Proportional biases match a certain portion of the playlist to a specific value, such as Artist, Composer, Title, Genre, Year, etc. You can specify as many biases as you like to work together. This is a very flexible way of choosing your playlist.
Line 81: Line 81:
Don't be confused, though -- a dynamic playlist containing the following two biases: 50% Artist: Michael Jackson, 50% Genre:Rock can contain tracks that are from neither Michael Jackson nor have a Rock genre. This is because while both biases are used, half the time a track will be chosen which is Jackson, and half the time not, and the same for Rock. So if you want 50/50 Jackson and Rock, set the biases to 100% for each.
Don't be confused, though -- a dynamic playlist containing the following two biases: 50% Artist: Michael Jackson, 50% Genre:Rock can contain tracks that are from neither Michael Jackson nor have a Rock genre. This is because while both biases are used, half the time a track will be chosen which is Jackson, and half the time not, and the same for Rock. So if you want 50/50 Jackson and Rock, set the biases to 100% for each.


==== Custom Bias ====
===== Custom Bias =====


This is where you will find the new Last.fm and Echo Nest biases. Use Last.fm or Echo Nest to bias the playlist towards artists who are similar to either the currently playing artist, your weekly top artists in Last.fm; or for Echo Nest, the current playlist as a whole.
This is where you will find the new Last.fm and Echo Nest biases. Use Last.fm or Echo Nest to bias the playlist towards artists who are similar to either the currently playing artist, your weekly top artists in Last.fm; or for Echo Nest, the current playlist as a whole.
Line 87: Line 87:
This function will use as a seed whatever song is playing when the playlist is repopulated so your music evolves as you listen, while remaining somewhat similar to whatever is currently playing.
This function will use as a seed whatever song is playing when the playlist is repopulated so your music evolves as you listen, while remaining somewhat similar to whatever is currently playing.


==== Fuzzy Bias ====
===== Fuzzy Bias =====


Fuzzy bias will match an approximate value and has a strictness field, as opposed to a percentage one. More strictness means more exact matches. The resulting playlist will consist of tracks normally distributed around the requested value.
Fuzzy bias will match an approximate value and has a strictness field, as opposed to a percentage one. More strictness means more exact matches. The resulting playlist will consist of tracks normally distributed around the requested value.


=== Using your Dynamic Playlist ===
==== Using your Dynamic Playlist ====


To enable the dynamic playlist you have created simply check the <menuchoice>On</menuchoice> box in the upper-left corner of the pane. To regenerate the entire playlist at any time, click <menuchoice>Repopulate</menuchoice>, to the right of <menuchoice>On</menuchoice>.
To enable the dynamic playlist you have created simply check the <menuchoice>On</menuchoice> box in the upper-left corner of the pane. To regenerate the entire playlist at any time, click <menuchoice>Repopulate</menuchoice>, to the right of <menuchoice>On</menuchoice>.
Line 99: Line 99:
Below that are is the dropdown menu for loading saved playlists, the <menuchoice>Save</menuchoice> button, and the <menuchoice>Delete</menuchoice> button.
Below that are is the dropdown menu for loading saved playlists, the <menuchoice>Save</menuchoice> button, and the <menuchoice>Delete</menuchoice> button.


=== A dynamic playlist in use ===
==== A dynamic playlist in use ====


[[File:Amarok_dynamic_playlist.png|center|500px]]
[[File:Amarok_dynamic_playlist.png|center|500px]]

Revision as of 18:31, 5 November 2011


Under Construction

This is a new page, currently under construction!


Dynamic Playlists

Some media players are designed to load the entire collection of music in a single playlist, then play it in random order, or search/ sorted, then queued. With a larger collection, this way of managing your playlist isn't efficient. Amarok's Dynamic Playlist is a better way to explore your music.

The Dynamic Playlist is reached from Playlists -> Dynamic Playlists in the Media Sources pane.

These instructions are for the new version of the dynamic playlist in Amarok 2.4.2 and above. See below for 2.4.1 and older.

How the Dynamic Playlist works

The dynamic playlist is a list that grows while you listen to your music. It will keep a certain number of songs in front of the currently played song and it will clean up the playlist by removing old songs. The songs that will be added to the front of the playlist are determined by the currently selected dynamic playlist.

Using a Dynamic Playlist

To enable dynamic playlists, click the Turn dynamic playlist on button (the one with the small dice) in the dynamic playlist pane. A bar will be displayed at the top of the playlist pane announcing that it is enabled. Select which dynamic playlist to use from the list of options by double clicking it. The currently selected dynamic playlist is bolded.

You can adjust the number of songs before and after the currently playing song to be displayed in the playlist with the Previous and Upcoming fields. You can prevent the same track appearing in the current playlist more than once using the Allow duplicate songs in result button. The Repopulate button allows you to generate a new set of tracks. This can be used together with a high Upcoming setting to generate fixed playlists for export.

Defining Dynamic Playlists

Each dynamic playlist is built of biases. A bias defines a particular constraint on the behaviour of the dynamic playlist, and new items to be added to the playlist are selected at random from a list of all songs which match the biases. Biases may either be a single bias (e.g. the Search bias) or a grouping of other biases (e.g. the Match All bias). Some examples playlists are included, and you can define a new playlist with the New playlist button.

To change the name of a playlist, either use the Edit the selected playlist or bias button or right click on it and select Rename playlist. A bias can be edited with the same button or by right-clicking and selecting Edit bias, and for biases which have sub-biases, a new sub-bias can be added by right clicking and selecting Add new bias.

Biases

An explanation of each available bias and any options it takes follows.

Search
This bias matches tracks found by a given search query. It uses the same search string used in the collection browser. You may also use the Match meta tag bias to match tags in the same way as the collection search editor.
Random
This bias matches any track, entirely at random.
And
This group bias matches tracks which match all sub-biases.
Or
This group bias matches tracks which match any sub-biases.
Partition
This group bias matches tracks from the sub-biases in proportion. The edit window for this bias has sliders for each sub-bias to adjust the proportions. For example, with two sub-biases with their proportion sliders set equal, half of the playlist will match one bias and half the other.
Note: The dynamic playlist is internally working with more tracks than you can see, so after clicking "refresh" the list might not contain a 50:50 distribution of songs. However as you continue listening to music you will see that in the end it actually matches.
If Else
This group bias matches tracks from the first sub bias unless there are no matching tracks found, in which case it matches tracks from the second sub-bias. See the example Album Play playlist for an example of this in use.
Match Meta Tag
This bias matches tracks which meet certain conditions on a tag. The selection interface is the same as the search filter editor in the collection browser. Select a tag type from the drop-down and fill in the constraint. (Hint: You can use a number of these in an And bias.)
Album Play
This bias matches tracks related to the previous item in the playlist by album. You can select the details of the bias from the drop-down menu. For example, "Track directly follows previous track in album" is used in the example Album Play playlist to ensure full albums are played in order.
Quiz Play
This bias matches tracks for which the first character of a given tag (title, artist or album) is the same as the last character of the same tag for the previous tag. For example, with artist selected, you could have the following series: Led Zeppelin -> Nine Inch Nails -> Santana, e.t.c.
EchoNest similar artist
This bias matches tracks which are similar according to EchoNest, either to the previous track or to any track in the playlist. This allows you to play a set of consistent tracks simply by adding a single track to the playlist and turning on the dynamic playlist, rather than defining all the match rules yourself.
Last.fm similar
This bias performs the same function as the EchoNest bias, but uses Last.fm to determine similarity. You can also choose similarity to the previous track or to the previous artist.
Last.fm weekly top artist
This bias matches tracks which are on the weekly charts from Last.fm for a given time period.

A dynamic playlist in use

Old (2.4.1 and earlier) Dynamic Playlist =

Biases

Biases are what makes your dynamic playlist special! The default value for the dynamic playlist, with no biases, is random play. Biases of various sorts will alter that in different ways.

Proportional Bias

Proportional biases match a certain portion of the playlist to a specific value, such as Artist, Composer, Title, Genre, Year, etc. You can specify as many biases as you like to work together. This is a very flexible way of choosing your playlist.

Don't be confused, though -- a dynamic playlist containing the following two biases: 50% Artist: Michael Jackson, 50% Genre:Rock can contain tracks that are from neither Michael Jackson nor have a Rock genre. This is because while both biases are used, half the time a track will be chosen which is Jackson, and half the time not, and the same for Rock. So if you want 50/50 Jackson and Rock, set the biases to 100% for each.

Custom Bias

This is where you will find the new Last.fm and Echo Nest biases. Use Last.fm or Echo Nest to bias the playlist towards artists who are similar to either the currently playing artist, your weekly top artists in Last.fm; or for Echo Nest, the current playlist as a whole.
This function will use as a seed whatever song is playing when the playlist is repopulated so your music evolves as you listen, while remaining somewhat similar to whatever is currently playing.

Fuzzy Bias

Fuzzy bias will match an approximate value and has a strictness field, as opposed to a percentage one. More strictness means more exact matches. The resulting playlist will consist of tracks normally distributed around the requested value.

Using your Dynamic Playlist

To enable the dynamic playlist you have created simply check the On box in the upper-left corner of the pane. To regenerate the entire playlist at any time, click Repopulate, to the right of On.

The default number of items in the playlist is your 5 previous plays plus 10 upcoming items. With the currently playing track, this makes 16 items in the playlist at any given time. The number of tracks can be changed right below the On checkbox.

Below that are is the dropdown menu for loading saved playlists, the Save button, and the Delete button.

A dynamic playlist in use