Rewrote most of the renamer token handling code to give it a bit more generic architecture. Also added MediaInfo as possible token.

This commit is contained in:
Taloth Saldono
2014-07-28 23:14:34 +02:00
parent 7b420fc033
commit 8a5edfeaf5
20 changed files with 452 additions and 265 deletions
@@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.MediaFiles
"Law & Order- Criminal Intent - S10E07 - Icarus [HDTV-720p]")]
public void CleanFileName(string name, string expectedName)
{
FileNameBuilder.CleanFilename(name).Should().Be(expectedName);
FileNameBuilder.CleanFileName(name).Should().Be(expectedName);
}
[Test]