You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
815 B
34 lines
815 B
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();
|
|
}
|
|
}
|
|
}
|