File tree Expand file tree Collapse file tree
packages/core/src/presets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,21 @@ import { baseOptions, Preset } from './preset.js';
1010import { constants , ServiceId } from '../utils/index.js' ;
1111import { config as appConfig } from '../config/index.js' ;
1212import { StreamParser } from '../parser/index.js' ;
13- import { StremThruPreset } from './stremthru.js' ;
13+ import { StremThruPreset , StremThruStreamParser } from './stremthru.js' ;
14+
15+ class StremthruTorzStreamParser extends StremThruStreamParser {
16+ protected override applyUrlModifications (
17+ url : string | undefined
18+ ) : string | undefined {
19+ return super . applyUrlModifications ( url ) ;
20+ }
21+ }
1422
1523export class StremthruTorzPreset extends StremThruPreset {
24+ static override getParser ( ) : typeof StreamParser {
25+ return StremthruTorzStreamParser ;
26+ }
27+
1628 static override get METADATA ( ) {
1729 const supportedResources = [ constants . STREAM_RESOURCE ] ;
1830
You can’t perform that action at this time.
0 commit comments