media_info_dealers

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dealers

type Dealers struct {
	Logger          *logrus.Logger
	SubtitleBestApi *subtitle_best_api.SubtitleBestApi
	// contains filtered or unexported fields
}

func NewDealers

func NewDealers(log *logrus.Logger, subtitleBestApi *subtitle_best_api.SubtitleBestApi) *Dealers

func (*Dealers) ConvertId

func (d *Dealers) ConvertId(iD string, idType string, isMovieOrSeries bool) (convertIdResult *tmdb_api.ConvertIdResult, err error)

ConvertId 目前仅仅支持 TMDB ID 转 IMDB ID, iD:TMDB ID,idType:tmdb

func (*Dealers) GetMediaInfo

func (d *Dealers) GetMediaInfo(id, source, videoType string) (*models.MediaInfo, error)

func (*Dealers) SetTmdbHelperInstance

func (d *Dealers) SetTmdbHelperInstance(tmdbHelper *tmdb_api.TmdbApi)

Jump to

Keyboard shortcuts

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