forked from kenzuya/unshackle
feat(tracks): add Video.hdr10_base and forward s_lang over remote and REST
A DV track with an HDR10 base (profile 8.1) lists as DV+HDR10; dl_params now carry s_lang.
This commit is contained in:
@@ -795,7 +795,7 @@ async def list_tracks(request: web.Request) -> web.Response:
|
||||
dl_params:
|
||||
type: object
|
||||
description: |
|
||||
The dl track selection (lang, v_lang, a_lang, acodec, forced_subs, exact_lang), in the same
|
||||
The dl track selection (lang, v_lang, a_lang, s_lang, acodec, forced_subs, exact_lang), in the same
|
||||
form as on `/api/session/create`. The service reads it from `ctx.parent.params`.
|
||||
credentials:
|
||||
type: object
|
||||
@@ -1916,6 +1916,11 @@ async def session_create(request: web.Request) -> web.Response:
|
||||
items:
|
||||
type: string
|
||||
default: []
|
||||
s_lang:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
default: ["all"]
|
||||
forced_subs:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
Reference in New Issue
Block a user