mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
using System; |
|
using System.IO; |
|
|
|
namespace ErsatzTV.Core |
|
{ |
|
public static class FileSystemLayout |
|
{ |
|
public static readonly string AppDataFolder = Path.Combine( |
|
Environment.GetFolderPath( |
|
Environment.SpecialFolder.LocalApplicationData, |
|
Environment.SpecialFolderOption.Create), |
|
"ersatztv"); |
|
|
|
public static readonly string DatabasePath = Path.Combine(AppDataFolder, "ersatztv.sqlite3"); |
|
|
|
public static readonly string LogDatabasePath = Path.Combine(AppDataFolder, "logs.sqlite3"); |
|
|
|
public static readonly string LegacyImageCacheFolder = Path.Combine(AppDataFolder, "cache", "images"); |
|
|
|
public static readonly string PlexSecretsPath = Path.Combine(AppDataFolder, "plex-secrets.json"); |
|
|
|
public static readonly string ArtworkCacheFolder = Path.Combine(AppDataFolder, "cache", "artwork"); |
|
|
|
public static readonly string PosterCacheFolder = Path.Combine(ArtworkCacheFolder, "posters"); |
|
public static readonly string ThumbnailCacheFolder = Path.Combine(ArtworkCacheFolder, "thumbnails"); |
|
public static readonly string LogoCacheFolder = Path.Combine(ArtworkCacheFolder, "logos"); |
|
} |
|
}
|
|
|