media library: add support for sorting by mtime
This commit is contained in:
committed by
Andrzej Rybczak
parent
add40d542d
commit
b487f10f10
@@ -43,7 +43,7 @@ enum ActionType
|
||||
aCropMainPlaylist, aCropPlaylist, aClearMainPlaylist, aClearPlaylist, aSortPlaylist, aReversePlaylist,
|
||||
aApplyFilter, aFind, aFindItemForward, aFindItemBackward, aNextFoundItem,
|
||||
aPreviousFoundItem, aToggleFindMode, aToggleReplayGainMode, aToggleSpaceMode, aToggleAddMode,
|
||||
aToggleMouse, aToggleBitrateVisibility, aAddRandomItems, aToggleBrowserSortMode, aToggleLibraryTagType,
|
||||
aToggleMouse, aToggleBitrateVisibility, aAddRandomItems, aToggleBrowserSortMode, aToggleLibraryTagType, aToggleMediaLibrarySortMode,
|
||||
aRefetchLyrics, aRefetchArtistInfo, aSetSelectedItemsPriority, aFilterPlaylistOnPriorities,
|
||||
aShowSongInfo, aShowArtistInfo,
|
||||
aShowLyrics, aQuit, aNextScreen, aPreviousScreen, aShowHelp, aShowPlaylist, aShowBrowser, aChangeBrowseMode,
|
||||
@@ -914,6 +914,16 @@ protected:
|
||||
virtual void Run();
|
||||
};
|
||||
|
||||
struct ToggleMediaLibrarySortMode : public Action
|
||||
{
|
||||
ToggleMediaLibrarySortMode()
|
||||
: Action(aToggleMediaLibrarySortMode, "toggle_media_library_sort_mode") { }
|
||||
|
||||
protected:
|
||||
virtual bool canBeRun() const;
|
||||
virtual void Run();
|
||||
};
|
||||
|
||||
struct RefetchLyrics : public Action
|
||||
{
|
||||
RefetchLyrics() : Action(aRefetchLyrics, "refetch_lyrics") { }
|
||||
|
||||
Reference in New Issue
Block a user