This commit is contained in:
Moustapha Kodjo Amadou 2025-11-09 00:11:23 +01:00
parent 749b35083e
commit c19974d6d1

View file

@ -58,7 +58,8 @@ Future<(List<Video>, bool, List<String>, Directory?)> getVideoList(
}
}
}
result = (
keepAlive.close();
return (
[Video(path!, episode.name!, path, subtitles: subtitles)],
true,
infoHashes,
@ -86,6 +87,7 @@ Future<(List<Video>, bool, List<String>, Directory?)> getVideoList(
episode.url,
episode.archivePath,
);
keepAlive.close();
return (videos, false, [infohash ?? ""], mpvDirectory);
}
@ -112,6 +114,7 @@ Future<(List<Video>, bool, List<String>, Directory?)> getVideoList(
}
}
}
keepAlive.close();
return (torrentList, false, infoHashes, mpvDirectory);
}