try fix YT cache wirite to root

This commit is contained in:
Jacek Jendrzej
2017-03-05 17:06:22 +01:00
parent d5cf652763
commit b3f69009af
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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;;
} }
} }