Banners folder moved to root.

This commit is contained in:
kay.one 2011-12-01 23:07:18 -08:00
commit 76608fc440
5 changed files with 22 additions and 23 deletions

View file

@ -85,9 +85,19 @@ namespace NzbDrone.Common
return Path.Combine(enviromentProvider.GetAppDataPath(), LOG_DB_FILE);
}
public static string GetMediaCoverPath(this EnviromentProvider enviromentProvider)
{
return Path.Combine(enviromentProvider.GetWebRoot(), "MediaCover");
}
public static string GetBannerPath(this EnviromentProvider enviromentProvider)
{
return Path.Combine(enviromentProvider.GetWebRoot(), "Content", "Images", "Banners");
return Path.Combine(enviromentProvider.GetMediaCoverPath(), "Banner");
}
public static string GetFanArthPath(this EnviromentProvider enviromentProvider)
{
return Path.Combine(enviromentProvider.GetMediaCoverPath(), "Fanart");
}
public static string GetCacheFolder(this EnviromentProvider enviromentProvider)