mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
sync updates
This commit is contained in:
@@ -3,7 +3,7 @@ namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public class DeviceFileInfo
|
||||
{
|
||||
public string[] Path { get; set; }
|
||||
public string Path { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the path.
|
||||
/// </summary>
|
||||
/// <value>The path.</value>
|
||||
public string[] Path { get; set; }
|
||||
public string Path { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the image.
|
||||
/// </summary>
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the local path.
|
||||
/// </summary>
|
||||
/// <value>The local path.</value>
|
||||
public string[] LocalPath { get; set; }
|
||||
public string LocalPath { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the server identifier.
|
||||
/// </summary>
|
||||
|
||||
16
MediaBrowser.Model/Sync/SyncDataRequest.cs
Normal file
16
MediaBrowser.Model/Sync/SyncDataRequest.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public class SyncDataRequest
|
||||
{
|
||||
public List<string> LocalItemIds { get; set; }
|
||||
|
||||
public string TargetId { get; set; }
|
||||
|
||||
public SyncDataRequest()
|
||||
{
|
||||
LocalItemIds = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
14
MediaBrowser.Model/Sync/SyncDataResponse.cs
Normal file
14
MediaBrowser.Model/Sync/SyncDataResponse.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public class SyncDataResponse
|
||||
{
|
||||
public List<string> ItemIdsToRemove { get; set; }
|
||||
|
||||
public SyncDataResponse()
|
||||
{
|
||||
ItemIdsToRemove = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user