mirror of https://github.com/Radarr/Radarr
Merge pull request #500 from Radarr/patch/net-import-changes
Patch/net import changes
This commit is contained in:
commit
be083cfd53
|
@ -15,7 +15,7 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||||
public class Movie
|
public class Movie
|
||||||
{
|
{
|
||||||
public string title { get; set; }
|
public string title { get; set; }
|
||||||
public int year { get; set; }
|
public int? year { get; set; }
|
||||||
public Ids ids { get; set; }
|
public Ids ids { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||||
Title = movie.movie.title,
|
Title = movie.movie.title,
|
||||||
ImdbId = movie.movie.ids.imdb,
|
ImdbId = movie.movie.ids.imdb,
|
||||||
TmdbId = movie.movie.ids.tmdb,
|
TmdbId = movie.movie.ids.tmdb,
|
||||||
Year = movie.movie.year
|
Year = (movie.movie.year ?? 0)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,11 @@
|
||||||
<label class="col-sm-3 control-label">Quality Profile</label>
|
<label class="col-sm-3 control-label">Quality Profile</label>
|
||||||
|
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
{{> ProfileSelectionPartial profiles}}
|
<select class="form-control x-profile" id="inputProfile" name="profileId">
|
||||||
|
{{#each profiles}}
|
||||||
|
<option value="{{id}}">{{name}}</option>
|
||||||
|
{{/each}}
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue