update playback settings

This commit is contained in:
Luke Pulverenti 2017-10-01 20:13:43 -04:00
parent a452bc23b2
commit 1da8509ae5
6 changed files with 28 additions and 19 deletions

View File

@ -1642,6 +1642,7 @@ namespace Emby.Server.Implementations.Dto
return null;
}
return null;
_logger.Info("Getting image size for item type {0}", item.GetType().Name);
try

View File

@ -43,12 +43,12 @@ namespace MediaBrowser.Controller.Entities
}
}
public override double? GetDefaultPrimaryImageAspectRatio()
{
double value = 16;
value /= 9;
//public override double? GetDefaultPrimaryImageAspectRatio()
//{
// double value = 16;
// value /= 9;
return value;
}
// return value;
//}
}
}

View File

@ -31,13 +31,13 @@ namespace MediaBrowser.Controller.Entities
PhysicalFolderIds = EmptyGuidArray;
}
public override double? GetDefaultPrimaryImageAspectRatio()
{
double value = 16;
value /= 9;
//public override double? GetDefaultPrimaryImageAspectRatio()
//{
// double value = 16;
// value /= 9;
return value;
}
// return value;
//}
[IgnoreDataMember]
public override bool SupportsPlayedStatus

View File

@ -58,13 +58,13 @@ namespace MediaBrowser.Controller.Entities
}
}
public override double? GetDefaultPrimaryImageAspectRatio()
{
double value = 16;
value /= 9;
//public override double? GetDefaultPrimaryImageAspectRatio()
//{
// double value = 16;
// value /= 9;
return value;
}
// return value;
//}
public override int GetChildCount(User user)
{

View File

@ -78,6 +78,14 @@ namespace MediaBrowser.Controller.Entities
}
}
public override double? GetDefaultPrimaryImageAspectRatio()
{
double value = 16;
value /= 9;
return value;
}
public override string CreatePresentationUniqueKey()
{
if (!string.IsNullOrWhiteSpace(PrimaryVersionId))

View File

@ -1,3 +1,3 @@
using System.Reflection;
[assembly: AssemblyVersion("3.2.32.15")]
[assembly: AssemblyVersion("3.2.32.16")]