sync update

This commit is contained in:
Luke Pulverenti
2015-02-28 09:35:12 -05:00
parent 975f6899fe
commit 76584ed984
4 changed files with 30 additions and 9 deletions

View File

@@ -42,5 +42,18 @@ namespace MediaBrowser.Server.Implementations.Sync
{
get { return "App Sync"; }
}
public IEnumerable<SyncTarget> GetAllSyncTargets()
{
return _deviceManager.GetDevices(new DeviceQuery
{
SupportsSync = true
}).Items.Select(i => new SyncTarget
{
Id = i.Id,
Name = i.Name
});
}
}
}