|
|
@ -189,6 +189,8 @@ namespace PlexRequests.UI.Modules
|
|
|
|
|
|
|
|
|
|
|
|
IEnumerable<QualityModel> qualities = new List<QualityModel>();
|
|
|
|
IEnumerable<QualityModel> qualities = new List<QualityModel>();
|
|
|
|
if (IsAdmin)
|
|
|
|
if (IsAdmin)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var sonarrSettings = SonarrSettings.GetSettings();
|
|
|
|
var sonarrSettings = SonarrSettings.GetSettings();
|
|
|
|
if (sonarrSettings.Enabled)
|
|
|
|
if (sonarrSettings.Enabled)
|
|
|
@ -208,6 +210,12 @@ namespace PlexRequests.UI.Modules
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Log.Info(e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var viewModel = dbTv.Select(tv =>
|
|
|
|
var viewModel = dbTv.Select(tv =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|