mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 15:33:03 +03:00
sync updates
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
@@ -17,14 +16,6 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
profileBitrate = Convert.ToInt32(profileBitrate.Value*.5);
|
||||
}
|
||||
else
|
||||
{
|
||||
int value;
|
||||
if (int.TryParse(quality, NumberStyles.Any, CultureInfo.InvariantCulture, out value))
|
||||
{
|
||||
profileBitrate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return profileBitrate;
|
||||
|
||||
Reference in New Issue
Block a user