Documentation ¶
Index ¶
- Variables
- func AddLivestreamSearchEtag(config *config.Config, etag string) error
- func AddPlaylistEtag(config *config.Config, etag string) error
- func CalculateEndTime(endtime string, starttime string) (string, error)
- func GetLivestreamID(config *config.Config, etag string) ([]*youtube.Video, string, error)
- func GetLivestreamInfo(config *config.Config, id string, etag string) ([]*youtube.Video, string, error)
- func GetLivestreamSearchEtag(config *config.Config) (string, error)
- func GetPlaylistEtag(config *config.Config) (string, error)
- func GetPlaylistVideos(config *config.Config, etag string) ([]*youtube.PlaylistItem, string, error)
- func GetVideoInfo(config *config.Config, id string, etag string) ([]*youtube.Video, string, error)
- func LoopApiLivestream(config *config.Config, api chan []*youtube.Video) error
- func LoopPlaylist(config *config.Config, api chan []*youtube.Video, ...) error
- func LoopScrapedLivestream(config *config.Config, scraped chan []*youtube.Video) error
- func ScrapeLivestreamID(config *config.Config) string
- func UpdateEverythingPlaylist(config *config.Config, playlistElement *youtube.PlaylistItem, vod YTVod) error
- func UpdateEverythingVideo(config *config.Config, video *youtube.Video, vod YTVod) error
- func UpdatePlaylistInfo(config *config.Config, playlist []*youtube.PlaylistItem, vods []YTVod) error
- func VODIndex(vods []YTVod, id string) int
- func WrapWithYTError(err error, module string, message string) error
- type YTErrorWrapper
- type YTVod
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIsNotModified = errors.New("not modified")
Functions ¶
func AddLivestreamSearchEtag ¶
func GetLivestreamID ¶
func GetLivestreamInfo ¶
func GetPlaylistVideos ¶
func GetVideoInfo ¶
func LoopApiLivestream ¶
func LoopPlaylist ¶
func LoopScrapedLivestream ¶
func ScrapeLivestreamID ¶
func UpdateEverythingVideo ¶
func UpdatePlaylistInfo ¶
Types ¶
type YTErrorWrapper ¶
func (*YTErrorWrapper) Error ¶
func (err *YTErrorWrapper) Error() string
func (*YTErrorWrapper) Unwrap ¶
func (err *YTErrorWrapper) Unwrap() error
Click to show internal directories.
Click to hide internal directories.