roadie/RoadieApi/appsettings.json

163 lines
4.5 KiB
JSON
Raw Normal View History

2018-11-02 21:04:49 +00:00
{
"Kestrel": {
"EndPoints": {
"Http": {
2018-11-21 06:34:53 +00:00
"Url": "http://192.168.1.177:5123/"
}
}
},
2018-11-23 15:10:33 +00:00
"Serilog": {
2018-11-24 01:46:12 +00:00
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFileAlternate", "Serilog.Sinks.SQLite" ],
2018-11-23 15:10:33 +00:00
"MinimumLevel": {
"Default": "Verbose",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
2018-11-02 21:04:49 +00:00
}
},
2018-11-23 15:10:33 +00:00
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console"
2018-11-24 01:46:12 +00:00
}
2018-11-23 15:10:33 +00:00
},
{
2018-11-24 01:46:12 +00:00
"Name": "RollingFileAlternate",
2018-11-23 15:10:33 +00:00
"Args": {
"restrictedToMinimumLevel": "Information",
2018-11-24 01:46:12 +00:00
"path": "{Date}.log",
"logDirectory": "logs",
"fileSizeLimitBytes": 26214400,
2018-11-23 15:10:33 +00:00
"buffered": true
}
2018-11-24 01:46:12 +00:00
},
{
"Name": "SQLite",
"Args": {
"restrictedToMinimumLevel": "Error",
"sqliteDbPath": "logs\\errors.sqlite"
}
2018-11-23 15:10:33 +00:00
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithExceptionDetails" ],
"Properties": {
"Application": "Roadie API"
2018-11-02 21:04:49 +00:00
}
},
"Tokens": {
"PrivateKey": "!1232bcdb4bebc80a0d080883d6deefuxlsh8bfc920c2a8cskeuxd8349sk412aa785662e594b4df48cb46aa3c652b40b3#",
"PublicKey": "91i4874y24134E50sz7dges68AB08",
"Lifetime": "86400",
"Issuer": "http://localhost:5123",
"Audience": "http://localhost:5500"
},
"ConnectionStrings": {
2018-11-05 00:08:37 +00:00
"RoadieDatabaseConnection": "server=voyager;userid=roadie;password=MenAtW0rk668;persistsecurityinfo=True;database=roadie;ConvertZeroDateTime=true"
2018-11-02 21:04:49 +00:00
},
2018-11-05 00:08:37 +00:00
"RoadieSettings": {
2018-11-02 21:04:49 +00:00
"SiteName": "Roadie",
2018-11-05 00:08:37 +00:00
"DefaultTimeZone": "US/Central",
"DiagnosticsPassword": "RoadieDiagPassword",
2018-11-02 21:04:49 +00:00
"InboundFolder": "Z:/incoming/",
"LibraryFolder": "Z:/library/",
2018-11-05 00:08:37 +00:00
"Thumbnails": {
"Height": 80,
"Width": 80
},
"MediumThumbnails": {
"Height": 160,
"Width": 160
},
"LargeThumbnails": {
"Height": 320,
"Width": 320
},
"DontDoMetaDataProvidersSearchArtists": [ "Various Artists", "Sound Tracks" ],
"FileExtenionsToDelete": [ ".cue", ".db", ".gif", ".html", ".ini", ".jpg", ".jpeg", ".log", ".mpg", ".m3u", ".png", ".nfo", ".nzb", ".sfv", ".srr", ".txt", ".url" ],
"RecordNoResultSearches": true,
2018-11-02 21:04:49 +00:00
"SingleArtistHoldingFolder": "Z:/single_holding/",
"ArtistNameReplace": {
"AC/DC": [ "AC; DC", "AC;DC", "AC/ DC", "AC DC" ],
"Love/Hate": [ "Love; Hate", "Love;Hate", "Love/ Hate", "Love Hate" ]
},
2018-11-05 00:08:37 +00:00
"Converting": {
"DoDeleteAfter": true,
"M4AConvertCommand": "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"",
"OGGConvertCommand": "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"\"",
"APEConvertCommand": "ffmpeg -i \"{0}\" \"{1}\""
},
"Integrations": {
"ITunesProviderEnabled": true,
"MusicBrainzProviderEnabled": true,
"SpotifyProviderEnabled": true,
"ApiKeys": [
{
"ApiName": "BingImageSearch",
"Key": "<KEY HERE>"
},
{
"ApiName": "LastFMApiKey",
"Key": "<KEY HERE>",
"KeySecret": "<SECRET HERE>"
},
{
"ApiName": "DiscogsConsumerKey",
"Key": "<KEY HERE>",
"KeySecret": "<SECRET HERE>"
}
]
},
"Processing": {
"DoAudioCleanup": true,
"DoSaveEditsToTags": true,
"DoClearComments": true,
"DoParseFromFileName": true,
"DoParseFromDiscogsDBFindingTrackForArtist": true,
"DoParseFromDiscogsDB": true,
"DoParseFromMusicBrainz": true,
"DoParseFromLastFM": true,
"MaximumArtistImagesToAdd": 12,
"MaximumReleaseImagesToAdd": 12,
"MaxImageWidth": 800,
"RemoveStringsRegex": "\\b[0-9]+\\s#\\s\\b",
"ReplaceStrings": [
{
"order": 1,
"key": "-OBSERVER",
"replaceWith": ""
},
{
"order": 2,
"key": "[Torrent Tatty]",
"replaceWith": ""
},
{
"order": 3,
"key": "_",
"replaceWith": ""
},
{
"order": 4,
"key": "-",
"replaceWith": ""
},
{
"order": 5,
"key": "~",
"replaceWith": ""
},
{
"order": 6,
"key": "^",
"replaceWith": ""
},
{
"order": 7,
"key": "#",
"replaceWith": ""
}
]
}
2018-11-02 21:04:49 +00:00
}
}