TorznabQuery: add ImdbIDShort

This commit is contained in:
kaso17 2017-01-25 16:59:36 +01:00
parent 290a51ff56
commit 3ea9bc7493
2 changed files with 3 additions and 0 deletions

View File

@ -904,6 +904,7 @@ namespace Jackett.Indexers
variables[".Query.TVDBID"] = null;
variables[".Query.TVRageID"] = query.RageID;
variables[".Query.IMDBID"] = query.ImdbID;
variables[".Query.IMDBIDShort"] = query.ImdbIDShort;
variables[".Query.TVMazeID"] = null;
variables[".Query.TraktID"] = null;

View File

@ -27,6 +27,8 @@ namespace Jackett.Models
public bool IsTest { get; set; }
public string ImdbIDShort { get { return (ImdbID != null ? ImdbID.TrimStart('t') : null); } }
protected string[] QueryStringParts = null;
public string SanitizedSearchTerm