mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 23:57:20 +02:00
Removed Drone Specific parser, on 2nd look it is not needed... just need to include the quality when adding it to the SAB Queue.
This commit is contained in:
parent
fd038891fb
commit
1ba6cd0d3a
@ -171,32 +171,6 @@ internal static QualityTypes ParseQuality(string name)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static QualityTypes ParseDroneQuality(string name)
|
|
||||||
{
|
|
||||||
var result = QualityTypes.Unknown;
|
|
||||||
|
|
||||||
if (name.Contains("[TV]"))
|
|
||||||
return QualityTypes.TV;
|
|
||||||
|
|
||||||
if (name.Contains("[DVD]"))
|
|
||||||
return QualityTypes.DVD;
|
|
||||||
|
|
||||||
if (name.Contains("[BDRip]"))
|
|
||||||
return QualityTypes.BDRip;
|
|
||||||
|
|
||||||
if (name.Contains("[HDTV]"))
|
|
||||||
return QualityTypes.HDTV;
|
|
||||||
|
|
||||||
if (name.Contains("[WEBDL]"))
|
|
||||||
return QualityTypes.WEBDL;
|
|
||||||
|
|
||||||
if (name.Contains("[Bluray]"))
|
|
||||||
return QualityTypes.Bluray;
|
|
||||||
|
|
||||||
//If it's unknown let the "regular" quality parse have a go
|
|
||||||
return ParseQuality(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Normalizes the title. removing all non-word characters as well as common tokens
|
/// Normalizes the title. removing all non-word characters as well as common tokens
|
||||||
/// such as 'the' and 'and'
|
/// such as 'the' and 'and'
|
||||||
|
Loading…
Reference in New Issue
Block a user