diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 3412fb15d..08ccbfa4f 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -820,6 +820,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 93465d892..2daa33678 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -820,6 +820,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 61e01b561..9a2059ff3 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 477774faf..030b285ed 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -847,6 +847,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 919e4384a..32a1cfb5e 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -847,6 +847,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 90134d5e5..2b0dcd0dc 100644 --- a/src/system/setting_helpers.h +++ b/src/system/setting_helpers.h @@ -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_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 a43a09727..245b60c86 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -792,21 +792,23 @@ 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; int filebrowser_sortmethod; int filebrowser_denydirectoryleave; - //movieplayer + //online services int movieplayer_repeat_on; int movieplayer_display_playtime; std::string youtube_dev_id; 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;