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

@@ -70,7 +70,7 @@ std::string cYTCache::getName(MI_MOVIE_INFO *mi, std::string ext)
case MI_MOVIE_INFO::NK:
return g_settings.downloadcache_dir + "/nk-" + mi->ytid + "." + ext;
default:
return "";
return g_settings.downloadcache_dir + "/error-" + mi->ytid + "." + ext;;
}
}