mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Banners folder moved to root.
This commit is contained in:
parent
bb460163c2
commit
76608fc440
5 changed files with 22 additions and 23 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue