mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
ytcache: use temporary CFileHelpers instance
This commit is contained in:
@@ -162,7 +162,8 @@ bool cYTCache::download(MI_MOVIE_INFO *mi)
|
||||
File.Name = xml;
|
||||
cMovieInfo.saveMovieInfo(*mi, &File);
|
||||
std::string thumbnail_dst = getName(mi, "jpg");
|
||||
CFileHelpers::getInstance()->copyFile(mi->tfile.c_str(), thumbnail_dst.c_str(), 0644);
|
||||
CFileHelpers fh;
|
||||
fh.copyFile(mi->tfile.c_str(), thumbnail_dst.c_str(), 0644);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user