mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
- moviebrowser: change imdb handling
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -51,6 +51,7 @@
|
|||||||
#include "mb_functions.h"
|
#include "mb_functions.h"
|
||||||
#include "mb_help.h"
|
#include "mb_help.h"
|
||||||
#include <gui/filebrowser.h>
|
#include <gui/filebrowser.h>
|
||||||
|
#include <gui/mdb-imdb.h>
|
||||||
#include <gui/mdb-tmdb.h>
|
#include <gui/mdb-tmdb.h>
|
||||||
#include <gui/epgview.h>
|
#include <gui/epgview.h>
|
||||||
#include <gui/widget/hintbox.h>
|
#include <gui/widget/hintbox.h>
|
||||||
@@ -423,8 +424,6 @@ void CMovieBrowser::init(void)
|
|||||||
|
|
||||||
m_doRefresh = false;
|
m_doRefresh = false;
|
||||||
m_doLoadMovies = false;
|
m_doLoadMovies = false;
|
||||||
|
|
||||||
imdb = CIMDB::getInstance();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMovieBrowser::initGlobalStorageSettings(void)
|
void CMovieBrowser::initGlobalStorageSettings(void)
|
||||||
@@ -813,6 +812,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
hintBox.paint();
|
hintBox.paint();
|
||||||
|
|
||||||
std::string title = m_movieSelectionHandler->epgTitle;
|
std::string title = m_movieSelectionHandler->epgTitle;
|
||||||
|
CIMDB *imdb = CIMDB::getInstance();
|
||||||
imdb->getIMDb(title);
|
imdb->getIMDb(title);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
@@ -878,6 +878,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
printf("* poster: copy error\n");
|
printf("* poster: copy error\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
imdb = NULL;
|
||||||
//m_movieInfo.saveMovieInfo(*m_movieSelectionHandler);
|
//m_movieInfo.saveMovieInfo(*m_movieSelectionHandler);
|
||||||
hintBox.hide();
|
hintBox.hide();
|
||||||
}
|
}
|
||||||
|
@@ -61,7 +61,6 @@
|
|||||||
#include <gui/widget/progresswindow.h>
|
#include <gui/widget/progresswindow.h>
|
||||||
#include <gui/widget/stringinput_ext.h>
|
#include <gui/widget/stringinput_ext.h>
|
||||||
#include <gui/widget/keyboard_input.h>
|
#include <gui/widget/keyboard_input.h>
|
||||||
#include <gui/mdb-imdb.h>
|
|
||||||
|
|
||||||
#define MAX_NUMBER_OF_BOOKMARK_ITEMS MI_MOVIE_BOOK_USER_MAX // we just use the same size as used in Movie info (MAX_NUMBER_OF_BOOKMARK_ITEMS is used for the number of menu items)
|
#define MAX_NUMBER_OF_BOOKMARK_ITEMS MI_MOVIE_BOOK_USER_MAX // we just use the same size as used in Movie info (MAX_NUMBER_OF_BOOKMARK_ITEMS is used for the number of menu items)
|
||||||
#define MOVIEBROWSER_SETTINGS_FILE CONFIGDIR "/moviebrowser.conf"
|
#define MOVIEBROWSER_SETTINGS_FILE CONFIGDIR "/moviebrowser.conf"
|
||||||
@@ -263,7 +262,6 @@ class CMovieBrowser : public CMenuTarget, public CProgressSignals
|
|||||||
void loadYTitles(int mode, std::string search = "", std::string id = "");
|
void loadYTitles(int mode, std::string search = "", std::string id = "");
|
||||||
bool showYTMenu(bool calledExternally = false);
|
bool showYTMenu(bool calledExternally = false);
|
||||||
void refreshYTMenu();
|
void refreshYTMenu();
|
||||||
CIMDB *imdb;
|
|
||||||
|
|
||||||
public: // Functions //////////////////////////////////////////////////////////7
|
public: // Functions //////////////////////////////////////////////////////////7
|
||||||
CMovieBrowser(); //P1
|
CMovieBrowser(); //P1
|
||||||
|
Reference in New Issue
Block a user