actions: implement filtering playlist on priorities
This commit is contained in:
@@ -44,7 +44,8 @@ enum ActionType
|
||||
aApplyFilter, aFind, aFindItemForward, aFindItemBackward, aNextFoundItem,
|
||||
aPreviousFoundItem, aToggleFindMode, aToggleReplayGainMode, aToggleSpaceMode, aToggleAddMode,
|
||||
aToggleMouse, aToggleBitrateVisibility, aAddRandomItems, aToggleBrowserSortMode, aToggleLibraryTagType,
|
||||
aRefetchLyrics, aRefetchArtistInfo, aSetSelectedItemsPriority, aShowSongInfo, aShowArtistInfo,
|
||||
aRefetchLyrics, aRefetchArtistInfo, aSetSelectedItemsPriority, aFilterPlaylistOnPriorities,
|
||||
aShowSongInfo, aShowArtistInfo,
|
||||
aShowLyrics, aQuit, aNextScreen, aPreviousScreen, aShowHelp, aShowPlaylist, aShowBrowser,
|
||||
aShowSearchEngine, aShowMediaLibrary, aShowPlaylistEditor, aShowTagEditor, aShowOutputs,
|
||||
aShowVisualizer, aShowClock, aShowServerInfo
|
||||
@@ -915,6 +916,16 @@ protected:
|
||||
virtual void Run();
|
||||
};
|
||||
|
||||
struct FilterPlaylistOnPriorities : public Action
|
||||
{
|
||||
FilterPlaylistOnPriorities()
|
||||
: Action(aFilterPlaylistOnPriorities, "filter_playlist_on_priorities") { }
|
||||
|
||||
protected:
|
||||
virtual bool canBeRun() const;
|
||||
virtual void Run();
|
||||
};
|
||||
|
||||
struct ShowSongInfo : public Action
|
||||
{
|
||||
ShowSongInfo() : Action(aShowSongInfo, "show_song_info") { }
|
||||
|
||||
Reference in New Issue
Block a user