feat: propagate stream source type from provider to client
This commit is contained in:
@@ -49,6 +49,7 @@ type SubtitleItem struct {
|
||||
|
||||
type ModeSource struct {
|
||||
Token string `json:"token"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Subtitles []SubtitleItem `json:"subtitles"`
|
||||
Qualities []string `json:"qualities,omitempty"`
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ type StreamSource struct {
|
||||
type StreamResult struct {
|
||||
URL string
|
||||
Referer string
|
||||
Type string
|
||||
Subtitles []Subtitle
|
||||
Qualities []StreamSource
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user