sync updates

This commit is contained in:
Luke Pulverenti
2015-03-15 15:10:27 -04:00
parent 72a5383c70
commit 280ab32ec1
11 changed files with 98 additions and 70 deletions

View File

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