mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
sync updates
This commit is contained in:
@@ -23,14 +23,14 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the profile options.
|
||||
/// </summary>
|
||||
/// <value>The profile options.</value>
|
||||
public List<SyncQualityOption> ProfileOptions { get; set; }
|
||||
public List<SyncProfileOption> ProfileOptions { get; set; }
|
||||
|
||||
public SyncDialogOptions()
|
||||
{
|
||||
Targets = new List<SyncTarget>();
|
||||
Options = new List<SyncJobOption>();
|
||||
QualityOptions = new List<SyncQualityOption>();
|
||||
ProfileOptions = new List<SyncQualityOption>();
|
||||
ProfileOptions = new List<SyncProfileOption>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,6 +30,11 @@ namespace MediaBrowser.Model.Sync
|
||||
/// <value>The quality.</value>
|
||||
public string Quality { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the profile.
|
||||
/// </summary>
|
||||
/// <value>The profile.</value>
|
||||
public string Profile { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
|
||||
37
MediaBrowser.Model/Sync/SyncProfileOption.cs
Normal file
37
MediaBrowser.Model/Sync/SyncProfileOption.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public class SyncProfileOption
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public string Description { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is default.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
|
||||
public bool IsDefault { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable quality options].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable quality options]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableQualityOptions { get; set; }
|
||||
|
||||
public SyncProfileOption()
|
||||
{
|
||||
EnableQualityOptions = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public enum SyncQuality
|
||||
{
|
||||
/// <summary>
|
||||
/// The good
|
||||
/// </summary>
|
||||
Low = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The better
|
||||
/// </summary>
|
||||
Medium = 1,
|
||||
|
||||
/// <summary>
|
||||
/// The best
|
||||
/// </summary>
|
||||
High = 2,
|
||||
/// <summary>
|
||||
/// The original
|
||||
/// </summary>
|
||||
Original = 3
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,11 @@ namespace MediaBrowser.Model.Sync
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public string Description { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
|
||||
Reference in New Issue
Block a user