diff options
| -rw-r--r-- | MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj | 6 | ||||
| -rw-r--r-- | MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj | 6 | ||||
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 2 | ||||
| -rw-r--r-- | MediaBrowser.Model/Notifications/NotificationOptions.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/LocalItemInfo.cs | 11 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/LocalItemQuery.cs | 19 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncDialogOptions.cs | 29 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Common.Internal.nuspec | 4 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Common.nuspec | 2 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Model.Signed.nuspec | 2 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Server.Core.nuspec | 4 |
11 files changed, 79 insertions, 12 deletions
diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj index 62677f818..2f5e8a5d7 100644 --- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj +++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj @@ -1067,6 +1067,12 @@ <Compile Include="..\MediaBrowser.Model\Sync\LocalItem.cs"> <Link>Sync\LocalItem.cs</Link> </Compile> + <Compile Include="..\MediaBrowser.Model\Sync\LocalItemInfo.cs"> + <Link>Sync\LocalItemInfo.cs</Link> + </Compile> + <Compile Include="..\MediaBrowser.Model\Sync\LocalItemQuery.cs"> + <Link>Sync\LocalItemQuery.cs</Link> + </Compile> <Compile Include="..\MediaBrowser.Model\Sync\SyncCategory.cs"> <Link>Sync\SyncCategory.cs</Link> </Compile> diff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj index 4ed8cceae..f15e752ff 100644 --- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj +++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj @@ -1026,6 +1026,12 @@ <Compile Include="..\MediaBrowser.Model\Sync\LocalItem.cs"> <Link>Sync\LocalItem.cs</Link> </Compile> + <Compile Include="..\MediaBrowser.Model\Sync\LocalItemInfo.cs"> + <Link>Sync\LocalItemInfo.cs</Link> + </Compile> + <Compile Include="..\MediaBrowser.Model\Sync\LocalItemQuery.cs"> + <Link>Sync\LocalItemQuery.cs</Link> + </Compile> <Compile Include="..\MediaBrowser.Model\Sync\SyncCategory.cs"> <Link>Sync\SyncCategory.cs</Link> </Compile> diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index 27b5a53db..0bfd0d3fd 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -376,6 +376,8 @@ <Compile Include="Sync\ItemFIleInfo.cs" /> <Compile Include="Sync\ItemFileType.cs" /> <Compile Include="Sync\LocalItem.cs" /> + <Compile Include="Sync\LocalItemInfo.cs" /> + <Compile Include="Sync\LocalItemQuery.cs" /> <Compile Include="Sync\SyncCategory.cs" /> <Compile Include="Sync\SyncDataRequest.cs" /> <Compile Include="Sync\SyncDataResponse.cs" /> diff --git a/MediaBrowser.Model/Notifications/NotificationOptions.cs b/MediaBrowser.Model/Notifications/NotificationOptions.cs index 7d80f3177..e57955c9e 100644 --- a/MediaBrowser.Model/Notifications/NotificationOptions.cs +++ b/MediaBrowser.Model/Notifications/NotificationOptions.cs @@ -64,6 +64,12 @@ namespace MediaBrowser.Model.Notifications Type = NotificationType.PluginError.ToString(), Enabled = true, SendToUserMode = SendToUserType.Admins + }, + new NotificationOption + { + Type = NotificationType.UserLockedOut.ToString(), + Enabled = true, + SendToUserMode = SendToUserType.Admins } }; } diff --git a/MediaBrowser.Model/Sync/LocalItemInfo.cs b/MediaBrowser.Model/Sync/LocalItemInfo.cs new file mode 100644 index 000000000..f52873b2f --- /dev/null +++ b/MediaBrowser.Model/Sync/LocalItemInfo.cs @@ -0,0 +1,11 @@ + +namespace MediaBrowser.Model.Sync +{ + public class LocalItemInfo + { + public string ServerId { get; set; } + public string Id { get; set; } + public string Name { get; set; } + public string PrimaryImageTag { get; set; } + } +} diff --git a/MediaBrowser.Model/Sync/LocalItemQuery.cs b/MediaBrowser.Model/Sync/LocalItemQuery.cs new file mode 100644 index 000000000..099392908 --- /dev/null +++ b/MediaBrowser.Model/Sync/LocalItemQuery.cs @@ -0,0 +1,19 @@ + +namespace MediaBrowser.Model.Sync +{ + public class LocalItemQuery + { + public string ServerId { get; set; } + public string AlbumArtist { get; set; } + public string AlbumId { get; set; } + public string SeriesId { get; set; } + public string Type { get; set; } + public string MediaType { get; set; } + public string[] ExcludeTypes { get; set; } + + public LocalItemQuery() + { + ExcludeTypes = new string[] { }; + } + } +} diff --git a/MediaBrowser.Model/Sync/SyncDialogOptions.cs b/MediaBrowser.Model/Sync/SyncDialogOptions.cs index cf8b0130b..5c84fb81f 100644 --- a/MediaBrowser.Model/Sync/SyncDialogOptions.cs +++ b/MediaBrowser.Model/Sync/SyncDialogOptions.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using MediaBrowser.Model.Dto; namespace MediaBrowser.Model.Sync { @@ -18,18 +19,34 @@ namespace MediaBrowser.Model.Sync /// Gets or sets the quality options. /// </summary> /// <value>The quality options.</value> - public List<SyncQuality> QualityOptions { get; set; } + public List<NameValuePair> QualityOptions { get; set; } public SyncDialogOptions() { Targets = new List<SyncTarget>(); Options = new List<SyncJobOption>(); - QualityOptions = new List<SyncQuality> + QualityOptions = new List<NameValuePair> { - SyncQuality.Original, - SyncQuality.High, - SyncQuality.Medium, - SyncQuality.Low + 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() + } }; } } diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspec index 88c6e9f8a..f83ddcbf1 100644 --- a/Nuget/MediaBrowser.Common.Internal.nuspec +++ b/Nuget/MediaBrowser.Common.Internal.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <metadata> <id>MediaBrowser.Common.Internal</id> - <version>3.0.579</version> + <version>3.0.580</version> <title>MediaBrowser.Common.Internal</title> <authors>Luke</authors> <owners>ebr,Luke,scottisafool</owners> @@ -12,7 +12,7 @@ <description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description> <copyright>Copyright © Media Browser 2013</copyright> <dependencies> - <dependency id="MediaBrowser.Common" version="3.0.579" /> + <dependency id="MediaBrowser.Common" version="3.0.580" /> <dependency id="NLog" version="3.2.0.0" /> <dependency id="SimpleInjector" version="2.7.0" /> </dependencies> diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspec index facbe5366..675b9aafc 100644 --- a/Nuget/MediaBrowser.Common.nuspec +++ b/Nuget/MediaBrowser.Common.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <metadata> <id>MediaBrowser.Common</id> - <version>3.0.579</version> + <version>3.0.580</version> <title>MediaBrowser.Common</title> <authors>Media Browser Team</authors> <owners>ebr,Luke,scottisafool</owners> diff --git a/Nuget/MediaBrowser.Model.Signed.nuspec b/Nuget/MediaBrowser.Model.Signed.nuspec index dab103446..892b64be9 100644 --- a/Nuget/MediaBrowser.Model.Signed.nuspec +++ b/Nuget/MediaBrowser.Model.Signed.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <metadata> <id>MediaBrowser.Model.Signed</id> - <version>3.0.579</version> + <version>3.0.580</version> <title>MediaBrowser.Model - Signed Edition</title> <authors>Media Browser Team</authors> <owners>ebr,Luke,scottisafool</owners> diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspec index e94d18fb5..537313ec8 100644 --- a/Nuget/MediaBrowser.Server.Core.nuspec +++ b/Nuget/MediaBrowser.Server.Core.nuspec @@ -2,7 +2,7 @@ <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> <metadata> <id>MediaBrowser.Server.Core</id> - <version>3.0.579</version> + <version>3.0.580</version> <title>Media Browser.Server.Core</title> <authors>Media Browser Team</authors> <owners>ebr,Luke,scottisafool</owners> @@ -12,7 +12,7 @@ <description>Contains core components required to build plugins for Media Browser Server.</description> <copyright>Copyright © Media Browser 2013</copyright> <dependencies> - <dependency id="MediaBrowser.Common" version="3.0.579" /> + <dependency id="MediaBrowser.Common" version="3.0.580" /> </dependencies> </metadata> <files> |
