You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Sync/SyncDialogOptions.cs

54 lines
1.7 KiB

10 years ago
using System.Collections.Generic;
10 years ago
using MediaBrowser.Model.Dto;
10 years ago
namespace MediaBrowser.Model.Sync
{
public class SyncDialogOptions
{
/// <summary>
/// Gets or sets the targets.
/// </summary>
/// <value>The targets.</value>
public List<SyncTarget> Targets { get; set; }
/// <summary>
/// Gets or sets the options.
/// </summary>
/// <value>The options.</value>
10 years ago
public List<SyncJobOption> Options { get; set; }
/// <summary>
/// Gets or sets the quality options.
/// </summary>
/// <value>The quality options.</value>
10 years ago
public List<NameValuePair> QualityOptions { get; set; }
10 years ago
public SyncDialogOptions()
{
Targets = new List<SyncTarget>();
10 years ago
Options = new List<SyncJobOption>();
10 years ago
QualityOptions = new List<NameValuePair>
{
10 years ago
new NameValuePair
{
Name = SyncQuality.Original.ToString(),
Value = SyncQuality.Original.ToString()
},
new NameValuePair
{
Name = SyncQuality.High.ToString(),
Value = SyncQuality.High.ToString()
},
new NameValuePair
{
Name = SyncQuality.Medium.ToString(),
Value = SyncQuality.Medium.ToString()
},
new NameValuePair
{
Name = SyncQuality.Low.ToString(),
Value = SyncQuality.Low.ToString()
}
};
10 years ago
}
}
}