Documentation
¶
Overview ¶
Package xtream implements the upstream panel protocol. Errors never contain request URLs, provider reply bodies, or credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBusy = errors.New("Xtream provider busy")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Base, Username, Password string
MaxBytes int64
Open func(context.Context, string) (io.ReadCloser, error)
}
type Item ¶
type Item struct {
ID Value `json:"stream_id"`
SeriesID Value `json:"series_id"`
Name string `json:"name"`
TMDB Value `json:"tmdb_id"`
TMDBAlt Value `json:"tmdb"`
Year Value `json:"year"`
Extension string `json:"container_extension"`
Modified Value `json:"last_modified"`
Added Value `json:"added"`
}
type MediaInfo ¶
type MediaInfo struct {
TMDB Value `json:"tmdb_id"`
TMDBAlt Value `json:"tmdb"`
Name string `json:"name"`
ReleaseDate string `json:"releasedate"`
Size Value `json:"size"`
Video struct {
Codec string `json:"codec_name"`
Height Value `json:"height"`
} `json:"video"`
Audio struct {
Codec string `json:"codec_name"`
} `json:"audio"`
}
type SeriesInfo ¶
Click to show internal directories.
Click to hide internal directories.