mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
try fix YT cache wirite to root
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