mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(presets/torbox): handle Usenet stream type in hash extraction
This commit is contained in:
@@ -30,7 +30,7 @@ class TorboxStreamParser extends StreamParser {
|
||||
stream: Stream,
|
||||
currentParsedStream: ParsedStream
|
||||
): string | undefined {
|
||||
return (stream as any).hash;
|
||||
return stream.type !== 'usenet' ? (stream as any).hash : undefined;
|
||||
}
|
||||
override getInLibrary(
|
||||
stream: Stream,
|
||||
|
||||
Reference in New Issue
Block a user