1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| const std::vector<std::wstring> racines{
L"Azertyuiop - qsdfghjklm.[2021-2023 Netflix].Manga",
L"Azertyuiop £££.[2024].Mini-série",
L"Kaleidoscope.[2023 Netflix]",
L"Seven Deadly Sins- Four Knights of the Apocalypse.[2023].Manga",
L"Dr. STONE.[2019-2022 Crunchyroll].Manga",
L"Andor.[2022- Disney+]",
L"Star Wars Rebels.[2014-2017 Disney+].Animation",
L"Star Wars- The Clone wars.[2008-2020 Disney+].Animation",
L"Shogun.[2024- Disney+]",
L"Avatar 2 - la voie de l'eau.(2022-12-14)",
L"Kingsglaive- Final Fantasy XV.(2016-08-30 VOD).Animation",
L"Prey.(2022-08-05 Disney+)",
L"Sous la Seine.(2024-06-05 Netflix)",
L"Star Wars - Episode VII - Le réveil de la force.(2015-12-16)",
L"Star Wars- The Clone Wars.(2008-08-27).Animation"
};
for (auto& racine : racines)
{
if (racine == racines[1]) // <=== 1
{
std::wcout << L"racine=[" << racine << L']' << std::endl;
fs::path r = t + racine;
auto nomDossier = r.filename().wstring();
assert(nomDossier.length() > 0 && L"Nom de dossier vide");
bool found = false;
...
}
} |
Partager