mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-27 04:22:08 +00:00
stub out mock sync provider
This commit is contained in:
33
MediaBrowser.Server.Implementations/Sync/MockSyncProvider.cs
Normal file
33
MediaBrowser.Server.Implementations/Sync/MockSyncProvider.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using MediaBrowser.Common.Extensions;
|
||||
using MediaBrowser.Controller.Sync;
|
||||
using MediaBrowser.Model.Dlna;
|
||||
using MediaBrowser.Model.Sync;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Server.Implementations.Sync
|
||||
{
|
||||
public class MockSyncProvider : ISyncProvider
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get { return "Dummy Sync"; }
|
||||
}
|
||||
|
||||
public IEnumerable<SyncTarget> GetSyncTargets()
|
||||
{
|
||||
return new List<SyncTarget>
|
||||
{
|
||||
new SyncTarget
|
||||
{
|
||||
Id = "mock".GetMD5().ToString("N"),
|
||||
Name = "Mock Sync"
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public DeviceProfile GetDeviceProfile(SyncTarget target)
|
||||
{
|
||||
return new DeviceProfile();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user