2014-07-22 16:36:34 +00:00
|
|
|
|
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
|
|
|
|
|
{
|
2014-12-11 06:20:28 +00:00
|
|
|
|
get { return "Test Sync"; }
|
2014-07-22 16:36:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<SyncTarget> GetSyncTargets()
|
|
|
|
|
{
|
|
|
|
|
return new List<SyncTarget>
|
|
|
|
|
{
|
|
|
|
|
new SyncTarget
|
|
|
|
|
{
|
2014-12-11 06:20:28 +00:00
|
|
|
|
Id = GetType().Name.GetMD5().ToString("N"),
|
|
|
|
|
Name = Name
|
2014-07-22 16:36:34 +00:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DeviceProfile GetDeviceProfile(SyncTarget target)
|
|
|
|
|
{
|
|
|
|
|
return new DeviceProfile();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|