mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +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_help.h"
|
||||
#include <gui/filebrowser.h>
|
||||
#include <gui/mdb-imdb.h>
|
||||
#include <gui/mdb-tmdb.h>
|
||||
#include <gui/epgview.h>
|
||||
#include <gui/widget/hintbox.h>
|
||||
@@ -423,8 +424,6 @@ void CMovieBrowser::init(void)
|
||||
|
||||
m_doRefresh = false;
|
||||
m_doLoadMovies = false;
|
||||
|
||||
imdb = CIMDB::getInstance();
|
||||
}
|
||||
|
||||
void CMovieBrowser::initGlobalStorageSettings(void)
|
||||
@@ -813,6 +812,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
hintBox.paint();
|
||||
|
||||
std::string title = m_movieSelectionHandler->epgTitle;
|
||||
CIMDB *imdb = CIMDB::getInstance();
|
||||
imdb->getIMDb(title);
|
||||
|
||||
#if 0
|
||||
@@ -878,6 +878,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
printf("* poster: copy error\n");
|
||||
}
|
||||
|
||||
imdb = NULL;
|
||||
//m_movieInfo.saveMovieInfo(*m_movieSelectionHandler);
|
||||
hintBox.hide();
|
||||
}
|
||||
|
@@ -61,7 +61,6 @@
|
||||
#include <gui/widget/progresswindow.h>
|
||||
#include <gui/widget/stringinput_ext.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 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 = "");
|
||||
bool showYTMenu(bool calledExternally = false);
|
||||
void refreshYTMenu();
|
||||
CIMDB *imdb;
|
||||
|
||||
public: // Functions //////////////////////////////////////////////////////////7
|
||||
CMovieBrowser(); //P1
|
||||
|
Reference in New Issue
Block a user