added more image providers

This commit is contained in:
Luke Pulverenti
2014-02-08 15:02:35 -05:00
parent 12757d094b
commit d0f1a83621
96 changed files with 630 additions and 526 deletions

View File

@@ -1,4 +1,5 @@
using MediaBrowser.Common.Implementations;
using System;
using MediaBrowser.Common.Implementations;
using MediaBrowser.Controller;
using System.IO;
@@ -213,18 +214,6 @@ namespace MediaBrowser.Server.Implementations
}
}
/// <summary>
/// Gets the images data path.
/// </summary>
/// <value>The images data path.</value>
public string DownloadedImagesDataPath
{
get
{
return Path.Combine(DataPath, "remote-images");
}
}
/// <summary>
/// Gets the artists path.
/// </summary>
@@ -249,5 +238,20 @@ namespace MediaBrowser.Server.Implementations
return Path.Combine(ItemsByNamePath, "GameGenre");
}
}
public string InternalMetadataPath
{
get
{
return Path.Combine(DataPath, "metadata");
}
}
public string GetInternalMetadataPath(Guid id)
{
var idString = id.ToString("N");
return Path.Combine(InternalMetadataPath, idString.Substring(0, 2), idString);
}
}
}