jellyfin-server/MediaBrowser.Server.Implementations/Sync/CloudSyncProvider.cs

40 lines
979 B
C#
Raw Normal View History

2014-07-22 01:29:06 +00:00
using MediaBrowser.Common;
using MediaBrowser.Controller.Sync;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Sync;
using System.Collections.Generic;
using System.Linq;
namespace MediaBrowser.Server.Implementations.Sync
{
public class CloudSyncProvider : ISyncProvider
{
2014-12-31 06:24:49 +00:00
private ICloudSyncProvider[] _providers = {};
2014-07-22 01:29:06 +00:00
public CloudSyncProvider(IApplicationHost appHost)
{
_providers = appHost.GetExports<ICloudSyncProvider>().ToArray();
}
public IEnumerable<SyncTarget> GetSyncTargets()
{
2014-07-22 16:36:34 +00:00
return new List<SyncTarget>();
2014-07-22 01:29:06 +00:00
}
2014-12-31 06:24:49 +00:00
public IEnumerable<SyncTarget> GetSyncTargets(string userId)
{
return new List<SyncTarget>();
}
2014-07-22 01:29:06 +00:00
public DeviceProfile GetDeviceProfile(SyncTarget target)
{
2014-07-22 16:36:34 +00:00
return new DeviceProfile();
2014-07-22 01:29:06 +00:00
}
public string Name
{
get { return "Cloud Sync"; }
}
}
}