mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
tmdb: Add hintbox when search data
Origin commit data
------------------
Commit: c5d1120f9f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-03-04 (Fri, 04 Mar 2016)
This commit is contained in:
@@ -2354,6 +2354,7 @@ timing.infobar_radio Infobar (Radiobetrieb)
|
||||
timing.menu Menü
|
||||
timing.numericzap Umschalten mit Zifferntasten
|
||||
timing.volumebar Lautstärkeanzeige
|
||||
tmdb.read_data Suche TMDB Daten...
|
||||
unicable.lnb Unicable Eingang
|
||||
unicable.qrg Unicable Frequenz
|
||||
unicable.scr Unicable SCR
|
||||
|
@@ -2354,6 +2354,7 @@ timing.infobar_radio Infobar (radio mode)
|
||||
timing.menu Menu
|
||||
timing.numericzap Numeric Zap
|
||||
timing.volumebar Volume bar
|
||||
tmdb.read_data Search TMDB Data...
|
||||
unicable.lnb Unicable Input
|
||||
unicable.qrg Unicable Frequency
|
||||
unicable.scr Unicable SCR
|
||||
|
@@ -2196,6 +2196,7 @@ timing.infobar_radio Infobalk (radio modus)
|
||||
timing.menu Menu
|
||||
timing.numericzap Numeriek Zap
|
||||
timing.volumebar Volume balk
|
||||
tmdb.read_data Zoeken TMDB data...
|
||||
unicable.lnb Invoer Unicable
|
||||
unicable.qrg Unicable Frequentie
|
||||
unicable.scr Unicable SCR
|
||||
|
@@ -2296,6 +2296,7 @@ timing.infobar_radio Stavový riadok (rádio mód)
|
||||
timing.menu Menu
|
||||
timing.numericzap Prepínanie číslami
|
||||
timing.volumebar Ukazovateľ hlasitosti
|
||||
tmdb.read_data Hľadaj TMDB dáta...
|
||||
unicable.lnb Vstup Unicable
|
||||
unicable.qrg Kmitočet Unicable
|
||||
unicable.scr SCR Unicable
|
||||
|
@@ -36,6 +36,7 @@
|
||||
#include "system/settings.h"
|
||||
#include "system/helpers.h"
|
||||
#include "system/set_threadname.h"
|
||||
#include "gui/widget/hintbox.h"
|
||||
|
||||
#include <driver/screen_max.h>
|
||||
|
||||
@@ -73,10 +74,18 @@ cTmdb::cTmdb(std::string epgtitle)
|
||||
key = g_settings.tmdb_api_key;
|
||||
#endif
|
||||
|
||||
CHintBox* box = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_TMDB_READ_DATA));
|
||||
box->paint();
|
||||
|
||||
std::string lang = Lang2ISO639_1(g_settings.language);
|
||||
GetMovieDetails(lang);
|
||||
if ((minfo.result < 1 || minfo.overview.empty()) && lang != "en")
|
||||
GetMovieDetails("en");
|
||||
|
||||
if (box != NULL) {
|
||||
box->hide();
|
||||
delete box;
|
||||
}
|
||||
}
|
||||
|
||||
cTmdb::~cTmdb()
|
||||
|
@@ -2381,6 +2381,7 @@ typedef enum
|
||||
LOCALE_TIMING_MENU,
|
||||
LOCALE_TIMING_NUMERICZAP,
|
||||
LOCALE_TIMING_VOLUMEBAR,
|
||||
LOCALE_TMDB_READ_DATA,
|
||||
LOCALE_UNICABLE_LNB,
|
||||
LOCALE_UNICABLE_QRG,
|
||||
LOCALE_UNICABLE_SCR,
|
||||
|
@@ -2381,6 +2381,7 @@ const char * locale_real_names[] =
|
||||
"timing.menu",
|
||||
"timing.numericzap",
|
||||
"timing.volumebar",
|
||||
"tmdb.read_data",
|
||||
"unicable.lnb",
|
||||
"unicable.qrg",
|
||||
"unicable.scr",
|
||||
|
Reference in New Issue
Block a user