mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
37a1398338
New: Select preferred protocol (usenet/torrent) New: Option to delay grabs from usenet/torrents independently
23 lines
559 B
C#
23 lines
559 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Parser;
|
|
using NzbDrone.Core.Qualities;
|
|
|
|
namespace NzbDrone.Core.Profiles
|
|
{
|
|
public class Profile : ModelBase
|
|
{
|
|
public String Name { get; set; }
|
|
public Quality Cutoff { get; set; }
|
|
public List<ProfileQualityItem> Items { get; set; }
|
|
public Language Language { get; set; }
|
|
|
|
public Quality LastAllowedQuality()
|
|
{
|
|
return Items.Last(q => q.Allowed).Quality;
|
|
}
|
|
}
|
|
}
|