mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
update live tv recordings
This commit is contained in:
parent
4d7f983618
commit
1f6b5a8c7c
6 changed files with 89 additions and 66 deletions
|
|
@ -10,11 +10,11 @@ namespace MediaBrowser.Server.Implementations.Sync
|
|||
{
|
||||
if (string.Equals(quality, "medium", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
profileBitrate = Convert.ToInt32(profileBitrate.Value * .75);
|
||||
profileBitrate = Math.Min(Convert.ToInt32(profileBitrate.Value * .7), 4000000);
|
||||
}
|
||||
else if (string.Equals(quality, "low", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
profileBitrate = Convert.ToInt32(profileBitrate.Value*.5);
|
||||
profileBitrate = Math.Min(Convert.ToInt32(profileBitrate.Value * .5), 1500000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue