mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
don't read user data from nfo's anymore
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user