itv

package
v1.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: OSL-3.0 Imports: 8 Imported by: 0

README

Itv

even the media content is hard geo blocked

ITVX

Android 7:

sdkVersion:'24'

result:

filter=((type=="video"&&DisplayHeight<=720)||(type!="video"))

ITVX (Android TV)

Android 8:

sdkVersion:'26'

result:

filter=((type=="video"&&DisplayHeight<=576)||(type!="video"))

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryTitle

type DiscoveryTitle struct {
	LatestAvailableVersion struct {
		PlaylistUrl string
	}
	Brand *struct {
		Title string
	}
	EpisodeNumber  int
	ProductionYear int
	SeriesNumber   int
	Title          string
}

func (*DiscoveryTitle) Playlist

func (d *DiscoveryTitle) Playlist() (*Playlist, error)

hard geo block

type Href added in v1.9.9

type Href struct {
	Data string
}

func (*Href) UnmarshalText added in v1.9.9

func (h *Href) UnmarshalText(data []byte) error

type LegacyId

type LegacyId [3]string

func (LegacyId) Discovery

func (i LegacyId) Discovery() (*DiscoveryTitle, error)

func (*LegacyId) Set

func (i *LegacyId) Set(text string) error

func (LegacyId) String

func (i LegacyId) String() string

type MediaFile added in v1.9.9

type MediaFile struct {
	Href          Href
	KeyServiceUrl string
	Resolution    string
}

func (*MediaFile) Wrap added in v1.9.9

func (m *MediaFile) Wrap(data []byte) ([]byte, error)

type Namer

type Namer struct {
	Discovery *DiscoveryTitle
}

func (Namer) Episode

func (n Namer) Episode() int

func (Namer) Season

func (n Namer) Season() int

func (Namer) Show

func (n Namer) Show() string

func (Namer) Title

func (n Namer) Title() string

func (Namer) Year

func (n Namer) Year() int

type Playlist

type Playlist struct {
	Playlist struct {
		Video struct {
			MediaFiles []MediaFile
		}
	}
}

func (*Playlist) Resolution1080 added in v1.9.9

func (p *Playlist) Resolution1080() (*MediaFile, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL