mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
disable tmdb, when tmdb_api_key is empty
Origin commit data
------------------
Branch: ni/coolstream
Commit: bbccd92b49
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-06 (Sat, 06 Aug 2016)
Origin message was:
------------------
- disable tmdb, when tmdb_api_key is empty
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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