mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
don't duplicate synced items
This commit is contained in:
@@ -9,7 +9,7 @@ using System.Linq;
|
||||
|
||||
namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
public class AppSyncProvider : ISyncProvider, IHasUniqueTargetIds, IHasSyncQuality
|
||||
public class AppSyncProvider : ISyncProvider, IHasUniqueTargetIds, IHasSyncQuality, IHasDuplicateCheck
|
||||
{
|
||||
private readonly IDeviceManager _deviceManager;
|
||||
|
||||
@@ -104,5 +104,10 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
IsConverting = isConverting
|
||||
};
|
||||
}
|
||||
|
||||
public bool AllowDuplicateJobItem(SyncJobItem original, SyncJobItem duplicate)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user