mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- miscsettings-menu: allow to switch the creation of WebRadio channel list
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -282,6 +282,7 @@ channellist.keep_numbers Dauerhafte Kanalnummern
|
||||
channellist.make_hdlist Erzeuge Bouquets mit HD- und UHD-Kanälen
|
||||
channellist.make_newlist Erzeuge Bouquet mit neuen Kanälen
|
||||
channellist.make_removedlist Erzeuge Bouquet mit gelöschten Kanälen
|
||||
channellist.make_webradiolist Erzeuge Bouquet mit WebRadio-Kanälen
|
||||
channellist.make_webtvlist Erzeuge Bouquet mit WebTV-Kanälen
|
||||
channellist.new_zap_mode Quickzap in Liste
|
||||
channellist.new_zap_mode_active aktiv
|
||||
@@ -1418,6 +1419,7 @@ menu.hint_lua Plugins ausführen
|
||||
menu.hint_make_hdlist Bei aktiver Option werden Bouquets namens 'HD' und 'UHD' erzeugt, in denen alle HD- bzw. UHD-Sender zusammengefasst sind
|
||||
menu.hint_make_newlist Nach einer Kanalsuche wird ein Bouquet namens 'neue Kanäle' erzeugt
|
||||
menu.hint_make_removedlist Nach einer Kanalsuche wird ein Bouquet namens 'gelöschte Kanäle' erzeugt
|
||||
menu.hint_make_webradiolist Bei aktiver Option wird ein Bouquet namens 'WebRadio' erzeugt, in dem alle WebRadio-Sender zusammengefasst sind
|
||||
menu.hint_make_webtvlist Bei aktiver Option wird ein Bouquet namens 'WebTV' erzeugt, in dem alle WebTV-Sender zusammengefasst sind
|
||||
menu.hint_manage_settings Sichern, Wiederherstellen und Auslieferungszustand wiederherstellen
|
||||
menu.hint_mb Ihre Aufnahmen
|
||||
|
@@ -282,6 +282,7 @@ channellist.keep_numbers Persistent channel numbers
|
||||
channellist.make_hdlist Create lists of HD and UHD channels
|
||||
channellist.make_newlist Create list of new channels
|
||||
channellist.make_removedlist Create list of removed channels
|
||||
channellist.make_webradiolist Create list of WebRadio channels
|
||||
channellist.make_webtvlist Create list of WebTV channels
|
||||
channellist.new_zap_mode Quickzap in list
|
||||
channellist.new_zap_mode_active Active
|
||||
@@ -1365,6 +1366,7 @@ menu.hint_lua Run Lua Plugins
|
||||
menu.hint_make_hdlist Auto-create HD and UHD channel lists based on\nchannel type and name
|
||||
menu.hint_make_newlist Create list of recently added channels
|
||||
menu.hint_make_removedlist Create list of recently removed channels
|
||||
menu.hint_make_webradiolist Auto-create WebRadio channel list based on\nchannel type and name
|
||||
menu.hint_make_webtvlist Auto-create WebTV channel list based on\nchannel type and name
|
||||
menu.hint_manage_settings Backup, restore, revert to defaults\nFactory box reset
|
||||
menu.hint_mb Your recordings
|
||||
|
@@ -563,6 +563,7 @@ int CMiscMenue::showMiscSettingsMenuChanlist()
|
||||
|
||||
bool make_hd_list = g_settings.make_hd_list;
|
||||
bool make_webtv_list = g_settings.make_webtv_list;
|
||||
bool make_webradio_list = g_settings.make_webradio_list;
|
||||
bool show_empty_favorites = g_settings.show_empty_favorites;
|
||||
|
||||
CMenuOptionChooser * mc;
|
||||
@@ -570,10 +571,14 @@ int CMiscMenue::showMiscSettingsMenuChanlist()
|
||||
mc->setHint("", LOCALE_MENU_HINT_MAKE_HDLIST);
|
||||
ms_chanlist->addItem(mc);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_MAKE_WEBTVLIST , &g_settings.make_webtv_list , OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_MAKE_WEBTVLIST , &g_settings.make_webtv_list , OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_MAKE_WEBTVLIST);
|
||||
ms_chanlist->addItem(mc);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_MAKE_WEBRADIOLIST, &g_settings.make_webradio_list , OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_MAKE_WEBRADIOLIST);
|
||||
ms_chanlist->addItem(mc);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_MAKE_NEWLIST, &g_settings.make_new_list , OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_MAKE_NEWLIST);
|
||||
ms_chanlist->addItem(mc);
|
||||
@@ -608,7 +613,12 @@ int CMiscMenue::showMiscSettingsMenuChanlist()
|
||||
|
||||
int res = ms_chanlist->exec(NULL, "");
|
||||
delete ms_chanlist;
|
||||
if (make_hd_list != g_settings.make_hd_list || make_webtv_list != g_settings.make_webtv_list || show_empty_favorites != g_settings.show_empty_favorites)
|
||||
if (
|
||||
make_hd_list != g_settings.make_hd_list
|
||||
|| make_webtv_list != g_settings.make_webtv_list
|
||||
|| make_webradio_list != g_settings.make_webradio_list
|
||||
|| show_empty_favorites != g_settings.show_empty_favorites
|
||||
)
|
||||
g_RCInput->postMsg(NeutrinoMessages::EVT_SERVICESCHANGED, 0);
|
||||
return res;
|
||||
}
|
||||
|
@@ -309,6 +309,7 @@ typedef enum
|
||||
LOCALE_CHANNELLIST_MAKE_HDLIST,
|
||||
LOCALE_CHANNELLIST_MAKE_NEWLIST,
|
||||
LOCALE_CHANNELLIST_MAKE_REMOVEDLIST,
|
||||
LOCALE_CHANNELLIST_MAKE_WEBRADIOLIST,
|
||||
LOCALE_CHANNELLIST_MAKE_WEBTVLIST,
|
||||
LOCALE_CHANNELLIST_NEW_ZAP_MODE,
|
||||
LOCALE_CHANNELLIST_NEW_ZAP_MODE_ACTIVE,
|
||||
@@ -1445,6 +1446,7 @@ typedef enum
|
||||
LOCALE_MENU_HINT_MAKE_HDLIST,
|
||||
LOCALE_MENU_HINT_MAKE_NEWLIST,
|
||||
LOCALE_MENU_HINT_MAKE_REMOVEDLIST,
|
||||
LOCALE_MENU_HINT_MAKE_WEBRADIOLIST,
|
||||
LOCALE_MENU_HINT_MAKE_WEBTVLIST,
|
||||
LOCALE_MENU_HINT_MANAGE_SETTINGS,
|
||||
LOCALE_MENU_HINT_MB,
|
||||
|
@@ -309,6 +309,7 @@ const char * locale_real_names[] =
|
||||
"channellist.make_hdlist",
|
||||
"channellist.make_newlist",
|
||||
"channellist.make_removedlist",
|
||||
"channellist.make_webradiolist",
|
||||
"channellist.make_webtvlist",
|
||||
"channellist.new_zap_mode",
|
||||
"channellist.new_zap_mode_active",
|
||||
@@ -1445,6 +1446,7 @@ const char * locale_real_names[] =
|
||||
"menu.hint_make_hdlist",
|
||||
"menu.hint_make_newlist",
|
||||
"menu.hint_make_removedlist",
|
||||
"menu.hint_make_webradiolist",
|
||||
"menu.hint_make_webtvlist",
|
||||
"menu.hint_manage_settings",
|
||||
"menu.hint_mb",
|
||||
|
Reference in New Issue
Block a user