update live tv recordings

This commit is contained in:
Luke Pulverenti
2015-07-29 13:16:00 -04:00
parent 4d7f983618
commit 1f6b5a8c7c
6 changed files with 89 additions and 66 deletions

View File

@@ -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);
}
}