mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
update playback settings
This commit is contained in:
parent
a452bc23b2
commit
1da8509ae5
@ -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
|
||||
|
@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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))
|
||||
|
@ -1,3 +1,3 @@
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.2.32.15")]
|
||||
[assembly: AssemblyVersion("3.2.32.16")]
|
||||
|
Loading…
Reference in New Issue
Block a user