jellyfin/MediaBrowser.Model/Sync/SyncDialogOptions.cs

54 lines
1.7 KiB
C#
Raw Normal View History

2014-12-17 05:30:31 +00:00
using System.Collections.Generic;
2015-03-03 18:48:47 +00:00
using MediaBrowser.Model.Dto;
2014-12-17 05:30:31 +00:00
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>
2015-01-17 04:29:53 +00:00
public List<SyncJobOption> Options { get; set; }
/// <summary>
/// Gets or sets the quality options.
/// </summary>
/// <value>The quality options.</value>
2015-03-03 18:48:47 +00:00
public List<NameValuePair> QualityOptions { get; set; }
2014-12-17 05:30:31 +00:00
public SyncDialogOptions()
{
Targets = new List<SyncTarget>();
2015-01-17 04:29:53 +00:00
Options = new List<SyncJobOption>();
2015-03-03 18:48:47 +00:00
QualityOptions = new List<NameValuePair>
{
2015-03-03 18:48:47 +00:00
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()
}
};
2014-12-17 05:30:31 +00:00
}
}
}