mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
ytcache: use temporary CFileHelpers instance
Origin commit data
------------------
Commit: d56b7da446
Author: martii <m4rtii@gmx.de>
Date: 2013-06-21 (Fri, 21 Jun 2013)
This commit is contained in:
@@ -162,7 +162,8 @@ bool cYTCache::download(MI_MOVIE_INFO *mi)
|
|||||||
File.Name = xml;
|
File.Name = xml;
|
||||||
cMovieInfo.saveMovieInfo(*mi, &File);
|
cMovieInfo.saveMovieInfo(*mi, &File);
|
||||||
std::string thumbnail_dst = getName(mi, "jpg");
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user