Update trailerService.ts

This commit is contained in:
CK 2026-03-05 20:21:37 +05:30 committed by GitHub
parent da39ca47bc
commit 16ab2461d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,12 +251,6 @@ export class TrailerService {
this.urlCache.delete(key);
return null;
}
// Don't return cached .mpd file paths — the temp file may no longer exist
// after an app restart, and we'd rather re-extract than serve a dead file URI
if (entry.url.endsWith('.mpd')) {
this.urlCache.delete(key);
return null;
}
return entry.url;
}