feat: propagate stream source type from provider to client

This commit is contained in:
2026-06-14 21:37:38 +02:00
parent 20aadd36f8
commit ef36578c4b
4 changed files with 4 additions and 0 deletions

View File

@@ -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"`
}

View File

@@ -12,6 +12,7 @@ type StreamSource struct {
type StreamResult struct {
URL string
Referer string
Type string
Subtitles []Subtitle
Qualities []StreamSource
}