theater

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMovieDuration

func GetMovieDuration(uri string) (duration int64, err error)

func GetMovieFileSize

func GetMovieFileSize(uri string) (int64, error)

Types

type Service

func NewService

func NewService(ctx *core.Context) *Service

func (*Service) AddSubtitles

Get all subtitles from theater

func (*Service) Follow

func (*Service) GetFollowedTheaters

func (s *Service) GetFollowedTheaters(ctx context.Context, req *proto.AuthenticateRequest) (*proto.FollowedTheatersResponse, error)

func (*Service) GetMediaSources

func (*Service) GetSubtitles

Get all subtitles from theater

func (*Service) GetTheater

func (*Service) Invite

func (*Service) RemoveMediaSource

func (s *Service) RemoveMediaSource(ctx context.Context, req *proto.MediaSourceRemoveRequest) (*proto.Response, error)

func (*Service) RemoveSubtitle

func (s *Service) RemoveSubtitle(ctx context.Context, req *proto.RemoveSubtitleRequest) (*proto.Response, error)

Remove subtitle from theater

func (*Service) SavePosterFromUrl

func (s *Service) SavePosterFromUrl(url string) (string, error)

func (*Service) SelectMediaSource

func (*Service) Unfollow

func (s *Service) Unfollow(ctx context.Context, req *proto.TheaterAuthRequest) (*proto.Response, error)

func (*Service) UpdateTheater

func (s *Service) UpdateTheater(ctx context.Context, req *proto.TheaterAuthRequest) (*proto.Response, error)

Jump to

Keyboard shortcuts

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