mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-30 22:47:51 +08:00
chore: do some work
This commit is contained in:
@@ -44,6 +44,10 @@ func (c *Client) GetEposideDetail(id, seasonNumber, eposideNumber int, language
|
||||
return d, err
|
||||
}
|
||||
|
||||
func (c *Client) GetSeasonDetails(id, seasonNumber int, language string) (*tmdb.TVSeasonDetails, error) {
|
||||
return c.tmdbClient.GetTVSeasonDetails(id, seasonNumber, withLangOption(language))
|
||||
}
|
||||
|
||||
func wrapLanguage(lang string) string {
|
||||
if lang == "" {
|
||||
lang = "zh-CN"
|
||||
|
||||
Reference in New Issue
Block a user