Amarok/Manual/Playlist/AutomaticPlaylistGenerator

    From KDE UserBase Wiki
    Revision as of 19:30, 2 September 2013 by Fri (talk | contribs) (Created page with "* {{Icon|document-export}} Vyvede přednastavení do souboru .xml, který lze zase zavést.")
    Other languages:

    Automatický tvůrce seznamu skladeb

    Automatický tvůrce seznamu skladeb automaticky tvoří seznamy skladeb založené na vámi nastavených omezeních. Tato omezení mohou být nastavena podle dat písně (umělec, žánr, rok) nebo času přístupu (naposledy hráno). Jsou i zvláštní omezení, která určují, jak způsobem Amarok bude hledat písně. Automatického tvůrce seznamu skladeb najdete v poli s hudebními zdroji, Seznamy skladeb -> Automatický tvůrce seznamu skladeb.

    Nástrojový pruh s přednastaveními pro automatického tvůrce seznamu skladeb

    Toto je nástrojový pruh s přednastaveními pro automatického tvůrce seznamu skladeb. Zleva doprava máme následující tlačítka:

    • Přidá prázdné přednastavení, které lze upravit.
    • Otevře okno editoru přednastavení pro automatického tvůrce seznamu skladeb, ve kterém se dají upravit omezení nyní vybraného přednastavení.
    • Odstraní vybrané přednastavení ze seznamu; nelze vrátit zpět.
    • Zavede přednastavení ze souboru .xml. Je tu možnost, že přednastavení bude poroucháno, pokud bylo upraveno mimo Amarok. Použijte zkoušeče omezení.
    • Vyvede přednastavení do souboru .xml, který lze zase zavést.
    • Loads APG with the selected preset and automatically generates a playlist.

    Práce s přednastaveními

    APG Preset Editor window

    Presets are sets of rules that Amarok APG will use when generating playlists. These rules are going to be referred to as constraints from now on; every preset is determined by the constraints which create it. Groups of constraints hierarchically and logically organized are called constraint trees.

    Omezení

    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 constraint tree click the button in the APG Preset toolbar and click the Add new option on the APG Preset Editor window. Note that this will add the constraint under the selected item (constraint or constraint group).

    Many different kinds of constraints can be added; each works in a different way inside the tree.

    Typy omezení

    APG Amaroku podporuje několik typů omezení:

    Omezení Popis
    Match Tags The most important constraints, because they can be set to virtually any information regarding the file, including: artist name, album name, genre, year, last played, and score.
    Playlist Duration Set the running time (in HH:MM:SS format) that the playlist should have
    Playlist Length Determine how many songs should be in the playlist
    Checkpoint Tell Amarok where to start and stop looking for tracks
    Prevent Duplicates Prevent Amarok from selecting the same tracks, songs from the same artist, or the same album

    Note that you can change how constraints work in various manners, such as setting the fuzzy-exact slider, which determines how closely the constraint is going to be followed.

    Another way to modify constraints that is present on Match Tags with a textbased tag is found in the line below the Field option box. In the text field to the right you write the text to be matched and in the option box at the left of the value you can select contains (which will consider any songs that have the according text in their tag), matches (which will consider songs whose corresponding tag match exactly the one in the text box), starts with and ends with.

    Similarly, you can also edit the way value-based constraints (such as the Playlist Length constraints and the playcount Match Tag constraint) behave by changing the option close to the text to settings such as fewer than, equals and more than.

    Another way to change constraint behavior is to check the invert checkbox on them, this makes them behave the opposite way, a "Match Tag: artist contains name" becomes "Match Tag: artist not contains name".

    Skupiny omezení

    Constraint groups can be added from the Add new option from the APG Preset Editor window, constraints under a group are logically linked, the same applies to groups under groups. There are currently two kinds of constraint groups: "Match all" groups and "Match any" groups. "Match all" groups require that all the constraints under them are met by the song. "Match any" groups require that at least one of the constraints under them are met by the song. To add a constraint under a specific group highlight it on the preset editor and use the Add new option.

    Používání vašich přednastavení

    Once you set up a preset, you just have to select it on the APG Presets panel in the Automated Playlist Generator (APG) and click the toolbar to run APG with the selected preset. You will then have a playlist matching your criteria, like this:

    Seznamy skladeb vytvořený stromem omezení níže.