update stream building

This commit is contained in:
Luke Pulverenti 2017-06-25 13:50:17 -04:00
parent 31a3e0f5c4
commit f2fb52761f
4 changed files with 35 additions and 3 deletions

View File

@ -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()

View File

@ -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
{

View File

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

View File

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