Almost everything working except importing episode thumbs

This commit is contained in:
Mark McDowall
2014-01-24 08:17:56 -08:00
parent a6361d0bbd
commit 3ca5e478ff
24 changed files with 509 additions and 174 deletions
+1 -4
View File
@@ -34,10 +34,7 @@ namespace NzbDrone.Common.Disk
throw new NotParentException("{0} is not a child of {1}", childPath, parentPath);
}
var parentUri = new Uri(parentPath, UriKind.Absolute);
var childUri = new Uri(childPath, UriKind.Absolute);
return childUri.MakeRelativeUri(parentUri).ToString();
return childPath.Substring(parentPath.Length).Trim(Path.DirectorySeparatorChar);
}
public static bool IsParent(string parentPath, string childPath)