don't read user data from nfo's anymore

This commit is contained in:
Luke Pulverenti
2017-04-19 12:57:06 -04:00
parent b51beedd94
commit 099f8037c5
3 changed files with 17 additions and 164 deletions

View File

@@ -82,19 +82,24 @@ namespace Emby.Server.Implementations.LiveTv
{
var width = videoStream.Width ?? 1920;
if (width >= 1900)
if (width >= 3000)
{
videoStream.BitRate = 25000000;
}
else if (width >= 1900)
{
videoStream.BitRate = 15000000;
}
else if (width >= 1260)
else if (width >= 1200)
{
videoStream.BitRate = 3000000;
videoStream.BitRate = 4000000;
}
else if (width >= 700)
{
videoStream.BitRate = 1000000;
videoStream.BitRate = 1500000;
}
}

View File

@@ -183,19 +183,24 @@ namespace Emby.Server.Implementations.LiveTv
{
var width = videoStream.Width ?? 1920;
if (width >= 1900)
if (width >= 3000)
{
videoStream.BitRate = 25000000;
}
else if (width >= 1900)
{
videoStream.BitRate = 15000000;
}
else if (width >= 1260)
else if (width >= 1200)
{
videoStream.BitRate = 4000000;
}
else if (width >= 700)
{
videoStream.BitRate = 1000000;
videoStream.BitRate = 1500000;
}
}
}