aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj2
-rw-r--r--MediaBrowser.Model/Sync/SyncDialogOptions.cs4
-rw-r--r--MediaBrowser.Model/Sync/SyncJobRequest.cs5
-rw-r--r--MediaBrowser.Model/Sync/SyncProfileOption.cs37
-rw-r--r--MediaBrowser.Model/Sync/SyncQuality.cs25
-rw-r--r--MediaBrowser.Model/Sync/SyncQualityOption.cs5
6 files changed, 50 insertions, 28 deletions
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index 9d4192b17..c546958aa 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -398,7 +398,7 @@
<Compile Include="Sync\SyncJobStatus.cs" />
<Compile Include="Sync\SyncOptions.cs" />
<Compile Include="Sync\SyncParameter.cs" />
- <Compile Include="Sync\SyncQuality.cs" />
+ <Compile Include="Sync\SyncProfileOption.cs" />
<Compile Include="Sync\SyncQualityOption.cs" />
<Compile Include="Sync\SyncTarget.cs" />
<Compile Include="System\LogFile.cs" />
diff --git a/MediaBrowser.Model/Sync/SyncDialogOptions.cs b/MediaBrowser.Model/Sync/SyncDialogOptions.cs
index 2b8672d76..a987a6cd6 100644
--- a/MediaBrowser.Model/Sync/SyncDialogOptions.cs
+++ b/MediaBrowser.Model/Sync/SyncDialogOptions.cs
@@ -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>();
}
}
}
diff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.cs
index 2af428383..8f9d9520c 100644
--- a/MediaBrowser.Model/Sync/SyncJobRequest.cs
+++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs
@@ -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>
diff --git a/MediaBrowser.Model/Sync/SyncProfileOption.cs b/MediaBrowser.Model/Sync/SyncProfileOption.cs
new file mode 100644
index 000000000..605af6b25
--- /dev/null
+++ b/MediaBrowser.Model/Sync/SyncProfileOption.cs
@@ -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;
+ }
+ }
+}
diff --git a/MediaBrowser.Model/Sync/SyncQuality.cs b/MediaBrowser.Model/Sync/SyncQuality.cs
deleted file mode 100644
index 27ee756a3..000000000
--- a/MediaBrowser.Model/Sync/SyncQuality.cs
+++ /dev/null
@@ -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
- }
-}
diff --git a/MediaBrowser.Model/Sync/SyncQualityOption.cs b/MediaBrowser.Model/Sync/SyncQualityOption.cs
index 1945613c0..597b98727 100644
--- a/MediaBrowser.Model/Sync/SyncQualityOption.cs
+++ b/MediaBrowser.Model/Sync/SyncQualityOption.cs
@@ -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>