|
|
|
@ -93,12 +93,13 @@ namespace NzbDrone.Core.IndexerSearch
|
|
|
|
|
r.Languages == null ? null : from c in r.Languages select GetNabElement("language", c, protocol),
|
|
|
|
|
r.Subs == null ? null : from c in r.Subs select GetNabElement("subs", c, protocol),
|
|
|
|
|
r.Genres == null ? null : GetNabElement("genre", string.Join(", ", r.Genres), protocol),
|
|
|
|
|
GetNabElement("rageid", r.TvRageId, protocol),
|
|
|
|
|
GetNabElement("tvdbid", r.TvdbId, protocol),
|
|
|
|
|
GetNabElement("imdb", r.ImdbId.ToString("D7"), protocol),
|
|
|
|
|
GetNabElement("tmdbid", r.TmdbId, protocol),
|
|
|
|
|
GetNabElement("traktid", r.TraktId, protocol),
|
|
|
|
|
GetNabElement("doubanid", r.DoubanId, protocol),
|
|
|
|
|
r.TvRageId == 0 ? null : GetNabElement("rageid", r.TvRageId, protocol),
|
|
|
|
|
r.TvdbId == 0 ? null : GetNabElement("tvdbid", r.TvdbId, protocol),
|
|
|
|
|
r.ImdbId == 0 ? null : GetNabElement("imdb", r.ImdbId.ToString("D7"), protocol),
|
|
|
|
|
r.TmdbId == 0 ? null : GetNabElement("tmdbid", r.TmdbId, protocol),
|
|
|
|
|
r.TraktId == 0 ? null : GetNabElement("traktid", r.TraktId, protocol),
|
|
|
|
|
r.TvMazeId == 0 ? null : GetNabElement("tvmazeid", r.TvMazeId, protocol),
|
|
|
|
|
r.DoubanId == 0 ? null : GetNabElement("doubanid", r.DoubanId, protocol),
|
|
|
|
|
GetNabElement("seeders", t.Seeders, protocol),
|
|
|
|
|
GetNabElement("files", r.Files, protocol),
|
|
|
|
|
GetNabElement("grabs", r.Grabs, protocol),
|
|
|
|
|