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.menu Menü
|
||||||
timing.numericzap Umschalten mit Zifferntasten
|
timing.numericzap Umschalten mit Zifferntasten
|
||||||
timing.volumebar Lautstärkeanzeige
|
timing.volumebar Lautstärkeanzeige
|
||||||
|
tmdb.read_data Suche TMDB Daten...
|
||||||
unicable.lnb Unicable Eingang
|
unicable.lnb Unicable Eingang
|
||||||
unicable.qrg Unicable Frequenz
|
unicable.qrg Unicable Frequenz
|
||||||
unicable.scr Unicable SCR
|
unicable.scr Unicable SCR
|
||||||
|
@@ -2354,6 +2354,7 @@ timing.infobar_radio Infobar (radio mode)
|
|||||||
timing.menu Menu
|
timing.menu Menu
|
||||||
timing.numericzap Numeric Zap
|
timing.numericzap Numeric Zap
|
||||||
timing.volumebar Volume bar
|
timing.volumebar Volume bar
|
||||||
|
tmdb.read_data Search TMDB Data...
|
||||||
unicable.lnb Unicable Input
|
unicable.lnb Unicable Input
|
||||||
unicable.qrg Unicable Frequency
|
unicable.qrg Unicable Frequency
|
||||||
unicable.scr Unicable SCR
|
unicable.scr Unicable SCR
|
||||||
|
@@ -2196,6 +2196,7 @@ timing.infobar_radio Infobalk (radio modus)
|
|||||||
timing.menu Menu
|
timing.menu Menu
|
||||||
timing.numericzap Numeriek Zap
|
timing.numericzap Numeriek Zap
|
||||||
timing.volumebar Volume balk
|
timing.volumebar Volume balk
|
||||||
|
tmdb.read_data Zoeken TMDB data...
|
||||||
unicable.lnb Invoer Unicable
|
unicable.lnb Invoer Unicable
|
||||||
unicable.qrg Unicable Frequentie
|
unicable.qrg Unicable Frequentie
|
||||||
unicable.scr Unicable SCR
|
unicable.scr Unicable SCR
|
||||||
|
@@ -2296,6 +2296,7 @@ timing.infobar_radio Stavový riadok (rádio mód)
|
|||||||
timing.menu Menu
|
timing.menu Menu
|
||||||
timing.numericzap Prepínanie číslami
|
timing.numericzap Prepínanie číslami
|
||||||
timing.volumebar Ukazovateľ hlasitosti
|
timing.volumebar Ukazovateľ hlasitosti
|
||||||
|
tmdb.read_data Hľadaj TMDB dáta...
|
||||||
unicable.lnb Vstup Unicable
|
unicable.lnb Vstup Unicable
|
||||||
unicable.qrg Kmitočet Unicable
|
unicable.qrg Kmitočet Unicable
|
||||||
unicable.scr SCR Unicable
|
unicable.scr SCR Unicable
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
#include "system/settings.h"
|
#include "system/settings.h"
|
||||||
#include "system/helpers.h"
|
#include "system/helpers.h"
|
||||||
#include "system/set_threadname.h"
|
#include "system/set_threadname.h"
|
||||||
|
#include "gui/widget/hintbox.h"
|
||||||
|
|
||||||
#include <driver/screen_max.h>
|
#include <driver/screen_max.h>
|
||||||
|
|
||||||
@@ -73,10 +74,18 @@ cTmdb::cTmdb(std::string epgtitle)
|
|||||||
key = g_settings.tmdb_api_key;
|
key = g_settings.tmdb_api_key;
|
||||||
#endif
|
#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);
|
std::string lang = Lang2ISO639_1(g_settings.language);
|
||||||
GetMovieDetails(lang);
|
GetMovieDetails(lang);
|
||||||
if ((minfo.result < 1 || minfo.overview.empty()) && lang != "en")
|
if ((minfo.result < 1 || minfo.overview.empty()) && lang != "en")
|
||||||
GetMovieDetails("en");
|
GetMovieDetails("en");
|
||||||
|
|
||||||
|
if (box != NULL) {
|
||||||
|
box->hide();
|
||||||
|
delete box;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cTmdb::~cTmdb()
|
cTmdb::~cTmdb()
|
||||||
|
@@ -2381,6 +2381,7 @@ typedef enum
|
|||||||
LOCALE_TIMING_MENU,
|
LOCALE_TIMING_MENU,
|
||||||
LOCALE_TIMING_NUMERICZAP,
|
LOCALE_TIMING_NUMERICZAP,
|
||||||
LOCALE_TIMING_VOLUMEBAR,
|
LOCALE_TIMING_VOLUMEBAR,
|
||||||
|
LOCALE_TMDB_READ_DATA,
|
||||||
LOCALE_UNICABLE_LNB,
|
LOCALE_UNICABLE_LNB,
|
||||||
LOCALE_UNICABLE_QRG,
|
LOCALE_UNICABLE_QRG,
|
||||||
LOCALE_UNICABLE_SCR,
|
LOCALE_UNICABLE_SCR,
|
||||||
|
@@ -2381,6 +2381,7 @@ const char * locale_real_names[] =
|
|||||||
"timing.menu",
|
"timing.menu",
|
||||||
"timing.numericzap",
|
"timing.numericzap",
|
||||||
"timing.volumebar",
|
"timing.volumebar",
|
||||||
|
"tmdb.read_data",
|
||||||
"unicable.lnb",
|
"unicable.lnb",
|
||||||
"unicable.qrg",
|
"unicable.qrg",
|
||||||
"unicable.scr",
|
"unicable.scr",
|
||||||
|
Reference in New Issue
Block a user