mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
34 lines
815 B
C#
34 lines
815 B
C#
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();
|
|
}
|
|
}
|
|
}
|