mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
update sync profile
This commit is contained in:
parent
4506d3faa1
commit
a7dfd1f6be
1 changed files with 3 additions and 1 deletions
|
@ -1037,7 +1037,9 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||||
|
|
||||||
private SyncJobOptions GetDefaultSyncJobOptions(string profile, string quality)
|
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);
|
deviceProfile.MaxStaticBitrate = SyncHelper.AdjustBitrate(deviceProfile.MaxStaticBitrate, quality);
|
||||||
|
|
||||||
return new SyncJobOptions
|
return new SyncJobOptions
|
||||||
|
|
Loading…
Reference in a new issue