ctv

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

ctv

android

https://play.google.com/store/apps/details?id=ca.ctv.ctvgo

> play -i ca.ctv.ctvgo
details[8] = 0 USD
details[13][1][4] = 6.65.1
details[13][1][16] = Sep 10, 2024
details[13][1][17] = APK
details[13][1][82][1][1] = 8.0 and up
details[15][18] = http://www.bell.ca/privacy
downloads = 2.72 million
name = CTV
size = 39.62 megabyte
version code = 60000337

movie

title	"The Girl with the Dragon Tattoo (2011)"
broadcastDate	"2011-12-20T10:00:00Z"

https://ctv.ca/movies/the-girl-with-the-dragon-tattoo-2011

episode

title	"Friends"
seasonNumber	2
episodeNumber	21
title	"The One With the Bullies"
broadcastDate	"1996-04-25T04:00:00Z"

https://ctv.ca/shows/friends/the-one-with-the-bullies-s2e21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Path string
}

func (Address) Resolve

func (a Address) Resolve() (*ResolvePath, error)

func (*Address) String

func (a *Address) String() string

type AxisContent

type AxisContent struct {
	AxisId                int64
	AxisPlaybackLanguages []struct {
		DestinationCode string
	}
}

func (*AxisContent) Manifest

func (a *AxisContent) Manifest(media *MediaContent) (string, error)

hard geo block

type Date

type Date struct {
	Time time.Time
}

func (*Date) MarshalText

func (d *Date) MarshalText() ([]byte, error)

func (*Date) UnmarshalText

func (d *Date) UnmarshalText(text []byte) error

type MediaContent

type MediaContent struct {
	BroadcastDate   Date
	ContentPackages []struct {
		Id int64
	}
	Episode int
	Media   struct {
		Name string
		Type string
	}
	Name   string
	Season struct {
		Number int
	}
}

func (*MediaContent) Marshal added in v1.9.9

func (*MediaContent) Marshal(axis *AxisContent) ([]byte, error)

func (*MediaContent) Unmarshal

func (m *MediaContent) Unmarshal(data []byte) error

type Namer

type Namer struct {
	Media MediaContent
}

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 ResolvePath

type ResolvePath struct {
	Id                   string
	FirstPlayableContent *struct {
		Id string
	}
}

func (*ResolvePath) Axis

func (r *ResolvePath) Axis() (*AxisContent, error)

type Wrapper added in v1.9.9

type Wrapper struct{}

func (Wrapper) Wrap added in v1.9.9

func (Wrapper) Wrap(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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