1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 10:07:10 +00:00

Fixed up DownloadClient settings in UI

This commit is contained in:
Mark McDowall 2013-05-14 08:27:33 -07:00
parent 07613092b4
commit 5b664afaf8
2 changed files with 2 additions and 22 deletions

View file

@ -51,7 +51,7 @@ public virtual void Trim()
public virtual QualityModel GetBestQualityInHistory(int episodeId) public virtual QualityModel GetBestQualityInHistory(int episodeId)
{ {
return _historyRepository.GetBestQualityInHistory(episodeId).OrderByDescending(q => q).FirstOrDefault(); return _historyRepository.GetEpisodeHistory(episodeId).OrderByDescending(q => q).FirstOrDefault();
} }
public void Handle(EpisodeGrabbedEvent message) public void Handle(EpisodeGrabbedEvent message)

View file

@ -20,32 +20,12 @@
<label class="control-label">Unsorted TV Directory</label> <label class="control-label">Unsorted TV Directory</label>
<div class="controls"> <div class="controls">
<input type="text" placeholder="C:\Unsorted TV" name="downloadClientDropDirectory" class="x-path"/> <input type="text" placeholder="C:\Unsorted TV" name="downloadClientTvDirectory" class="x-path"/>
<span class="help-inline"> <span class="help-inline">
<i class="icon-question-sign" title="The directory where your download client downloads TV shows to."></i> <i class="icon-question-sign" title="The directory where your download client downloads TV shows to."></i>
</span> </span>
</div> </div>
</div> </div>
<div class="control-group">
<label class="control-label">Use Scene Name</label>
<div class="controls">
<label class="checkbox toggle well">
<input type="checkbox" name="downloadClientUseSceneName"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
</label>
<span class="help-inline-checkbox">
<i class="icon-question-sign" title="Use Scene name when adding NZB to queue?"></i>
</span>
</div>
</div>
</fieldset> </fieldset>
<fieldset class="x-sab-config"> <fieldset class="x-sab-config">