refactored Episode, Added Quality Enum

This commit is contained in:
Keivan
2010-09-27 22:01:54 -07:00
parent 01c1943d0e
commit a49850cc89
12 changed files with 240 additions and 270 deletions

View File

@@ -23,5 +23,11 @@ namespace NzbDrone.Core.Providers
}
#endregion
public static string CleanPath(string path)
{
if (string.IsNullOrEmpty(path)) throw new ArgumentException("Path can not be null or empty");
return path.ToLower().Trim('/', '\\', ' ');
}
}
}