mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update live tv images
This commit is contained in:
parent
b786cca9da
commit
1c93fcef01
@ -48,23 +48,20 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
return list;
|
||||
}
|
||||
|
||||
private static string EmbyServiceName = "Emby";
|
||||
public override double? GetDefaultPrimaryImageAspectRatio()
|
||||
{
|
||||
if (IsMovie)
|
||||
var serviceName = ServiceName;
|
||||
if (!IsMovie && !string.Equals(serviceName, EmbyServiceName, StringComparison.OrdinalIgnoreCase) || !string.IsNullOrWhiteSpace(serviceName))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
double value = 2;
|
||||
value /= 3;
|
||||
|
||||
return value;
|
||||
}
|
||||
else
|
||||
{
|
||||
double value = 2;
|
||||
value /= 3;
|
||||
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public override SourceType SourceType
|
||||
|
Loading…
x
Reference in New Issue
Block a user