This commit is contained in:
kodjomoustapha 2024-12-10 14:34:01 +01:00
parent 90be80c90a
commit b4cf59a275

View file

@ -38,7 +38,11 @@ Future<(List<Video>, bool, List<String>)> getVideoList(Ref ref,
List<Video> list = [];
List<Video> torrentList = [];
if (episode.archivePath?.isNotEmpty ?? false) {
final (videos, infohash) = await MTorrentServer()
.getTorrentPlaylist(episode.url, episode.archivePath);
return (videos, false, [infohash ?? ""]);
}
if (source?.sourceCodeLanguage == SourceCodeLanguage.dart) {
list = await DartExtensionService(source).getVideoList(episode.url!);
} else {