update sync profile

This commit is contained in:
Luke Pulverenti 2015-03-15 22:49:13 -04:00
parent 4506d3faa1
commit a7dfd1f6be

View File

@ -1037,7 +1037,9 @@ namespace MediaBrowser.Server.Implementations.Sync
private SyncJobOptions GetDefaultSyncJobOptions(string profile, string quality)
{
var deviceProfile = new CloudSyncProfile(true, false);
var supportsAc3 = string.Equals(profile, "general", StringComparison.OrdinalIgnoreCase);
var deviceProfile = new CloudSyncProfile(supportsAc3, false);
deviceProfile.MaxStaticBitrate = SyncHelper.AdjustBitrate(deviceProfile.MaxStaticBitrate, quality);
return new SyncJobOptions