dont use tmdb if api key not defined

Origin commit data
------------------
Branch: ni/coolstream
Commit: 86cea031ad
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-07-29 (Fri, 29 Jul 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-07-29 17:00:29 +02:00
parent 27ef7161f5
commit b1998476ba
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;