- epgview: allow to save imdb/tmdb poster with g_settings.mbkey_cover

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-05-03 23:16:52 +02:00
committed by Thilo Graf
parent 2ce09f87f6
commit 6e1069bbdf
7 changed files with 52 additions and 45 deletions

View File

@@ -872,7 +872,7 @@ int CMovieBrowser::exec(CMenuTarget* parent, const std::string & actionKey)
poster = m_movieSelectionHandler->file.Name.substr(0, pos);
poster += ".jpg";
CFileHelpers fh;
if (fh.copyFile(imdb->posterfile.c_str(), poster.c_str(), 0644))
if (fh.copyFile(imdb->getPoster().c_str(), poster.c_str(), 0644))
printf("* poster: %s\n", poster.c_str());
else
printf("* poster: copy error\n");