- audioplayer/screensaver: add gui switch to use covers as screensaver

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-05-24 02:03:23 +02:00
committed by Thilo Graf
parent 1ed07af6a5
commit 7dcb67f16d
5 changed files with 12 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ audioplayer.artist_title Interpret, Titel
audioplayer.building_search_index Erstelle Suchindex audioplayer.building_search_index Erstelle Suchindex
audioplayer.button_select_title_by_id Suche nach ID audioplayer.button_select_title_by_id Suche nach ID
audioplayer.button_select_title_by_name Suche nach Name audioplayer.button_select_title_by_name Suche nach Name
audioplayer.cover_as_screensaver Cover als Bildschirmschoner
audioplayer.defdir Start-Verzeichnis audioplayer.defdir Start-Verzeichnis
audioplayer.delete Entfernen audioplayer.delete Entfernen
audioplayer.deleteall Alle entfernen audioplayer.deleteall Alle entfernen
@@ -1030,6 +1031,7 @@ menu.hint_audio_srs_nmgr Schalten Sie den NoiseManager ein oder aus
menu.hint_audio_srs_volume Legen Sie die Referenzlautstärke für SRS TruVolume fest menu.hint_audio_srs_volume Legen Sie die Referenzlautstärke für SRS TruVolume fest
menu.hint_audio_volstart Legen Sie die Einschaltlautstärke fest, die immer beim Starten eingestellt werden soll menu.hint_audio_volstart Legen Sie die Einschaltlautstärke fest, die immer beim Starten eingestellt werden soll
menu.hint_audio_volstep Beim Betätigen der Lautstärketasten wird die Lautstärke immer schrittweise nach diesem Wert geändert menu.hint_audio_volstep Beim Betätigen der Lautstärketasten wird die Lautstärke immer schrittweise nach diesem Wert geändert
menu.hint_audioplayer_cover_as_screensaver Verwendet das Cover des Titels oder "folder.jpg" als Bildschirmschoner
menu.hint_audioplayer_defdir Wählen Sie das Startverzeichnis für den Audioplayer menu.hint_audioplayer_defdir Wählen Sie das Startverzeichnis für den Audioplayer
menu.hint_audioplayer_follow Das Auswählen eines aktuellen Titels in der Wiedergabeliste zulassen menu.hint_audioplayer_follow Das Auswählen eines aktuellen Titels in der Wiedergabeliste zulassen
menu.hint_audioplayer_highprio Erhöhen Sie die Priorität der Wiedergabe menu.hint_audioplayer_highprio Erhöhen Sie die Priorität der Wiedergabe

View File

@@ -165,6 +165,7 @@ audioplayer.artist_title Artist, Title
audioplayer.building_search_index Building search index audioplayer.building_search_index Building search index
audioplayer.button_select_title_by_id Search by ID audioplayer.button_select_title_by_id Search by ID
audioplayer.button_select_title_by_name Search by name audioplayer.button_select_title_by_name Search by name
audioplayer.cover_as_screensaver Cover as screensaver
audioplayer.defdir Start directory audioplayer.defdir Start directory
audioplayer.delete Remove audioplayer.delete Remove
audioplayer.deleteall Remove all audioplayer.deleteall Remove all
@@ -1030,6 +1031,7 @@ menu.hint_audio_srs_nmgr Noise manager
menu.hint_audio_srs_volume Reference level to maintain menu.hint_audio_srs_volume Reference level to maintain
menu.hint_audio_volstart Always set selected volume value on boot menu.hint_audio_volstart Always set selected volume value on boot
menu.hint_audio_volstep Volume +/- keys increase/decrease step menu.hint_audio_volstep Volume +/- keys increase/decrease step
menu.hint_audioplayer_cover_as_screensaver Use title's cover or "folder.jpg" as screensaver
menu.hint_audioplayer_defdir Default audioplayer directory menu.hint_audioplayer_defdir Default audioplayer directory
menu.hint_audioplayer_follow Move playlist selected pointer\nto current playing song menu.hint_audioplayer_follow Move playlist selected pointer\nto current playing song
menu.hint_audioplayer_highprio Increase playback priority menu.hint_audioplayer_highprio Increase playback priority

View File

