fixes #588 - Add option to use xbmc convention when saving images

This commit is contained in:
Luke Pulverenti
2013-10-15 11:29:19 -04:00
parent f3c2609c8c
commit ca2e0f3451
5 changed files with 94 additions and 24 deletions

View File

@@ -228,12 +228,15 @@ namespace MediaBrowser.Model.Configuration
public bool EnableVideoImageExtraction { get; set; }
public ImageSavingConvention ImageSavingConvention { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
/// </summary>
public ServerConfiguration()
: base()
{
ImageSavingConvention = ImageSavingConvention.Legacy;
HttpServerPortNumber = 8096;
LegacyWebSocketPortNumber = 8945;
EnableHttpLevelLogging = true;
@@ -277,4 +280,10 @@ namespace MediaBrowser.Model.Configuration
SeasonZeroDisplayName = "Specials";
}
}
public enum ImageSavingConvention
{
Legacy,
Compatible
}
}