dont use tmdb if api key not defined

Origin commit data
------------------
Commit: 86cea031ad
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-07-29 (Fri, 29 Jul 2016)
This commit is contained in:
Jacek Jendrzej
2016-07-29 17:00:29 +02:00
parent 3c54ecc3f7
commit 49c3f990b6
2 changed files with 51 additions and 44 deletions

View File

@@ -1856,7 +1856,7 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
unlink(fname.c_str());
refresh();
}
}else {
}else if (g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"){
//add TMDB Cover
fname = m_movieSelectionHandler->file.Name.c_str();
int ext_pos = 0;