mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
try fix YT cache wirite to root
Origin commit data
------------------
Commit: b3f69009af
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-03-05 (Sun, 05 Mar 2017)
This commit is contained in:
@@ -546,6 +546,7 @@ void MI_MOVIE_INFO::clear(void)
|
|||||||
|
|
||||||
marked = false;
|
marked = false;
|
||||||
delAsk = true;
|
delAsk = true;
|
||||||
|
source = UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CMovieInfo::loadFile(CFile &file, std::string &buffer)
|
bool CMovieInfo::loadFile(CFile &file, std::string &buffer)
|
||||||
|
@@ -70,7 +70,7 @@ std::string cYTCache::getName(MI_MOVIE_INFO *mi, std::string ext)
|
|||||||
case MI_MOVIE_INFO::NK:
|
case MI_MOVIE_INFO::NK:
|
||||||
return g_settings.downloadcache_dir + "/nk-" + mi->ytid + "." + ext;
|
return g_settings.downloadcache_dir + "/nk-" + mi->ytid + "." + ext;
|
||||||
default:
|
default:
|
||||||
return "";
|
return g_settings.downloadcache_dir + "/error-" + mi->ytid + "." + ext;;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user