Versions in this module Expand all Collapse all v0 v0.0.3 May 13, 2026 v0.0.2 May 13, 2026 Changes in this version + type StatusCodeError struct + StatusCode int + func (e *StatusCodeError) Error() string v0.0.1 Apr 16, 2024 Changes in this version + type AuthenticationResponse struct + ServerInfo ServerInfo + UserInfo UserInfo + type Base64Value []byte + func New(b []byte) *Base64Value + func NewFromString(encoded string) (*Base64Value, error) + func (bv *Base64Value) MarshalJSON() ([]byte, error) + func (bv *Base64Value) String() string + func (bv *Base64Value) UnmarshalJSON(b []byte) error + type Category struct + ID FlexInt + Name string + Parent FlexInt + Type string + type ConvertibleBoolean struct + func (bit *ConvertibleBoolean) UnmarshalJSON(data []byte) error + func (bit ConvertibleBoolean) MarshalJSON() ([]byte, error) + type Disposition struct + AttachedPic int + CleanEffects int + Comment int + Default int + Dub int + Forced int + HearingImpaired int + Karaoke int + Lyrics int + Original int + VisualImpaired int + type EPGInfo struct + ChannelID string + Description Base64Value + EPGID FlexInt + End string + HasArchive ConvertibleBoolean + ID FlexInt + Lang string + NowPlaying ConvertibleBoolean + Start string + StartTimestamp Timestamp + StopTimestamp Timestamp + Title Base64Value + type FFMPEGStreamInfo struct + AvgFrameRate string + BitRate string + BitsPerRawSample string + BitsPerSample int + ChannelLayout string + Channels int + ChromaLocation string + CodecLongName string + CodecName string + CodecTag string + CodecTagString string + CodecTimeBase string + CodecType StreamType + CodedHeight int + CodedWidth int + ColorPrimaries string + ColorRange string + ColorSpace string + ColorTransfer string + DisplayAspectRatio string + Disposition Disposition + DivxPacked string + DmixMode string + Duration string + DurationTs int + FrameRate string + HasBFrames int + Height int + ID string + Index int + IsAvc string + Level int + LoroCmixlev string + LoroSurmixlev string + LtrtCmixlev string + LtrtSurmixlev string + MaxBitRate string + NalLengthSize string + NumFrames string + PixFmt string + Profile string + QuarterSample string + Refs int + SampleAspectRatio string + SampleFmt string + SampleRate string + SideDataList []SideData + StartPts int + StartTime string + Tags Tags + TimeBase string + Timecode string + Width int + func (s FFMPEGStreamInfo) IsRotated() (bool, error) + func (s FFMPEGStreamInfo) Rotation() (int, error) + type FlexFloat float64 + func (ff *FlexFloat) UnmarshalJSON(b []byte) error + type FlexInt int64 + func (f *FlexInt) UnmarshalJSON(data []byte) error + func (f FlexInt) MarshalJSON() ([]byte, error) + type Format struct + BitRate string + Duration string + Filename string + LongName string + Name string + NumPrograms int + NumStreams int + ProbeScore int + Size string + StartTime string + Tags Tags + type JSONStringSlice struct + SingleString bool + Slice []string + func (b *JSONStringSlice) UnmarshalJSON(data []byte) error + func (b JSONStringSlice) MarshalJSON() ([]byte, error) + type ProbeInfo struct + Format Format + Streams []FFMPEGStreamInfo + func NewInfo(jsonData string) (*ProbeInfo, error) + func (info ProbeInfo) FilterStreams(t StreamType) []FFMPEGStreamInfo + type Series struct + Episodes map[string][]SeriesEpisode + Info SeriesInfo + Seasons []interface{} + type SeriesEpisode struct + Added string + ContainerExtension string + CustomSid string + DirectSource string + EpisodeNum FlexInt + ID string + Info struct{ ... } + Season FlexInt + Title string + type SeriesInfo struct + BackdropPath *JSONStringSlice + Cast string + CategoryID *FlexInt + Cover string + Director string + EpisodeRunTime string + Genre string + LastModified *Timestamp + Name string + Num FlexInt + Plot string + Rating FlexInt + Rating5 FlexFloat + ReleaseDate string + SeriesID FlexInt + StreamType string + YoutubeTrailer string + type ServerInfo struct + HTTPSPort FlexInt + Port FlexInt + Process bool + Protocol string + RTMPPort FlexInt + TimeNow string + TimestampNow Timestamp + Timezone string + URL string + type SideData struct + Displaymatrix string + Rotation int + Size int + Type string + type Stream struct + Added *Timestamp + CategoryID FlexInt + CategoryName string + ContainerExtension string + CustomSid string + DirectSource string + EPGChannelID string + ID FlexInt + Icon string + Name string + Number FlexInt + Rating FlexFloat + Rating5based FlexFloat + TVArchive FlexInt + TVArchiveDuration *FlexInt + Type string + type StreamType string + const AudioStream + const VideoStream + type Tags map[string]interface + type Timestamp struct + func (t *Timestamp) UnmarshalJSON(b []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + type UserInfo struct + ActiveConnections FlexInt + AllowedOutputFormats []string + Auth ConvertibleBoolean + CreatedAt Timestamp + ExpDate *Timestamp + IsTrial ConvertibleBoolean + MaxConnections FlexInt + Message string + Password string + Status string + Username string + type VideoOnDemandInfo struct + Info struct{ ... } + MovieData struct{ ... } + type XtreamClient struct + BaseURL string + Context context.Context + HTTP *http.Client + Password string + ServerInfo ServerInfo + UserAgent string + UserInfo UserInfo + Username string + func NewClient(username, password, baseURL string) (*XtreamClient, error) + func NewClientWithContext(ctx context.Context, username, password, baseURL string) (*XtreamClient, error) + func NewClientWithUserAgent(ctx context.Context, username, password, baseURL, userAgent string) (*XtreamClient, error) + func (c *XtreamClient) GetCategories(catType string) ([]Category, error) + func (c *XtreamClient) GetEPG(streamID string) ([]EPGInfo, error) + func (c *XtreamClient) GetLiveCategories() ([]Category, error) + func (c *XtreamClient) GetLiveStreams(categoryID string) ([]Stream, error) + func (c *XtreamClient) GetSeries(categoryID string) ([]SeriesInfo, error) + func (c *XtreamClient) GetSeriesCategories() ([]Category, error) + func (c *XtreamClient) GetSeriesInfo(seriesID string) (*Series, error) + func (c *XtreamClient) GetShortEPG(streamID string, limit int) ([]EPGInfo, error) + func (c *XtreamClient) GetStreamURL(streamID int, wantedFormat string) (string, error) + func (c *XtreamClient) GetStreams(streamAction, categoryID string) ([]Stream, error) + func (c *XtreamClient) GetVideoOnDemandCategories() ([]Category, error) + func (c *XtreamClient) GetVideoOnDemandInfo(vodID string) (*VideoOnDemandInfo, error) + func (c *XtreamClient) GetVideoOnDemandStreams(categoryID string) ([]Stream, error) + func (c *XtreamClient) GetXMLTV() ([]byte, error)