fix case sensitive file names

This commit is contained in:
Luke Pulverenti
2014-10-09 18:22:04 -04:00
parent ad6f47329f
commit 74a8ca9c38
30 changed files with 155 additions and 68 deletions

View File

@@ -43,6 +43,10 @@ namespace MediaBrowser.Providers.Manager
if (replaceData || string.IsNullOrEmpty(target.HomePageUrl))
{
target.HomePageUrl = source.HomePageUrl;
if (!string.IsNullOrWhiteSpace(target.HomePageUrl) && target.HomePageUrl.IndexOf("http", StringComparison.OrdinalIgnoreCase) != 0)
{
target.HomePageUrl = "http://" + target.HomePageUrl;
}
}
if (replaceData || !target.IndexNumber.HasValue)