rename YOUTUBE_DEV_KEY => YOUTUBE_API_KEY

Origin commit data
------------------
Commit: 4d01fa773a
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- rename YOUTUBE_DEV_KEY => YOUTUBE_API_KEY

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
# Conflicts:
#	data/locale/slovak.locale
This commit is contained in:
vanhofen
2024-05-04 23:25:35 +02:00
committed by Thilo Graf
parent 8254c984e3
commit e58aea8b6d
12 changed files with 49 additions and 37 deletions

View File

@@ -1864,7 +1864,7 @@ typedef enum
LOCALE_MENU_HINT_WEBTV_XML_AUTO,
LOCALE_MENU_HINT_WINDOW_SIZE,
LOCALE_MENU_HINT_XMLTV_SETUP,
LOCALE_MENU_HINT_YOUTUBE_DEV_ID,
LOCALE_MENU_HINT_YOUTUBE_API_KEY,
LOCALE_MENU_HINT_YOUTUBE_ENABLED,
LOCALE_MENU_HINT_ZAP_CYCLE,
LOCALE_MENU_NEXT,
@@ -2997,7 +2997,7 @@ typedef enum
LOCALE_XMLTV_XML_DEL,
LOCALE_XMLTV_XML_ENTER,
LOCALE_XMLTV_XML_RELOAD,
LOCALE_YOUTUBE_DEV_ID,
LOCALE_YOUTUBE_API_KEY,
LOCALE_YOUTUBE_ENABLED,
LOCALE_ZAPIT_SCANTYPE,
LOCALE_ZAPIT_SCANTYPE_ALL,

View File

@@ -1864,7 +1864,7 @@ const char * locale_real_names[] =
"menu.hint_webtv_xml_auto",
"menu.hint_window_size",
"menu.hint_xmltv_setup",
"menu.hint_youtube_dev_id",
"menu.hint_youtube_api_key",
"menu.hint_youtube_enabled",
"menu.hint_zap_cycle",
"menu.next",
@@ -2997,7 +2997,7 @@ const char * locale_real_names[] =
"xmltv.xml.del",
"xmltv.xml.enter",
"xmltv.xml.reload",
"youtube.dev_id",
"youtube.api_key",
"youtube.enabled",
"zapit.scantype",
"zapit.scantype.all",

View File

@@ -166,7 +166,7 @@ class CApiKey
return ((api_key_setting != api_key_pattern) && !api_key_setting.empty());
}
static int check_shoutcast_dev_id() { return CApiKey::check_api_key(g_settings.shoutcast_dev_id, "XXXXXXXXXXXXXXXX"); }
static int check_youtube_dev_id() { return CApiKey::check_api_key(g_settings.youtube_dev_id, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); }
static int check_youtube_api_key() { return CApiKey::check_api_key(g_settings.youtube_api_key, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); }
static int check_weather_api_key() { return CApiKey::check_api_key(g_settings.weather_api_key, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); }
static int check_tmdb_api_key() { return CApiKey::check_api_key(g_settings.tmdb_api_key, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); }
static int check_omdb_api_key() { return CApiKey::check_api_key(g_settings.omdb_api_key, "XXXXXXXX"); }

View File

@@ -943,7 +943,7 @@ struct SNeutrinoSettings
std::string weather_location;
std::string weather_postalcode;
std::string youtube_dev_id;
std::string youtube_api_key;
int youtube_enabled;
std::string tmdb_api_key;