misc: rss and media changes (#27)

* refactor: tweak rss processing

* media: override trakt network with tvdb network if trakts is empty

* media: dont merge tvdb language with trakt language

* media: resolve issue with imdb ids
This commit is contained in:
l3uddz
2021-03-05 22:35:16 +00:00
committed by GitHub
parent c3ab8eda6e
commit 5091d78acf
8 changed files with 64 additions and 9 deletions

View File

@@ -46,6 +46,7 @@ func (c *Client) GetItem(tvdbId string) (*Item, error) {
return &Item{
Runtime: util.Atoi(b.Data.Runtime, 0),
Language: b.Data.Language,
Network: b.Data.Network,
Genre: b.Data.Genre,
AirsDayOfWeek: b.Data.AirsDayOfWeek,
SiteRating: b.Data.SiteRating,