Amarok/Manual/Playlist/AutomaticPlaylistGenerator: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
Line 29: Line 29:


Constraints are the building blocks of constraint trees, they are simple statements that the APG will use to add songs to the playlist it generates, to add a constraint to the currently selected preset's constraint tree use the ''Edit selected preset'' option from the APG Presets toolbar and click the ''Add new'' option on the ''APG Preset Editor'' window.
Constraints are the building blocks of constraint trees, they are simple statements that the APG will use to add songs to the playlist it generates, to add a constraint to the currently selected preset's constraint tree use the ''Edit selected preset'' option from the APG Presets toolbar and click the ''Add new'' option on the ''APG Preset Editor'' window.
----
Note that you can add many different kinds of constraints each of them works in a different way inside the tree.
Note that you can add many different kinds of constraints each of them works in a different way inside the tree.



Revision as of 14:48, 8 December 2010

Category_Amarok

Under Construction

This is a new page, currently under construction!


Automated Playlist Generator

The Automated Playlist Generator (APG) automatically generates playlists based on constraints you set, these constraints can be set based on song data (Author, Artist, Genre) or acess time(Last Time Played), there are also special constraints to determine how Amarok is going to look for songs. You will find the APG in your Media pane, Playlists -> Automated Playlist Generator.

APG Presets' toolbar

This is the APG Presets' toolbar, from left to right we have the following buttons:

  • Add new preset: Adds a blank preset that can be modified.
  • Edit selected preset: Opens up the APG Preset Editor window to edit the currently selected preset's constraints.
  • Delete selected preset: Removes the selected preset from the list, can NOT be undone.
  • Import new preset: Import a preset from a .xml file, has the potential to be malformed if edited outside amarok, use the constraint tester.
  • Export the selected preset: Export the selected preset to a .xml file that can be imported.
  • Run constraint tester: Does nothing D:
  • Run APG with selected preset: Loads APG with the selected preset and automatically generates a playlist.

Setting up Presets

APG Preset Editor window

Presets are sets of rules that Amarok's APG will use when generating playlists, these rules are going to be refered to as constraints from now on, every preset is determined by the constraints that make it up, groups of constraints hierachically and logically organized are called constraint trees.

Constraints

Constraints are the building blocks of constraint trees, they are simple statements that the APG will use to add songs to the playlist it generates, to add a constraint to the currently selected preset's constraint tree use the Edit selected preset option from the APG Presets toolbar and click the Add new option on the APG Preset Editor window. Note that you can add many different kinds of constraints each of them works in a different way inside the tree.

Constraint Types