@@ -134,6 +134,10 @@ int CAudioPlayerSetup::showAudioPlayerSetup()
mc->setHint("", LOCALE_MENU_HINT_AUDIOPLAYER_PLAYLIST); mc->setHint("", LOCALE_MENU_HINT_AUDIOPLAYER_PLAYLIST);
audioplayerSetup->addItem(mc); audioplayerSetup->addItem(mc);
mc = new CMenuOptionChooser(LOCALE_AUDIOPLAYER_COVER_AS_SCREENSAVER, &g_settings.audioplayer_cover_as_screensaver, MESSAGEBOX_NO_YES_OPTIONS, MESSAGEBOX_NO_YES_OPTION_COUNT, true);
mc->setHint("", LOCALE_MENU_HINT_AUDIOPLAYER_COVER_AS_SCREENSAVER);
audioplayerSetup->addItem(mc);
mc = new CMenuOptionChooser(LOCALE_AUDIOPLAYER_HIGHPRIO, &g_settings.audioplayer_highprio, MESSAGEBOX_NO_YES_OPTIONS, MESSAGEBOX_NO_YES_OPTION_COUNT, true ); mc = new CMenuOptionChooser(LOCALE_AUDIOPLAYER_HIGHPRIO, &g_settings.audioplayer_highprio, MESSAGEBOX_NO_YES_OPTIONS, MESSAGEBOX_NO_YES_OPTION_COUNT, true );
mc->setHint("", LOCALE_MENU_HINT_AUDIOPLAYER_HIGHPRIO); mc->setHint("", LOCALE_MENU_HINT_AUDIOPLAYER_HIGHPRIO);
audioplayerSetup->addItem(mc); audioplayerSetup->addItem(mc);

View File

@@ -192,6 +192,7 @@ typedef enum
LOCALE_AUDIOPLAYER_BUILDING_SEARCH_INDEX, LOCALE_AUDIOPLAYER_BUILDING_SEARCH_INDEX,
LOCALE_AUDIOPLAYER_BUTTON_SELECT_TITLE_BY_ID, LOCALE_AUDIOPLAYER_BUTTON_SELECT_TITLE_BY_ID,
LOCALE_AUDIOPLAYER_BUTTON_SELECT_TITLE_BY_NAME, LOCALE_AUDIOPLAYER_BUTTON_SELECT_TITLE_BY_NAME,
LOCALE_AUDIOPLAYER_COVER_AS_SCREENSAVER,
LOCALE_AUDIOPLAYER_DEFDIR, LOCALE_AUDIOPLAYER_DEFDIR,
LOCALE_AUDIOPLAYER_DELETE, LOCALE_AUDIOPLAYER_DELETE,
LOCALE_AUDIOPLAYER_DELETEALL, LOCALE_AUDIOPLAYER_DELETEALL,
@@ -1057,6 +1058,7 @@ typedef enum
LOCALE_MENU_HINT_AUDIO_SRS_VOLUME, LOCALE_MENU_HINT_AUDIO_SRS_VOLUME,
LOCALE_MENU_HINT_AUDIO_VOLSTART, LOCALE_MENU_HINT_AUDIO_VOLSTART,
LOCALE_MENU_HINT_AUDIO_VOLSTEP, LOCALE_MENU_HINT_AUDIO_VOLSTEP,
LOCALE_MENU_HINT_AUDIOPLAYER_COVER_AS_SCREENSAVER,
LOCALE_MENU_HINT_AUDIOPLAYER_DEFDIR, LOCALE_MENU_HINT_AUDIOPLAYER_DEFDIR,
LOCALE_MENU_HINT_AUDIOPLAYER_FOLLOW, LOCALE_MENU_HINT_AUDIOPLAYER_FOLLOW,
LOCALE_MENU_HINT_AUDIOPLAYER_HIGHPRIO, LOCALE_MENU_HINT_AUDIOPLAYER_HIGHPRIO,

View File

@@ -192,6 +192,7 @@ const char * locale_real_names[] =
"audioplayer.building_search_index", "audioplayer.building_search_index",
"audioplayer.button_select_title_by_id", "audioplayer.button_select_title_by_id",
"audioplayer.button_select_title_by_name", "audioplayer.button_select_title_by_name",
"audioplayer.cover_as_screensaver",
"audioplayer.defdir", "audioplayer.defdir",
"audioplayer.delete", "audioplayer.delete",
"audioplayer.deleteall", "audioplayer.deleteall",
@@ -1057,6 +1058,7 @@ const char * locale_real_names[] =
"menu.hint_audio_srs_volume", "menu.hint_audio_srs_volume",
"menu.hint_audio_volstart", "menu.hint_audio_volstart",
"menu.hint_audio_volstep", "menu.hint_audio_volstep",
"menu.hint_audioplayer_cover_as_screensaver",
"menu.hint_audioplayer_defdir", "menu.hint_audioplayer_defdir",
"menu.hint_audioplayer_follow", "menu.hint_audioplayer_follow",
"menu.hint_audioplayer_highprio", "menu.hint_audioplayer_highprio",