ctv

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: OSL-3.0 Imports: 8 Imported by: 0

README

ctv

android

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

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

func Widevine

func Widevine(data []byte) ([]byte, error)

Types

type AxisContent

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

func (*AxisContent) Manifest

func (a *AxisContent) Manifest(play *Playback) (Manifest, error)

func (*AxisContent) Playback

func (a *AxisContent) Playback() (*Playback, error)

type Dash

type Dash struct {
	Body []byte
	Url  *url.URL
}

type Manifest

type Manifest []byte

func (Manifest) Dash

func (m Manifest) Dash() (*Dash, error)

type Playback

type Playback struct {
	ContentPackages []struct {
		Id int
	}
}

type ResolvedPath

type ResolvedPath struct {
	LastSegment struct {
		Content struct {
			FirstPlayableContent *struct {
				Id string
			}
			Id string
		}
	}
}

func Resolve

func Resolve(path string) (*ResolvedPath, error)

func (*ResolvedPath) AxisContent

func (r *ResolvedPath) AxisContent() (*AxisContent, error)

Jump to

Keyboard shortcuts

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