Documentation
¶
Index ¶
Constants ¶
View Source
const (
ProgramIDSuffixLength = 4
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
type EpisodeNumber ¶
type FinaleShow ¶
type FinaleShow struct {
XMLName string `xml:"finale"`
}
type PremiereShow ¶
type PremiereShow struct {
XMLName string `xml:"premiere"`
}
type PreviouslyShown ¶
type PreviouslyShown struct {
XMLName string `xml:"previously-shown"`
}
type Program ¶
type Program struct {
XMLName string `xml:"programme"`
StartTime string `xml:"start,attr"`
EndTime string `xml:"stop,attr"`
ChannelID string `xml:"channel,attr"`
Title *Title
Description *Description
Subtitle *Subtitle
Length *Length
Thumbnail string `xml:"thumbnail,omitempty"`
Icon *Icon
URL string `xml:"url,omitempty"`
EpisodeNumbers []*EpisodeNumber
Categories []*Category
Subtitles *Subtitles
Rating *Rating
NewShow *NewShow
FinaleShow *FinaleShow
PremiereShow *PremiereShow
PreviouslyShown *PreviouslyShown
}
type TVGuide ¶
type TVGuide struct {
XMLName string `xml:"tv"`
Language string `xml:"-"`
SourceInfoURL string `xml:"source-info-url,attr"`
SourceInfoName string `xml:"source-info-name,attr"`
GeneratorInfoName string `xml:"generator-info-name,attr"`
GeneratorInfoURL string `xml:"generator-info-url,attr"`
Channels []*Channel
Programs []*Program
}
func CreateTVGuide ¶
func (*TVGuide) AddChannel ¶
func (tvg *TVGuide) AddChannel(channel zap2it.ChannelResponse)
func (*TVGuide) AddEvent ¶
func (tvg *TVGuide) AddEvent(event zap2it.EventResponse)
func (*TVGuide) ChannelExists ¶
Click to show internal directories.
Click to hide internal directories.