mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Merge branch 'markus101'
Conflicts: NzbDrone.Web/NzbDrone.Web.csproj NzbDrone.Web/Views/Log/Index.cshtml
This commit is contained in:
commit
6f73260ab7
32 changed files with 1359 additions and 537 deletions
|
@ -69,22 +69,15 @@ namespace NzbDrone.Web.Controllers
|
|||
var episodes = _episodeProvider.GetEpisodeBySeason(seasonId).Select(c => new EpisodeModel
|
||||
{
|
||||
EpisodeId = c.EpisodeId,
|
||||
EpisodeNumber =
|
||||
c.EpisodeNumber,
|
||||
SeasonNumber =
|
||||
c.SeasonNumber,
|
||||
EpisodeNumber = c.EpisodeNumber,
|
||||
SeasonNumber = c.SeasonNumber,
|
||||
Title = c.Title,
|
||||
Overview = c.Overview,
|
||||
AirDate = c.AirDate,
|
||||
Path =
|
||||
GetEpisodePath(
|
||||
c.EpisodeFile),
|
||||
Quality =
|
||||
c.EpisodeFile == null
|
||||
Path = GetEpisodePath(c.EpisodeFile),
|
||||
Quality = c.EpisodeFile == null
|
||||
? String.Empty
|
||||
: c.EpisodeFile.
|
||||
Quality.
|
||||
ToString()
|
||||
: c.EpisodeFile.Quality.ToString()
|
||||
});
|
||||
return View(new GridModel(episodes));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue