mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03:00
sync updates
This commit is contained in:
@@ -3,6 +3,7 @@ using MediaBrowser.Controller.Sync;
|
||||
using MediaBrowser.Model.Devices;
|
||||
using MediaBrowser.Model.Dlna;
|
||||
using MediaBrowser.Model.Sync;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -92,5 +93,16 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
return new List<SyncProfileOption>();
|
||||
}
|
||||
|
||||
public SyncJobOptions GetSyncJobOptions(SyncTarget target, string profile, string quality)
|
||||
{
|
||||
var isConverting = !string.Equals(quality, "original", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
return new SyncJobOptions
|
||||
{
|
||||
DeviceProfile = GetDeviceProfile(target, profile, quality),
|
||||
IsConverting = isConverting
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user