Documentation ¶
Index ¶
- func GetIMDBInfoFromVideoFile(dealers *media_info_dealers.Dealers, videoFPath string, isMovie bool) (*models.IMDBInfo, error)
- func GetIMDBInfoFromVideoNfoInfo(dealers *media_info_dealers.Dealers, videoNfoInfo types.VideoNfoInfo) (*models.IMDBInfo, error)
- func IsChineseVideo(dealers *media_info_dealers.Dealers, videoNfoInfo types.VideoNfoInfo) (bool, *models.IMDBInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIMDBInfoFromVideoFile ¶
func GetIMDBInfoFromVideoFile(dealers *media_info_dealers.Dealers, videoFPath string, isMovie bool) (*models.IMDBInfo, error)
GetIMDBInfoFromVideoFile 先从本地拿缓存,如果没有就从 Web 获取
func GetIMDBInfoFromVideoNfoInfo ¶
func GetIMDBInfoFromVideoNfoInfo(dealers *media_info_dealers.Dealers, videoNfoInfo types.VideoNfoInfo) (*models.IMDBInfo, error)
GetIMDBInfoFromVideoNfoInfo 从本地获取 IMDB 信息,注意,如果需要跳过,那么返回 Error == common.SkipCreateInDB
func IsChineseVideo ¶
func IsChineseVideo(dealers *media_info_dealers.Dealers, videoNfoInfo types.VideoNfoInfo) (bool, *models.IMDBInfo, error)
IsChineseVideo 从 imdbID 去查询判断是否是中文视频
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.