update stream building

pull/1154/head
Luke Pulverenti 8 years ago
parent 31a3e0f5c4
commit f2fb52761f

@ -92,7 +92,20 @@ namespace MediaBrowser.Controller.LiveTv
public override double? GetDefaultPrimaryImageAspectRatio()
{
return null;
if (IsMovie)
{
double value = 2;
value /= 3;
return value;
}
else
{
double value = 2;
value /= 3;
return value;
}
}
public override string GetClientTypeName()

@ -108,6 +108,24 @@ namespace MediaBrowser.Controller.LiveTv
return false;
}
public override double? GetDefaultPrimaryImageAspectRatio()
{
if (IsMovie)
{
double value = 2;
value /= 3;
return value;
}
else
{
double value = 2;
value /= 3;
return value;
}
}
[IgnoreDataMember]
public override bool SupportsLocalMetadata
{

@ -550,7 +550,7 @@ namespace MediaBrowser.Model.Dlna
if (audioStream != null && !audioSupported)
{
list.Add(TranscodeReason.VideoCodecNotSupported);
list.Add(TranscodeReason.AudioCodecNotSupported);
}
return list;

@ -38,6 +38,7 @@
ChannelUp = 30,
ChannelDown = 31,
SetMaxStreamingBitrate = 31,
Guide = 32
Guide = 32,
ToggleStats = 33
}
}
Loading…
Cancel
Save