mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- disable tmdb, when tmdb_api_key is empty
This commit is contained in:
@@ -1015,7 +1015,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
break;
|
||||
case CRCInput::RC_info:
|
||||
{
|
||||
if (g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
|
||||
if (g_settings.tmdb_enabled)
|
||||
{
|
||||
showPos = 0;
|
||||
if (!tmdb_active) {
|
||||
@@ -1366,7 +1366,7 @@ void CEpgData::showTimerEventBar (bool pshow, bool adzap, bool mp_info)
|
||||
adzap_button += " " + to_string(g_settings.adzap_zapBackPeriod / 60) + " ";
|
||||
adzap_button += g_Locale->getText(LOCALE_UNIT_SHORT_MINUTE);
|
||||
}
|
||||
bool tmdb = (g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
|
||||
bool tmdb = g_settings.tmdb_enabled;
|
||||
bool fscr = (has_follow_screenings && !call_fromfollowlist);
|
||||
if (mp_info)
|
||||
::paintButtons(x, y, w, tmdb ? 2 : 1, EpgButtons[2], w, h);
|
||||
|
Reference in New Issue
Block a user