mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-09 04:47:41 +00:00
refactor streamer to use stream providers (e.g. to plugin web torrent)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { FileEntity } from '../../VideoFiles/Entity/file.entity';
|
||||
import { ReadStreamCreatable } from '../Interface/read-stream-creatable.interface';
|
||||
|
||||
export interface ReadStreamCreatableProviderInterface {
|
||||
supports(fileEntity: FileEntity): boolean;
|
||||
getReadStreamCreatable(fileEntity: FileEntity): Promise<ReadStreamCreatable>;
|
||||
}
|
||||
Reference in New Issue
Block a user