1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01:00

Merge pull request #500 from Radarr/patch/net-import-changes

Patch/net import changes
This commit is contained in:
Devin Buhl 2017-01-28 17:35:09 -05:00 committed by GitHub
commit be083cfd53
4 changed files with 8 additions and 4 deletions

View File

@ -15,7 +15,7 @@ public class Ids
public class Movie
{
public string title { get; set; }
public int year { get; set; }
public int? year { get; set; }
public Ids ids { get; set; }
}

View File

@ -57,7 +57,7 @@ public TraktParser(TraktSettings settings)
Title = movie.movie.title,
ImdbId = movie.movie.ids.imdb,
TmdbId = movie.movie.ids.tmdb,
Year = movie.movie.year
Year = (movie.movie.year ?? 0)
});
}

View File

@ -25,7 +25,7 @@ var view = Marionette.ItemView.extend({
events : {
'click .x-back' : '_back',
'click .x-captcha-refresh' : '_onRefreshCaptcha',
'change .x-root-folder' : '_rootFolderChanged',
'change .x-root-folder' : '_rootFolderChanged',
},
_deleteView : DeleteView,

View File

@ -66,7 +66,11 @@
<label class="col-sm-3 control-label">Quality Profile</label>
<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>