Foobar2000:Components/Playlist History (foo playlisthistory): Difference between revisions

From Hydrogenaudio Knowledgebase
m (fix discussion link)
 
(26 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{fb2k}}
{{fb2k}}
[[Category:foobar2000 3rd-Party Components|Playlist History (foo playlisthistory)]]
[[Category:foobar2000 3rd-Party Components|Playlist History (foo playlisthistory)]]
[[Image:menu.png|thumb|right|292px|Playlist History]]
[[Image:Menu.png|thumb|right|292px|Playlist History]]
=General=
=General=
'''foo_playlisthistory''' enables playlist history in foobar2000, similar to browser history. Two commands are provided under Menu/View/Recently activated playlists: Previous playlist and Next playlist. These two commands can bound to keyboard shortcuts using Keyboard Settings in Preferences.
'''foo_playlisthistory''' enables playlist history in foobar2000, similar to page history in browsers.


The component enables easy and fast switching between (recently activated) playlists.
The component watches activated playlists and provides the user ''back'' and ''next'' buttons to navigate the ''playlist history''.
 
Two commands are provided under the ''View/Recently activated playlists'': ''Previous playlist'' and ''Next playlist''. These two commands can bound to keyboard shortcuts using ''Keyboard Settings'' in ''Preferences'' (see [[#Getting started|Getting started]] section for details).
 
From 0.1.4 onwards the component includes ''Restore last removed playlist'' command in the ''Edit'' menu.
 
The component enables easy and fast switching between recently activated playlists.


===Download link===
===Download link===
The component is available from [notYet here]. Install the .zip package in "Preferences > Components" (the preferable method), or manually by unziping '''foo_playlisthistory.dll''' to foobar2000 components directory.
The component is available [http://www.foobar2000.org/components/view/foo_playlisthistory here]. Install the .zip package in "Preferences > Components" (the preferable method), or manually by unziping '''foo_playlisthistory.dll''' to foobar2000 components directory.


Source code for the component is available at [https://github.com/ssalonen/foo_playlisthistory]. The component is distributed under very permissive BSD license.
Source code for the component is available at [https://github.com/ssalonen/foo_playlisthistory]. The component is distributed under very permissive BSD license.


===Discussion===
===Discussion===
Please use [insert link this thread] to provide feedback, or to report any bugs you might have found.
Please use [http://www.hydrogenaudio.org/index.php?topic=86082 this thread] to provide feedback, or to report any bugs you might have found.


===Requirements===
===Requirements===
foobar2000 1.x. The component will not work with previous versions of foobar.
foobar2000 1.1. The component will not work with previous versions of foobar.


===Getting started===
===Getting started===
The component is usable immediately, no configuration is necessary.
The component is usable immediately, no configuration is necessary.


However, '''I recommend binding ''Previous playlist'' and ''Next playlist'' to keyboard shortcuts'''. This can be done as follows:
Two commands are provided under the ''View/Recently activated playlists'': ''Previous playlist'' and ''Next playlist''. If you like, these two commands can bound to keyboard shortcuts as follows:
* Open foobar preferences using Ctrl+P
* Open foobar preferences using Ctrl+P
* Press ''Add new'' Button
* Click ''Keyboard shortcuts'' (on the left)
* Press ''Add new'' Button (on the right)
* Type ''recently'' to ''Filter list by'' text box to filter commands
* Type ''recently'' to ''Filter list by'' text box to filter commands
* Choose ''Previous playlist'' under ''View/Recently activated playlists''
* Choose ''Previous playlist'' under ''View/Recently activated playlists''
Line 33: Line 40:
The same procedure can be repeated for ''Next playlist''<->Alt+Right binding.
The same procedure can be repeated for ''Next playlist''<->Alt+Right binding.


=Features and Usage=
In addition to the above commands, the component features 'Restore last removed playlist' command, available in the ''Edit'' menu.
As stated before the component supports two kind of interfaces: UI element (CUI/DUI) and a special playlist for displaying/editing queue contents.


=== UI Element ===
=Configuration=
[[Image:item_context.png|thumb|right|275px|UI Element: Context menu for queue items]]
The only configuration is ''After delete go to last active playlist'' in the ''View/Recently activated playlists'' menu.  
[[Image:header_context.png|thumb|right|275px|UI Element: Context menu for column header]]
UI element works with both popular user interfaces for foobar: Default UI and Columns UI.
Following features are supported in each:
* Views items currently in the queue using interface similar to foobar default playlist component.
* Reorder queue items by drag & drop, and by using keyboard shortcuts similar to foobar default playlist component.
* Delete queue items through the context menu, or pressing the delete key.
* Add items to queue by drag & drop. Files can be dragged either outside or inside from foobar. Files that are dragged from a foobar playlist are queued in the same way they would have been with the ''Add to Playback Queue'' command.
* Fully user-customizable columns in the UI element. You can add, delete and reorder columns however you like. User can define new columns with custom format strings from the preferences.
* Optionally auto-size of columns so that ''column width/element width'' ratio is kept constant (''Auto-scale Columns with Window Size'').
* Optionally show or hide the column header. You can always show the column header by clicking anywhere in the UI element and clicking ''Show Column Header''.


=Configuration=
If the setting is enabled (checked) and the currently visible playlist is removed, the last used (i.e. visible) playlist will be activated. Foobar default behaviour is preserved when setting is disabled (not checked); this is the default setting.
There is no configuration necessary (nor it is possible).


=Change Log=
=Change Log=
* '''1.0 / 2010-01-10'''
* '''0.1.6 / 2011-05-04'''
* Initial release
** Rebuilt with foobar SDK 1.1. From now on requires at least foobar 1.1.
* '''0.1.5 / 2011-01-18'''
** Potential race condition resolved.
* '''0.1.4 / 2011-01-14'''
** Playlist removals no longer produce history which contain the same playlist many times in the row.
** 'Restore last removed playlist' command added to Edit menu. Effect is same as the standard 'restore' command when right clicking the playlist manager.
* '''0.1.3 / 2011-01-12'''
** Cleaned up main menu a little bit: it now includes a separator for commands.
* '''0.1.2 / 2011-01-12'''
** 'After delete go to last active playlist' feature added. If activated and the currently active playlist is removed, the last used playlist will be activated (First requested [http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=77808&view=findpost&p=679792 here].)
* '''0.1.1 / 2011-01-11'''
** More verbose component description added.
* '''0.1 / 2011-01-10'''
** Initial release

Latest revision as of 11:19, 30 January 2023

Foobar2000_Logo.png
Playlist History

General

foo_playlisthistory enables playlist history in foobar2000, similar to page history in browsers.

The component watches activated playlists and provides the user back and next buttons to navigate the playlist history.

Two commands are provided under the View/Recently activated playlists: Previous playlist and Next playlist. These two commands can bound to keyboard shortcuts using Keyboard Settings in Preferences (see Getting started section for details).

From 0.1.4 onwards the component includes Restore last removed playlist command in the Edit menu.

The component enables easy and fast switching between recently activated playlists.

Download link

The component is available here. Install the .zip package in "Preferences > Components" (the preferable method), or manually by unziping foo_playlisthistory.dll to foobar2000 components directory.

Source code for the component is available at [1]. The component is distributed under very permissive BSD license.

Discussion

Please use this thread to provide feedback, or to report any bugs you might have found.

Requirements

foobar2000 1.1. The component will not work with previous versions of foobar.

Getting started

The component is usable immediately, no configuration is necessary.

Two commands are provided under the View/Recently activated playlists: Previous playlist and Next playlist. If you like, these two commands can bound to keyboard shortcuts as follows:

  • Open foobar preferences using Ctrl+P
  • Click Keyboard shortcuts (on the left)
  • Press Add new Button (on the right)
  • Type recently to Filter list by text box to filter commands
  • Choose Previous playlist under View/Recently activated playlists
  • Click Key textbox and press Alt+Left using keyboard
  • Click Apply

Now Previous playlist functionality is mapped to Alt+Left key combination (similar to most browsers and Windows Explorer).

The same procedure can be repeated for Next playlist<->Alt+Right binding.

In addition to the above commands, the component features 'Restore last removed playlist' command, available in the Edit menu.

Configuration

The only configuration is After delete go to last active playlist in the View/Recently activated playlists menu.

If the setting is enabled (checked) and the currently visible playlist is removed, the last used (i.e. visible) playlist will be activated. Foobar default behaviour is preserved when setting is disabled (not checked); this is the default setting.

Change Log

  • 0.1.6 / 2011-05-04
    • Rebuilt with foobar SDK 1.1. From now on requires at least foobar 1.1.
  • 0.1.5 / 2011-01-18
    • Potential race condition resolved.
  • 0.1.4 / 2011-01-14
    • Playlist removals no longer produce history which contain the same playlist many times in the row.
    • 'Restore last removed playlist' command added to Edit menu. Effect is same as the standard 'restore' command when right clicking the playlist manager.
  • 0.1.3 / 2011-01-12
    • Cleaned up main menu a little bit: it now includes a separator for commands.
  • 0.1.2 / 2011-01-12
    • 'After delete go to last active playlist' feature added. If activated and the currently active playlist is removed, the last used playlist will be activated (First requested here.)
  • 0.1.1 / 2011-01-11
    • More verbose component description added.
  • 0.1 / 2011-01-10
    • Initial release