misc settings: add missing locals and settings variables

This commit is contained in:
2018-04-27 15:57:27 +02:00
parent 059667caea
commit 1a6bfa081b
7 changed files with 16 additions and 3 deletions

View File

@@ -820,6 +820,8 @@ imageinfo.kernel Kernel:
imageinfo.license Lizenz imageinfo.license Lizenz
imageinfo.vcs Git: imageinfo.vcs Git:
imageinfo.version Version: imageinfo.version Version:
imdb.api_key IMDb API Schlüssel
imdb.enabled IMDb-Unterstützung
imdb.data_actors Darsteller imdb.data_actors Darsteller
imdb.data_awards Awards imdb.data_awards Awards
imdb.data_boxoffice Einspielergebnis imdb.data_boxoffice Einspielergebnis

View File

@@ -820,6 +820,8 @@ imageinfo.kernel Kernel:
imageinfo.license License imageinfo.license License
imageinfo.vcs Git: imageinfo.vcs Git:
imageinfo.version Version: imageinfo.version Version:
imdb.api_key IMDb API-Key
imdb.enabled IMDb-Support
imdb.data_actors Actors imdb.data_actors Actors
imdb.data_awards Awards imdb.data_awards Awards
imdb.data_boxoffice Boxoffice imdb.data_boxoffice Boxoffice

View File

@@ -48,6 +48,7 @@ class CMiscMenue : public CMenuTarget, CChangeObserver
CMenuOptionChooser * epg_read_frequently; CMenuOptionChooser * epg_read_frequently;
CMenuOptionChooser * epg_scan; CMenuOptionChooser * epg_scan;
CMenuOptionChooser * tmdb_onoff; CMenuOptionChooser * tmdb_onoff;
CMenuOptionChooser * imdb_onoff;
CMenuOptionChooser * youtube_onoff; CMenuOptionChooser * youtube_onoff;
CMenuOptionChooser * shoutcast_onoff; CMenuOptionChooser * shoutcast_onoff;
CMenuForwarder * epg_dir; CMenuForwarder * epg_dir;
@@ -59,6 +60,7 @@ class CMiscMenue : public CMenuTarget, CChangeObserver
std::string epg_max_events; std::string epg_max_events;
std::string tmdb_api_key_short; std::string tmdb_api_key_short;
std::string imdb_api_key_short;
std::string youtube_dev_id_short; std::string youtube_dev_id_short;
std::string shoutcast_dev_id_short; std::string shoutcast_dev_id_short;

View File

@@ -847,6 +847,8 @@ typedef enum
LOCALE_IMAGEINFO_LICENSE, LOCALE_IMAGEINFO_LICENSE,
LOCALE_IMAGEINFO_VCS, LOCALE_IMAGEINFO_VCS,
LOCALE_IMAGEINFO_VERSION, LOCALE_IMAGEINFO_VERSION,
LOCALE_IMDB_API_KEY,
LOCALE_IMDB_ENABLED,
LOCALE_IMDB_DATA_ACTORS, LOCALE_IMDB_DATA_ACTORS,
LOCALE_IMDB_DATA_AWARDS, LOCALE_IMDB_DATA_AWARDS,
LOCALE_IMDB_DATA_BOXOFFICE, LOCALE_IMDB_DATA_BOXOFFICE,

View File

@@ -847,6 +847,8 @@ const char * locale_real_names[] =
"imageinfo.license", "imageinfo.license",
"imageinfo.vcs", "imageinfo.vcs",
"imageinfo.version", "imageinfo.version",
"imdb.api_key",
"imdb.enabled",
"imdb.data_actors", "imdb.data_actors",
"imdb.data_awards", "imdb.data_awards",
"imdb.data_boxoffice", "imdb.data_boxoffice",

View File

@@ -154,5 +154,6 @@ class CAutoModeNotifier : public CChangeObserver
inline int check_shoutcast_dev_id() { return ((g_settings.shoutcast_dev_id != "XXXXXXXXXXXXXXXX") && !g_settings.shoutcast_dev_id.empty()); } inline int check_shoutcast_dev_id() { return ((g_settings.shoutcast_dev_id != "XXXXXXXXXXXXXXXX") && !g_settings.shoutcast_dev_id.empty()); }
inline int check_youtube_dev_id() { return ((g_settings.youtube_dev_id != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.youtube_dev_id.empty()); } inline int check_youtube_dev_id() { return ((g_settings.youtube_dev_id != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.youtube_dev_id.empty()); }
inline int check_tmdb_api_key() { return ((g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.tmdb_api_key.empty()); } inline int check_tmdb_api_key() { return ((g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.tmdb_api_key.empty()); }
inline int check_imdb_api_key() { return ((g_settings.imdb_api_key != "XXXXXXXX") && !g_settings.imdb_api_key.empty()); }
#endif #endif

View File

@@ -792,21 +792,23 @@ struct SNeutrinoSettings
int audioplayer_repeat_on; int audioplayer_repeat_on;
int audioplayer_show_playlist; int audioplayer_show_playlist;
int audioplayer_enable_sc_metadata; int audioplayer_enable_sc_metadata;
std::string shoutcast_dev_id;
int shoutcast_enabled;
//Filebrowser //Filebrowser
int filebrowser_showrights; int filebrowser_showrights;
int filebrowser_sortmethod; int filebrowser_sortmethod;
int filebrowser_denydirectoryleave; int filebrowser_denydirectoryleave;
//movieplayer //online services
int movieplayer_repeat_on; int movieplayer_repeat_on;
int movieplayer_display_playtime; int movieplayer_display_playtime;
std::string youtube_dev_id; std::string youtube_dev_id;
int youtube_enabled; int youtube_enabled;
std::string tmdb_api_key; std::string tmdb_api_key;
int tmdb_enabled; int tmdb_enabled;
std::string imdb_api_key;
int imdb_enabled;
std::string shoutcast_dev_id;
int shoutcast_enabled;
//zapit setup //zapit setup
std::string StartChannelTV; std::string StartChannelTV;