-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This does not include DRM decryption, that will come later, however, this does work for however long CR allows it to.
- Loading branch information
Showing
4 changed files
with
152 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,7 @@ gui/react/build/ | |
docker-compose.yml | ||
crunchyendpoints | ||
.vscode | ||
/logs | ||
/tmp/*/ | ||
/videos/*/ | ||
/tmp/*.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
export interface CrunchyAndroidStreams { | ||
__class__: string; | ||
__href__: string; | ||
__resource_key__: string; | ||
__links__: Links; | ||
__actions__: Actions; | ||
media_id: string; | ||
audio_locale: string; | ||
subtitles: { [key: string]: Subtitle }; | ||
closed_captions: Actions; | ||
streams: Streams; | ||
bifs: string[]; | ||
versions: Version[]; | ||
captions: Actions; | ||
} | ||
|
||
export interface Actions { | ||
} | ||
|
||
export interface Links { | ||
resource: Resource; | ||
} | ||
|
||
export interface Resource { | ||
href: string; | ||
} | ||
|
||
export interface Streams { | ||
[key: string]: { [key: string]: Download }; | ||
} | ||
|
||
export interface Download { | ||
hardsub_locale: string; | ||
hardsub_lang?: string; | ||
url: string; | ||
} | ||
|
||
export interface Urls { | ||
'': Download; | ||
} | ||
|
||
export interface Subtitle { | ||
locale: string; | ||
url: string; | ||
format: string; | ||
} | ||
|
||
export interface Version { | ||
audio_locale: string; | ||
guid: string; | ||
original: boolean; | ||
variant: string; | ||
season_guid: string; | ||
media_guid: string; | ||
is_premium_only: boolean; | ||
} |
Oops, something went wrong.