foo_playlist_attributes

foo_playlist_attributes is a foobar2000 component for assigning various attributes to a playlist. In the following the main dialogs and options are explained.

Note: If you don't see the images of the dialogs, you are using a browser, which doesn't support embedded images. You can find a list of compatible browsers here.

Preferences: Playlist attributes dialog



Here you can specify the attributes for each playlist. Example:

Initial state:
Global playback order before playback: Default
Playlist playback order before playback: Random

There are now four scenarios, which can happen during a playback session:

1. No playback order was changed
Global playback order after playback: Default
Playlist playback order after playback: Random

2. The global playback order was not changed, the playlist playback order was changed to Repeat (track)
Global playback order after playback: Default
Playlist playback order after playback: Repeat (track)

3. The global playback was changed to Repeat (track), the playlist playback order was not changed
Global playback order after playback: Repeat (track)
Playlist playback order after playback: Random

4. The global playback was changed to Repeat (track), the playlist playback order was changed to Shuffle (tracks)
Global playback order after playback: Repeat (track)
Playlist playback order after playback: Shuffle (tracks)

For every attribute the global value means, that there is no specific attribute for the selected playlist and the global settings will be used.

Playlist: The playlist, for which the attributes shall be set. Switching the playlist automatically applies all changes for the current playlist.

Playback order: The playback order for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes).

Stop after current: Enable or disable "Stop after current" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes).

Bookmark last playback position: Enable or disable "Bookmark last playback position" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If this attribute is enabled, the next time playback is started for this playlist, it starts at the position it was stopped before. If playback starts with another track as it has stopped before, this track starts from the beginning. Starting playback for the same track twice or more, starts this track from the beginning, too.

Playback on active playlist: Enable or disable "Playback on active playlist" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If this attribute is enabled, playback is forced to play from this playlist, if it is the active one, even if the last playing playlist was another one.

Start playback on first track: Enable or disable "Start playback on first track" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If this attribute is enabled, playback is forced to play from the first track of the playing playlist, if playback was started with the default play command.

Replaygain settings: The replaygain settings for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes).

DSP settings: The DSP settings for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes).

Remove played tracks: Enable or disable "Remove played tracks" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If this attribute is enabled, the currently playing track is removed from the playlist, when the track ends.

Remove skipped tracks: Enable or disable "Remove skipped tracks" for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If this attribute is enabled, the currently playing track is removed from the playlist, when another track is started before the actual track ends.

Copy played tracks to playlist: Specify a playlist where the currently playing track should be copied, when it ends, for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If no playlist is specified, no copy action will take place. If a locked playlist is specified the track is copied to a new playlist.

Copy skipped tracks to playlist: Specify a playlist where the currently playing track should be copied, when it is skipped, for the selected playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If no playlist is specified, no copy action will take place. If a locked playlist is specified the track is copied to a new playlist.

Prioritized playlist: Specify a playlist, which will be used for playback of the next track instead of the current playing playlist, whenever it contains items. A prioritized playlist cannot have another prioritized playlist. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If no playlist is specified, this attribute is switched off. This attribute should be combined with Remove played tracks.

Continue on playlist: Specify a playlist, on which playback will continue, if the playback stops on the current playlist because no more items for playback are left (e.g. playback reaches the end of the playlist with the playback order "Default). For the special value "- Last playlist -" the playback will continue on that playlist, on which tracks were played before, if any. This value is not persistent between program sessions. This option is also available for the active playlist from the main menu (Edit -> Playlist attributes). If no playlist is specified, this attribute is switched off.

Playlist restrictions: Open the Playlist restrictions dialog.

Copy attributes: Open the Copy attributes dialog.

Templates: Open the Attribute templates dialog.

Main menu: Edit -> Playlist attributes

All attributes above are also available for the active playlist via the main menu. Additionally also the following attribute is available there:

Stop after focused track :  Set a stop mark to the currently focused track of the active playlist, so that playback will stop after this track was played. The stop mark will automatically  removed after the playback stopped on this track. To display the value of the stop mark, which is the relevant playlist index for the active and the playing playlist, the title format variables %pla_stop_focused_track_active% and %pla_stop_focused_track_playing% are available.

This functionality is also available in the playlist context menu. It will always be applied to the focused track by ignoring the current selection.

Preferences: Playback settings dialog



Here you can specify some global attributes, which are implemented by this component.

Bookmark last playback position: Enable or disable "Bookmark last playback position" globally (for the all playlist). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Playback on active playlist: Enable or disable "Playback on active playlist" globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Start playback on first track: Enable or disable "Start playback on first track" globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Remove played tracks: Enable or disable "Remove played tracks" globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Remove skipped tracks: Enable or disable "Remove skipped tracks" globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Copy played tracks to playlist: Specify a playlist where the currently playing track should be copied, when it ends, globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Copy skipped tracks to playlist: Specify a playlist where the currently playing track should be copied, when it is skipped, globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Prioritized playlist: Specify a playlist, which will be used for playback instead of the current playing playlist, whenever it contains items., globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.

Continue on playlist: Specify a playlist, on which playback will continue, if the playback stops on the current playlist because no more items for playback are left, globally (for all playlists). This option is also available from the main menu (Playback -> Playlist attributes). For more information see here.


Playlist restrictions dialog



Here you can specify which actions should be disabled for a playlist. This dialog can be opened from the playlist attributes preferences page for a selected playlist, from the main menu (Edit -> Playlist attributes) for the active playlist and from several playlist managers, if at least one option is already selected. This dialog is not available, if the affected playlist is already locked by other means. This is the case for example for all auto-playlists.

Disable adding items: Selecting this option will disallow adding tracks to the selected playlist.

Disable removing items: Selecting this option will disallow removing tracks from the selected playlist.

Disable replacing items: Selecting this option will disallow replacing tracks on the selected playlist (for example, when the file name belonging to an item will be changed)

Disable reordering items: Selecting this option will disallow reordering the tracks of the selected playlist.

Disable renaming the playlist: Selecting this option will disallow renaming the selected playlist.

Disable removing the playlist: Selecting this option will disallow removing the selected playlist.


Copy attributes dialog



Here you can copy the attributes from one playlist to one or more other playlists.

Source playlist: Select the playlist from which you want to copy the attributes.

Destination playlist: Specify a playlist name or a pattern as destination. For more information see here.

Remove attributes for the destination, if they are not present for the source: If this option is not selected, already existing attributes for the destination will not be overridden with "- Global -", if this is setting for the source.


Attribute templates dialog



Here you can define attribute templates, which will applied, when a playlist is created or renamed. The templates will be searched in alphabetical order. The first matching template will be applied.

Note: On program start all playlists will be handled as created. So avoid using a pattern like '*' because it would assign it's attributes to all playlists on program start.

Template: Select a template.

New: Create a new template.

Copy: Copy the selected template to a new template.

Delete: Delete the selected template.

Rename: Rename the selected template.

Pattern: Specify a pattern, which will decide, for which playlists the template will be applied. For the given example, the attributes will be applied to all playlists which begin with 'A' and have at least two characters or which begin with 'Genre_' or 'Artist_'.

All the others: For an explanation for these options see here.


Advanced options

Use last playing playlist for playback after program restart: Currently foobar2000 chooses as playlist to play from the active playlist after program start. With this option you can instruct foobar2000 to use the playing playlist from the last program session.

Use DSP for smooth transitions: In certain situations (play bookmarked track, play on prioritized playlist, ...) playback already starts before an action based on an attribute can be applied. In such cases a small piece of music might be heard before the action starts with the actual track. The DSP will prevent this.