diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index aeb5716c6..e9e91a529 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -912,6 +912,8 @@ imageinfo.kernel Kernel: imageinfo.license Lizenz imageinfo.vcs Git: imageinfo.version Version: +imdb.api_key IMDb API Schlüssel +imdb.enabled IMDb-Unterstützung imdb.data_actors Darsteller imdb.data_awards Awards imdb.data_boxoffice Einspielergebnis diff --git a/data/locale/english.locale b/data/locale/english.locale index 6c1d016b1..b4002af18 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -912,6 +912,8 @@ imageinfo.kernel Kernel: imageinfo.license License imageinfo.vcs Git: imageinfo.version Version: +imdb.api_key IMDb API-Key +imdb.enabled IMDb-Support imdb.data_actors Actors imdb.data_awards Awards imdb.data_boxoffice Boxoffice diff --git a/src/gui/miscsettings_menu.h b/src/gui/miscsettings_menu.h index f96f1ae59..49b36b7d3 100644 --- a/src/gui/miscsettings_menu.h +++ b/src/gui/miscsettings_menu.h @@ -48,6 +48,7 @@ class CMiscMenue : public CMenuTarget, CChangeObserver CMenuOptionChooser * epg_read_frequently; CMenuOptionChooser * epg_scan; CMenuOptionChooser * tmdb_onoff; + CMenuOptionChooser * imdb_onoff; CMenuOptionChooser * youtube_onoff; CMenuOptionChooser * shoutcast_onoff; CMenuForwarder * epg_dir; @@ -59,6 +60,7 @@ class CMiscMenue : public CMenuTarget, CChangeObserver std::string epg_max_events; std::string tmdb_api_key_short; + std::string imdb_api_key_short; std::string youtube_dev_id_short; std::string shoutcast_dev_id_short; diff --git a/src/system/locals.h b/src/system/locals.h index bec8331e2..7348822ea 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -939,6 +939,8 @@ typedef enum LOCALE_IMAGEINFO_LICENSE, LOCALE_IMAGEINFO_VCS, LOCALE_IMAGEINFO_VERSION, + LOCALE_IMDB_API_KEY, + LOCALE_IMDB_ENABLED, LOCALE_IMDB_DATA_ACTORS, LOCALE_IMDB_DATA_AWARDS, LOCALE_IMDB_DATA_BOXOFFICE, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index 3f90ce021..dc1377cec 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -939,6 +939,8 @@ const char * locale_real_names[] = "imageinfo.license", "imageinfo.vcs", "imageinfo.version", + "imdb.api_key", + "imdb.enabled", "imdb.data_actors", "imdb.data_awards", "imdb.data_boxoffice", diff --git a/src/system/setting_helpers.h b/src/system/setting_helpers.h index c48e9140e..684477da5 100644 --- a/src/system/setting_helpers.h +++ b/src/system/setting_helpers.h @@ -162,5 +162,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_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_imdb_api_key() { return ((g_settings.imdb_api_key != "XXXXXXXX") && !g_settings.imdb_api_key.empty()); } #endif diff --git a/src/system/settings.h b/src/system/settings.h index 44ad89560..ac660b186 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -804,8 +804,6 @@ struct SNeutrinoSettings int audioplayer_repeat_on; int audioplayer_show_playlist; int audioplayer_enable_sc_metadata; - std::string shoutcast_dev_id; - int shoutcast_enabled; //Filebrowser int filebrowser_showrights; @@ -820,6 +818,10 @@ struct SNeutrinoSettings int youtube_enabled; std::string tmdb_api_key; int tmdb_enabled; + std::string imdb_api_key; + int imdb_enabled; + std::string shoutcast_dev_id; + int shoutcast_enabled; //zapit setup std::string StartChannelTV;