create sync job items pages

This commit is contained in:
Luke Pulverenti
2014-12-31 01:24:49 -05:00
parent 5e6354854d
commit 8f26921d00
28 changed files with 327 additions and 157 deletions

View File

@@ -89,7 +89,6 @@ namespace MediaBrowser.Model.Sync
public string ParentName { get; set; }
public string PrimaryImageItemId { get; set; }
public string PrimaryImageTag { get; set; }
public double? PrimaryImageAspectRatio { get; set; }
public SyncJob()
{

View File

@@ -22,6 +22,12 @@ namespace MediaBrowser.Model.Sync
/// <value>The item identifier.</value>
public string ItemId { get; set; }
/// <summary>
/// Gets or sets the name of the item.
/// </summary>
/// <value>The name of the item.</value>
public string ItemName { get; set; }
/// <summary>
/// Gets or sets the media source identifier.
/// </summary>
@@ -57,5 +63,15 @@ namespace MediaBrowser.Model.Sync
/// </summary>
/// <value>The date created.</value>
public DateTime DateCreated { get; set; }
/// <summary>
/// Gets or sets the primary image item identifier.
/// </summary>
/// <value>The primary image item identifier.</value>
public string PrimaryImageItemId { get; set; }
/// <summary>
/// Gets or sets the primary image tag.
/// </summary>
/// <value>The primary image tag.</value>
public string PrimaryImageTag { get; set; }
}
}

View File

@@ -29,6 +29,11 @@ namespace MediaBrowser.Model.Sync
/// </summary>
/// <value>The status.</value>
public List<SyncJobItemStatus> Statuses { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [add metadata].
/// </summary>
/// <value><c>true</c> if [add metadata]; otherwise, <c>false</c>.</value>
public bool AddMetadata { get; set; }
public SyncJobItemQuery()
{

View File

@@ -7,7 +7,8 @@ namespace MediaBrowser.Model.Sync
Converting = 1,
Transferring = 2,
Synced = 3,
Failed = 4,
RemovedFromDevice = 5
RemovedFromDevice = 4,
Failed = 5,
Cancelled = 6
}
}

View File

@@ -23,5 +23,10 @@ namespace MediaBrowser.Model.Sync
/// </summary>
/// <value>The target identifier.</value>
public string TargetId { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public string UserId { get; set; }
}
}

View File

@@ -6,16 +6,16 @@ namespace MediaBrowser.Model.Sync
/// <summary>
/// The good
/// </summary>
Good = 0,
Low = 0,
/// <summary>
/// The better
/// </summary>
Better = 1,
Medium = 1,
/// <summary>
/// The best
/// </summary>
Best = 2
High = 2
}
}