Skip to content

Commit

Permalink
Merge pull request #196 from vitalygashkov/next
Browse files Browse the repository at this point in the history
Fixed subtitle duplicate detection, fixed stream revoke for Crunchyroll
  • Loading branch information
vitalygashkov authored Aug 17, 2024
2 parents 5b0b9c0 + 1473a84 commit 7263def
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streamyx",
"version": "4.0.0-beta.57",
"version": "4.0.0-beta.58",
"author": "Vitaly Gashkov <[email protected]>",
"description": "Powerful media downloader",
"main": "dist/src/app/main.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/crunchyroll
2 changes: 1 addition & 1 deletion src/app
Submodule app updated from 37e752 to 63db26
6 changes: 5 additions & 1 deletion src/core/lib/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface PluginInstance<T = unknown> {
/**
* Fetches media info list from the specified URL
*/
fetchMediaInfo: (url: string, args: RunArgs) => Promise<MediaInfo[]>;
fetchMediaInfo: (url: string, args: RunArgs) => Promise<(MediaInfo | AsyncMediaInfo)[]>;
}

export type Plugin<T = unknown> = (streamyx: StreamyxCore) => PluginInstance<T>;
Expand Down Expand Up @@ -184,8 +184,12 @@ export interface MediaInfo {
audioType?: string;
audioLanguage?: string;
http2?: boolean;

onDownloadFinished?: () => Promise<void>;
}

export type AsyncMediaInfo = () => Promise<MediaInfo>;

export interface DrmConfig {
server: string;
headers: Record<string, string>;
Expand Down
4 changes: 2 additions & 2 deletions src/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamyx/core",
"version": "1.2.1",
"version": "1.3.0",
"author": "Vitaly Gashkov <[email protected]>",
"description": "Core modules for Streamyx",
"license": "AGPL-3.0",
Expand Down

0 comments on commit 7263def

Please sign in to comment.