The Free Software Media System - Server Backend & API
extract classes
Luke Pulverentid091fe0e6e59
diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csprojindex 73324c3a32..78aae83751 100644--- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj+++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj@@ -11,7 +11,7 @@<RootNamespace>MediaBrowser.Model</RootNamespace><AssemblyName>MediaBrowser.Model</AssemblyName><TargetFrameworkVersion>v4.0</TargetFrameworkVersion>- <TargetFrameworkProfile>Profile158</TargetFrameworkProfile>+ <TargetFrameworkProfile>Profile344</TargetFrameworkProfile><FileAlignment>512</FileAlignment><ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids><SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>@@ -74,9 +74,15 @@<Compile Include="..\MediaBrowser.Model\ApiClient\ApiClientExtensions.cs"><Link>ApiClient\ApiClientExtensions.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\ConnectionMode.cs">+ <Link>ApiClient\ConnectionMode.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\ApiClient\ConnectionResult.cs"><Link>ApiClient\ConnectionResult.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\ConnectionState.cs">+ <Link>ApiClient\ConnectionState.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\ApiClient\GeneralCommandEventArgs.cs"><Link>ApiClient\GeneralCommandEventArgs.cs</Link></Compile>@@ -101,18 +107,30 @@<Compile Include="..\MediaBrowser.Model\ApiClient\SessionUpdatesEventArgs.cs"><Link>ApiClient\SessionUpdatesEventArgs.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\WakeOnLanInfo.cs">+ <Link>ApiClient\WakeOnLanInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Branding\BrandingOptions.cs"><Link>Branding\BrandingOptions.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\AllChannelMediaQuery.cs">+ <Link>Channels\AllChannelMediaQuery.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelFeatures.cs"><Link>Channels\ChannelFeatures.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\ChannelFolderType.cs">+ <Link>Channels\ChannelFolderType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelInfo.cs"><Link>Channels\ChannelInfo.cs</Link></Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelItemQuery.cs"><Link>Channels\ChannelItemQuery.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\ChannelItemSortField.cs">+ <Link>Channels\ChannelItemSortField.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelMediaContentType.cs"><Link>Channels\ChannelMediaContentType.cs</Link></Compile>@@ -122,6 +140,9 @@<Compile Include="..\MediaBrowser.Model\Channels\ChannelQuery.cs"><Link>Channels\ChannelQuery.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Chapters\ChapterProviderInfo.cs">+ <Link>Chapters\ChapterProviderInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Chapters\RemoteChapterInfo.cs"><Link>Chapters\RemoteChapterInfo.cs</Link></Compile>@@ -167,6 +188,9 @@<Compile Include="..\MediaBrowser.Model\Configuration\PathSubstitution.cs"><Link>Configuration\PathSubstitution.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Configuration\PeopleMetadataOptions.cs">+ <Link>Configuration\PeopleMetadataOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Configuration\ServerConfiguration.cs"><Link>Configuration\ServerConfiguration.cs</Link></Compile>@@ -227,6 +251,9 @@<Compile Include="..\MediaBrowser.Model\Dlna\DlnaProfileType.cs"><Link>Dlna\DlnaProfileType.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\EncodingContext.cs">+ <Link>Dlna\EncodingContext.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\HeaderMatchType.cs"><Link>Dlna\HeaderMatchType.cs</Link></Compile>@@ -254,9 +281,15 @@<Compile Include="..\MediaBrowser.Model\Dlna\Profiles\DefaultProfile.cs"><Link>Dlna\Profiles\DefaultProfile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\ResolutionConfiguration.cs">+ <Link>Dlna\ResolutionConfiguration.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\ResolutionNormalizer.cs"><Link>Dlna\ResolutionNormalizer.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\ResolutionOptions.cs">+ <Link>Dlna\ResolutionOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\ResponseProfile.cs"><Link>Dlna\ResponseProfile.cs</Link></Compile>@@ -275,9 +308,15 @@<Compile Include="..\MediaBrowser.Model\Dlna\StreamInfo.cs"><Link>Dlna\StreamInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\SubtitleDeliveryMethod.cs">+ <Link>Dlna\SubtitleDeliveryMethod.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\SubtitleProfile.cs"><Link>Dlna\SubtitleProfile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\SubtitleStreamInfo.cs">+ <Link>Dlna\SubtitleStreamInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\TranscodeSeekInfo.cs"><Link>Dlna\TranscodeSeekInfo.cs</Link></Compile>@@ -338,6 +377,9 @@<Compile Include="..\MediaBrowser.Model\Dto\MediaSourceInfo.cs"><Link>Dto\MediaSourceInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dto\MediaSourceType.cs">+ <Link>Dto\MediaSourceType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dto\RatingType.cs"><Link>Dto\RatingType.cs</Link></Compile>@@ -362,6 +404,9 @@<Compile Include="..\MediaBrowser.Model\Dto\UserItemDataDto.cs"><Link>Dto\UserItemDataDto.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dto\VideoStreamOptions.cs">+ <Link>Dto\VideoStreamOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Entities\BaseItemInfo.cs"><Link>Entities\BaseItemInfo.cs</Link></Compile>@@ -446,6 +491,12 @@<Compile Include="..\MediaBrowser.Model\Entities\SortOrder.cs"><Link>Entities\SortOrder.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Entities\SupporterInfo.cs">+ <Link>Entities\SupporterInfo.cs</Link>+ </Compile>+ <Compile Include="..\MediaBrowser.Model\Entities\TrailerType.cs">+ <Link>Entities\TrailerType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Entities\UserDataSaveReason.cs"><Link>Entities\UserDataSaveReason.cs</Link></Compile>@@ -464,9 +515,15 @@<Compile Include="..\MediaBrowser.Model\Events\GenericEventArgs.cs"><Link>Events\GenericEventArgs.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Extensions\BoolHelper.cs">+ <Link>Extensions\BoolHelper.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Extensions\DoubleHelper.cs"><Link>Extensions\DoubleHelper.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Extensions\FloatHelper.cs">+ <Link>Extensions\FloatHelper.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Extensions\IHasPropertyChangedEvent.cs"><Link>Extensions\IHasPropertyChangedEvent.cs</Link></Compile>@@ -632,6 +689,9 @@<Compile Include="..\MediaBrowser.Model\MediaInfo\IBlurayExaminer.cs"><Link>MediaInfo\IBlurayExaminer.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\MediaInfo\MediaProtocol.cs">+ <Link>MediaInfo\MediaProtocol.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\MediaInfo\SubtitleFormat.cs"><Link>MediaInfo\SubtitleFormat.cs</Link></Compile>@@ -746,6 +806,9 @@<Compile Include="..\MediaBrowser.Model\Providers\SubtitleOptions.cs"><Link>Providers\SubtitleOptions.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Providers\SubtitleProviderInfo.cs">+ <Link>Providers\SubtitleProviderInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Querying\AllThemeMediaResult.cs"><Link>Querying\AllThemeMediaResult.cs</Link></Compile>@@ -875,6 +938,9 @@<Compile Include="..\MediaBrowser.Model\Session\SessionUserInfo.cs"><Link>Session\SessionUserInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Session\TranscodingInfo.cs">+ <Link>Session\TranscodingInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Session\UserDataChangeInfo.cs"><Link>Session\UserDataChangeInfo.cs</Link></Compile>@@ -896,6 +962,9 @@<Compile Include="..\MediaBrowser.Model\Sync\SyncJobStatus.cs"><Link>Sync\SyncJobStatus.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Sync\SyncLimitType.cs">+ <Link>Sync\SyncLimitType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Sync\SyncQuality.cs"><Link>Sync\SyncQuality.cs</Link></Compile>@@ -905,6 +974,9 @@<Compile Include="..\MediaBrowser.Model\System\LogFile.cs"><Link>System\LogFile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\System\PublicSystemInfo.cs">+ <Link>System\PublicSystemInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\System\SystemInfo.cs"><Link>System\SystemInfo.cs</Link></Compile>diff --git a/MediaBrowser.Model.Portable/packages.config b/MediaBrowser.Model.Portable/packages.configindex a0f393fddb..1baa00e282 100644--- a/MediaBrowser.Model.Portable/packages.config+++ b/MediaBrowser.Model.Portable/packages.config@@ -1,5 +1,5 @@<?xml version="1.0" encoding="utf-8"?><packages><package id="Fody" version="1.19.1.0" targetFramework="portable-win+net45+sl40+wp71" developmentDependency="true" />- <package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="portable-net45+sl40+wp71+win" />+ <package id="PropertyChanged.Fody" version="1.41.0.0" targetFramework="portable-net45+sl40+wp71+win" requireReinstallation="True" /></packages>\ No newline at end of filediff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csprojindex 937288567d..d25245782f 100644--- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj+++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj@@ -55,6 +55,12 @@<Compile Include="..\mediabrowser.model\activity\ActivityLogEntry.cs"><Link>Activity\ActivityLogEntry.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\ConnectionMode.cs">+ <Link>ApiClient\ConnectionMode.cs</Link>+ </Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\ConnectionState.cs">+ <Link>ApiClient\ConnectionState.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\ApiClient\GeneralCommandEventArgs.cs"><Link>ApiClient\GeneralCommandEventArgs.cs</Link></Compile>@@ -73,18 +79,30 @@<Compile Include="..\MediaBrowser.Model\ApiClient\SessionUpdatesEventArgs.cs"><Link>ApiClient\SessionUpdatesEventArgs.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\ApiClient\WakeOnLanInfo.cs">+ <Link>ApiClient\WakeOnLanInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Branding\BrandingOptions.cs"><Link>Branding\BrandingOptions.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\AllChannelMediaQuery.cs">+ <Link>Channels\AllChannelMediaQuery.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelFeatures.cs"><Link>Channels\ChannelFeatures.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\ChannelFolderType.cs">+ <Link>Channels\ChannelFolderType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelInfo.cs"><Link>Channels\ChannelInfo.cs</Link></Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelItemQuery.cs"><Link>Channels\ChannelItemQuery.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Channels\ChannelItemSortField.cs">+ <Link>Channels\ChannelItemSortField.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Channels\ChannelMediaContentType.cs"><Link>Channels\ChannelMediaContentType.cs</Link></Compile>@@ -94,6 +112,9 @@<Compile Include="..\MediaBrowser.Model\Channels\ChannelQuery.cs"><Link>Channels\ChannelQuery.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Chapters\ChapterProviderInfo.cs">+ <Link>Chapters\ChapterProviderInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Chapters\RemoteChapterInfo.cs"><Link>Chapters\RemoteChapterInfo.cs</Link></Compile>@@ -139,6 +160,9 @@<Compile Include="..\MediaBrowser.Model\Configuration\PathSubstitution.cs"><Link>Configuration\PathSubstitution.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Configuration\PeopleMetadataOptions.cs">+ <Link>Configuration\PeopleMetadataOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Configuration\ServerConfiguration.cs"><Link>Configuration\ServerConfiguration.cs</Link></Compile>@@ -199,6 +223,9 @@<Compile Include="..\MediaBrowser.Model\Dlna\DlnaProfileType.cs"><Link>Dlna\DlnaProfileType.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\EncodingContext.cs">+ <Link>Dlna\EncodingContext.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\HeaderMatchType.cs"><Link>Dlna\HeaderMatchType.cs</Link></Compile>@@ -226,9 +253,15 @@<Compile Include="..\MediaBrowser.Model\Dlna\Profiles\DefaultProfile.cs"><Link>Dlna\Profiles\DefaultProfile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\ResolutionConfiguration.cs">+ <Link>Dlna\ResolutionConfiguration.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\ResolutionNormalizer.cs"><Link>Dlna\ResolutionNormalizer.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\ResolutionOptions.cs">+ <Link>Dlna\ResolutionOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\ResponseProfile.cs"><Link>Dlna\ResponseProfile.cs</Link></Compile>@@ -247,9 +280,15 @@<Compile Include="..\MediaBrowser.Model\Dlna\StreamInfo.cs"><Link>Dlna\StreamInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\SubtitleDeliveryMethod.cs">+ <Link>Dlna\SubtitleDeliveryMethod.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\SubtitleProfile.cs"><Link>Dlna\SubtitleProfile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dlna\SubtitleStreamInfo.cs">+ <Link>Dlna\SubtitleStreamInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dlna\TranscodeSeekInfo.cs"><Link>Dlna\TranscodeSeekInfo.cs</Link></Compile>@@ -310,6 +349,9 @@<Compile Include="..\MediaBrowser.Model\Dto\MediaSourceInfo.cs"><Link>Dto\MediaSourceInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dto\MediaSourceType.cs">+ <Link>Dto\MediaSourceType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dto\RatingType.cs"><Link>Dto\RatingType.cs</Link></Compile>@@ -319,6 +361,9 @@<Compile Include="..\MediaBrowser.Model\Dto\RecommendationType.cs"><Link>Dto\RecommendationType.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dto\StreamOptions.cs">+ <Link>Dto\StreamOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Dto\StudioDto.cs"><Link>Dto\StudioDto.cs</Link></Compile>@@ -331,6 +376,9 @@<Compile Include="..\MediaBrowser.Model\Dto\UserItemDataDto.cs"><Link>Dto\UserItemDataDto.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Dto\VideoStreamOptions.cs">+ <Link>Dto\VideoStreamOptions.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Entities\BaseItemInfo.cs"><Link>Entities\BaseItemInfo.cs</Link></Compile>@@ -415,6 +463,12 @@<Compile Include="..\MediaBrowser.Model\Entities\SortOrder.cs"><Link>Entities\SortOrder.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Entities\SupporterInfo.cs">+ <Link>Entities\SupporterInfo.cs</Link>+ </Compile>+ <Compile Include="..\MediaBrowser.Model\Entities\TrailerType.cs">+ <Link>Entities\TrailerType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Entities\UserDataSaveReason.cs"><Link>Entities\UserDataSaveReason.cs</Link></Compile>@@ -433,9 +487,15 @@<Compile Include="..\MediaBrowser.Model\Events\GenericEventArgs.cs"><Link>Events\GenericEventArgs.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Extensions\BoolHelper.cs">+ <Link>Extensions\BoolHelper.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Extensions\DoubleHelper.cs"><Link>Extensions\DoubleHelper.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Extensions\FloatHelper.cs">+ <Link>Extensions\FloatHelper.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Extensions\IHasPropertyChangedEvent.cs"><Link>Extensions\IHasPropertyChangedEvent.cs</Link></Compile>@@ -595,6 +655,9 @@<Compile Include="..\MediaBrowser.Model\MediaInfo\IBlurayExaminer.cs"><Link>MediaInfo\IBlurayExaminer.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\MediaInfo\MediaProtocol.cs">+ <Link>MediaInfo\MediaProtocol.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\MediaInfo\SubtitleFormat.cs"><Link>MediaInfo\SubtitleFormat.cs</Link></Compile>@@ -709,6 +772,9 @@<Compile Include="..\MediaBrowser.Model\Providers\SubtitleOptions.cs"><Link>Providers\SubtitleOptions.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Providers\SubtitleProviderInfo.cs">+ <Link>Providers\SubtitleProviderInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Querying\AllThemeMediaResult.cs"><Link>Querying\AllThemeMediaResult.cs</Link></Compile>@@ -838,6 +904,9 @@<Compile Include="..\MediaBrowser.Model\Session\SessionUserInfo.cs"><Link>Session\SessionUserInfo.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Session\TranscodingInfo.cs">+ <Link>Session\TranscodingInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Session\UserDataChangeInfo.cs"><Link>Session\UserDataChangeInfo.cs</Link></Compile>@@ -859,6 +928,9 @@<Compile Include="..\MediaBrowser.Model\Sync\SyncJobStatus.cs"><Link>Sync\SyncJobStatus.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Sync\SyncLimitType.cs">+ <Link>Sync\SyncLimitType.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Sync\SyncQuality.cs"><Link>Sync\SyncQuality.cs</Link></Compile>@@ -868,6 +940,9 @@<Compile Include="..\MediaBrowser.Model\System\LogFile.cs"><Link>System\LogFile.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\System\PublicSystemInfo.cs">+ <Link>System\PublicSystemInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\System\SystemInfo.cs"><Link>System\SystemInfo.cs</Link></Compile>diff --git a/MediaBrowser.Model/ApiClient/ConnectionMode.cs b/MediaBrowser.Model/ApiClient/ConnectionMode.csnew file mode 100644index 0000000000..f14c88a093--- /dev/null+++ b/MediaBrowser.Model/ApiClient/ConnectionMode.cs@@ -0,0 +1,8 @@+namespace MediaBrowser.Model.ApiClient+{+ public enum ConnectionMode+ {+ Local = 1,+ Remote = 2+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/ApiClient/ConnectionResult.cs b/MediaBrowser.Model/ApiClient/ConnectionResult.csindex 348f059b49..0b6c0bfe95 100644--- a/MediaBrowser.Model/ApiClient/ConnectionResult.cs+++ b/MediaBrowser.Model/ApiClient/ConnectionResult.cs@@ -12,17 +12,4 @@ namespace MediaBrowser.Model.ApiClientState = ConnectionState.Unavailable;}}-- public enum ConnectionState- {- Unavailable = 1,- ServerSignIn = 2,- SignedIn = 3- }-- public enum ConnectionMode- {- Local = 1,- Remote = 2- }}diff --git a/MediaBrowser.Model/ApiClient/ConnectionState.cs b/MediaBrowser.Model/ApiClient/ConnectionState.csnew file mode 100644index 0000000000..9374c77f6f--- /dev/null+++ b/MediaBrowser.Model/ApiClient/ConnectionState.cs@@ -0,0 +1,9 @@+namespace MediaBrowser.Model.ApiClient+{+ public enum ConnectionState+ {+ Unavailable = 1,+ ServerSignIn = 2,+ SignedIn = 3+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs b/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.csindex ce518a7ccc..3c0b09da8f 100644--- a/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs+++ b/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs@@ -1,12 +1,11 @@using MediaBrowser.Model.Session;-using System;namespace MediaBrowser.Model.ApiClient{/// <summary>/// Class SystemCommandEventArgs/// </summary>- public class GeneralCommandEventArgs : EventArgs+ public class GeneralCommandEventArgs{/// <summary>/// Gets or sets the command.diff --git a/MediaBrowser.Model/ApiClient/IServerEvents.cs b/MediaBrowser.Model/ApiClient/IServerEvents.csindex 72b4991577..88faad3884 100644--- a/MediaBrowser.Model/ApiClient/IServerEvents.cs+++ b/MediaBrowser.Model/ApiClient/IServerEvents.cs@@ -69,7 +69,7 @@ namespace MediaBrowser.Model.ApiClient/// <summary>/// Occurs when [system command]./// </summary>- event EventHandler<GeneralCommandEventArgs> GeneralCommand;+ event EventHandler<GenericEventArgs<GeneralCommandEventArgs>> GeneralCommand;/// <summary>/// Occurs when [notification added]./// </summary>@@ -109,7 +109,7 @@ namespace MediaBrowser.Model.ApiClient/// <summary>/// Occurs when [sessions updated]./// </summary>- event EventHandler<SessionUpdatesEventArgs> SessionsUpdated;+ event EventHandler<GenericEventArgs<SessionUpdatesEventArgs>> SessionsUpdated;/// <summary>/// Occurs when [restart required]./// </summary>@@ -118,5 +118,17 @@ namespace MediaBrowser.Model.ApiClient/// Occurs when [user data changed]./// </summary>event EventHandler<GenericEventArgs<UserDataChangeInfo>> UserDataChanged;+ /// <summary>+ /// Occurs when [playback start].+ /// </summary>+ event EventHandler<GenericEventArgs<SessionInfoDto>> PlaybackStart;+ /// <summary>+ /// Occurs when [playback stopped].+ /// </summary>+ event EventHandler<GenericEventArgs<SessionInfoDto>> PlaybackStopped;+ /// <summary>+ /// Occurs when [session ended].+ /// </summary>+ event EventHandler<GenericEventArgs<SessionInfoDto>> SessionEnded;}}diff --git a/MediaBrowser.Model/ApiClient/ServerInfo.cs b/MediaBrowser.Model/ApiClient/ServerInfo.csindex c80a0b1d3d..0656337bac 100644--- a/MediaBrowser.Model/ApiClient/ServerInfo.cs+++ b/MediaBrowser.Model/ApiClient/ServerInfo.cs@@ -19,15 +19,4 @@ namespace MediaBrowser.Model.ApiClientLocalAddress = "http://localhost:8096";}}-- public class WakeOnLanInfo- {- public string MacAddress { get; set; }- public int Port { get; set; }-- public WakeOnLanInfo()- {- Port = 9;- }- }}diff --git a/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs b/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.csindex 483ee45d00..af9a0986b1 100644--- a/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs+++ b/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs@@ -1,12 +1,11 @@-using System;-using MediaBrowser.Model.Session;+using MediaBrowser.Model.Session;namespace MediaBrowser.Model.ApiClient{/// <summary>/// Class SessionUpdatesEventArgs/// </summary>- public class SessionUpdatesEventArgs : EventArgs+ public class SessionUpdatesEventArgs{public SessionInfoDto[] Sessions { get; set; }}diff --git a/MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs b/MediaBrowser.Model/ApiClient/WakeOnLanInfo.csnew file mode 100644index 0000000000..f7a3c4ebb9--- /dev/null+++ b/MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs@@ -0,0 +1,13 @@+namespace MediaBrowser.Model.ApiClient+{+ public class WakeOnLanInfo+ {+ public string MacAddress { get; set; }+ public int Port { get; set; }++ public WakeOnLanInfo()+ {+ Port = 9;+ }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Channels/AllChannelMediaQuery.cs b/MediaBrowser.Model/Channels/AllChannelMediaQuery.csnew file mode 100644index 0000000000..c5631899e2--- /dev/null+++ b/MediaBrowser.Model/Channels/AllChannelMediaQuery.cs@@ -0,0 +1,61 @@+using System.Collections.Generic;+using MediaBrowser.Model.Entities;+using MediaBrowser.Model.Querying;++namespace MediaBrowser.Model.Channels+{+ public class AllChannelMediaQuery+ {+ /// <summary>+ /// Gets or sets the channel ids.+ /// </summary>+ /// <value>The channel ids.</value>+ public string[] ChannelIds { get; set; }++ /// <summary>+ /// Gets or sets the user identifier.+ /// </summary>+ /// <value>The user identifier.</value>+ public string UserId { get; set; }++ /// <summary>+ /// Skips over a given number of items within the results. Use for paging.+ /// </summary>+ /// <value>The start index.</value>+ public int? StartIndex { get; set; }++ /// <summary>+ /// The maximum number of items to return+ /// </summary>+ /// <value>The limit.</value>+ public int? Limit { get; set; }++ /// <summary>+ /// Gets or sets the content types.+ /// </summary>+ /// <value>The content types.</value>+ public ChannelMediaContentType[] ContentTypes { get; set; }++ /// <summary>+ /// Gets or sets the extra types.+ /// </summary>+ /// <value>The extra types.</value>+ public ExtraType[] ExtraTypes { get; set; }+ public TrailerType[] TrailerTypes { get; set; }++ public AllChannelMediaQuery()+ {+ ChannelIds = new string[] { };++ ContentTypes = new ChannelMediaContentType[] { };+ ExtraTypes = new ExtraType[] { };+ TrailerTypes = new TrailerType[] { };++ Filters = new ItemFilter[] { };+ Fields = new List<ItemFields>();+ }++ public ItemFilter[] Filters { get; set; }+ public List<ItemFields> Fields { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Channels/ChannelFeatures.cs b/MediaBrowser.Model/Channels/ChannelFeatures.csindex ef9ef67f2d..8dfdbcd7a4 100644--- a/MediaBrowser.Model/Channels/ChannelFeatures.cs+++ b/MediaBrowser.Model/Channels/ChannelFeatures.cs@@ -82,15 +82,4 @@ namespace MediaBrowser.Model.ChannelsDefaultSortFields = new List<ChannelItemSortField>();}}-- public enum ChannelItemSortField- {- Name = 0,- CommunityRating = 1,- PremiereDate = 2,- DateCreated = 3,- Runtime = 4,- PlayCount = 5,- CommunityPlayCount = 6- }}diff --git a/MediaBrowser.Model/Channels/ChannelFolderType.cs b/MediaBrowser.Model/Channels/ChannelFolderType.csnew file mode 100644index 0000000000..9261cb5cd3--- /dev/null+++ b/MediaBrowser.Model/Channels/ChannelFolderType.cs@@ -0,0 +1,11 @@+namespace MediaBrowser.Model.Channels+{+ public enum ChannelFolderType+ {+ Container = 0,++ MusicAlbum = 1,++ PhotoAlbum = 2+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Channels/ChannelItemSortField.cs b/MediaBrowser.Model/Channels/ChannelItemSortField.csnew file mode 100644index 0000000000..6b5015b774--- /dev/null+++ b/MediaBrowser.Model/Channels/ChannelItemSortField.cs@@ -0,0 +1,13 @@+namespace MediaBrowser.Model.Channels+{+ public enum ChannelItemSortField+ {+ Name = 0,+ CommunityRating = 1,+ PremiereDate = 2,+ DateCreated = 3,+ Runtime = 4,+ PlayCount = 5,+ CommunityPlayCount = 6+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Channels/ChannelMediaType.cs b/MediaBrowser.Model/Channels/ChannelMediaType.csindex cf3239c9b7..102cb66447 100644--- a/MediaBrowser.Model/Channels/ChannelMediaType.cs+++ b/MediaBrowser.Model/Channels/ChannelMediaType.cs@@ -8,13 +8,4 @@Photo = 2}-- public enum ChannelFolderType- {- Container = 0,-- MusicAlbum = 1,-- PhotoAlbum = 2- }}\ No newline at end of filediff --git a/MediaBrowser.Model/Channels/ChannelQuery.cs b/MediaBrowser.Model/Channels/ChannelQuery.csindex cb61f358c0..3c6e43fde8 100644--- a/MediaBrowser.Model/Channels/ChannelQuery.cs+++ b/MediaBrowser.Model/Channels/ChannelQuery.cs@@ -1,8 +1,4 @@-using MediaBrowser.Model.Entities;-using MediaBrowser.Model.Querying;-using System.Collections.Generic;--namespace MediaBrowser.Model.Channels+namespace MediaBrowser.Model.Channels{public class ChannelQuery{@@ -36,60 +32,4 @@ namespace MediaBrowser.Model.Channels/// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>public bool? IsFavorite { get; set; }}-- public class AllChannelMediaQuery- {- /// <summary>- /// Gets or sets the channel ids.- /// </summary>- /// <value>The channel ids.</value>- public string[] ChannelIds { get; set; }-- /// <summary>- /// Gets or sets the user identifier.- /// </summary>- /// <value>The user identifier.</value>- public string UserId { get; set; }-- /// <summary>- /// Skips over a given number of items within the results. Use for paging.- /// </summary>- /// <value>The start index.</value>- public int? StartIndex { get; set; }-- /// <summary>- /// The maximum number of items to return- /// </summary>- /// <value>The limit.</value>- public int? Limit { get; set; }-- /// <summary>- /// Gets or sets the content types.- /// </summary>- /// <value>The content types.</value>- public ChannelMediaContentType[] ContentTypes { get; set; }-- /// <summary>- /// Gets or sets the extra types.- /// </summary>- /// <value>The extra types.</value>- public ExtraType[] ExtraTypes { get; set; }- public TrailerType[] TrailerTypes { get; set; }-- public AllChannelMediaQuery()- {- ChannelIds = new string[] { };-- ContentTypes = new ChannelMediaContentType[] { };- ExtraTypes = new ExtraType[] { };- TrailerTypes = new TrailerType[] { };-- Filters = new ItemFilter[] { };- Fields = new List<ItemFields>();- }-- public ItemFilter[] Filters { get; set; }- public List<ItemFields> Fields { get; set; }- }-}diff --git a/MediaBrowser.Model/Chapters/ChapterProviderInfo.cs b/MediaBrowser.Model/Chapters/ChapterProviderInfo.csnew file mode 100644index 0000000000..570407c573--- /dev/null+++ b/MediaBrowser.Model/Chapters/ChapterProviderInfo.cs@@ -0,0 +1,8 @@+namespace MediaBrowser.Model.Chapters+{+ public class ChapterProviderInfo+ {+ public string Name { get; set; }+ public string Id { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Chapters/RemoteChapterInfo.cs b/MediaBrowser.Model/Chapters/RemoteChapterInfo.csindex 52b6c1bcdf..f2674c8424 100644--- a/MediaBrowser.Model/Chapters/RemoteChapterInfo.cs+++ b/MediaBrowser.Model/Chapters/RemoteChapterInfo.cs@@ -15,10 +15,4 @@ namespace MediaBrowser.Model.Chapters/// <value>The name.</value>public string Name { get; set; }}-- public class ChapterProviderInfo- {- public string Name { get; set; }- public string Id { get; set; }- }}diff --git a/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs b/MediaBrowser.Model/Configuration/CinemaModeConfiguration.csindex 8154e764a4..94d9ebabcb 100644--- a/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs+++ b/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs@@ -9,6 +9,7 @@ namespace MediaBrowser.Model.Configurationpublic bool EnableIntrosFromUpcomingTrailers { get; set; }public bool EnableIntrosFromMoviesInLibrary { get; set; }public bool EnableIntrosParentalControl { get; set; }+ public bool EnableIntrosFromSimilarMovies { get; set; }public string CustomIntroPath { get; set; }public bool EnableIntrosFromUpcomingDvdMovies { get; set; }public bool EnableIntrosFromUpcomingStreamingMovies { get; set; }diff --git a/MediaBrowser.Model/Configuration/PeopleMetadataOptions.cs b/MediaBrowser.Model/Configuration/PeopleMetadataOptions.csnew file mode 100644index 0000000000..8564d5b5b4--- /dev/null+++ b/MediaBrowser.Model/Configuration/PeopleMetadataOptions.cs@@ -0,0 +1,19 @@+namespace MediaBrowser.Model.Configuration+{+ public class PeopleMetadataOptions+ {+ public bool DownloadActorMetadata { get; set; }+ public bool DownloadDirectorMetadata { get; set; }+ public bool DownloadProducerMetadata { get; set; }+ public bool DownloadWriterMetadata { get; set; }+ public bool DownloadComposerMetadata { get; set; }+ public bool DownloadOtherPeopleMetadata { get; set; }+ public bool DownloadGuestStarMetadata { get; set; }++ public PeopleMetadataOptions()+ {+ DownloadActorMetadata = true;+ DownloadDirectorMetadata = true;+ }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex ab5b5bc3be..27818e5ed8 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -293,21 +293,4 @@ namespace MediaBrowser.Model.Configuration};}}-- public class PeopleMetadataOptions- {- public bool DownloadActorMetadata { get; set; }- public bool DownloadDirectorMetadata { get; set; }- public bool DownloadProducerMetadata { get; set; }- public bool DownloadWriterMetadata { get; set; }- public bool DownloadComposerMetadata { get; set; }- public bool DownloadOtherPeopleMetadata { get; set; }- public bool DownloadGuestStarMetadata { get; set; }-- public PeopleMetadataOptions()- {- DownloadActorMetadata = true;- DownloadDirectorMetadata = true;- }- }}diff --git a/MediaBrowser.Model/Dlna/EncodingContext.cs b/MediaBrowser.Model/Dlna/EncodingContext.csnew file mode 100644index 0000000000..f83d8ddc82--- /dev/null+++ b/MediaBrowser.Model/Dlna/EncodingContext.cs@@ -0,0 +1,8 @@+namespace MediaBrowser.Model.Dlna+{+ public enum EncodingContext+ {+ Streaming = 0,+ Static = 1+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dlna/ResolutionConfiguration.cs b/MediaBrowser.Model/Dlna/ResolutionConfiguration.csnew file mode 100644index 0000000000..8efdb06609--- /dev/null+++ b/MediaBrowser.Model/Dlna/ResolutionConfiguration.cs@@ -0,0 +1,14 @@+namespace MediaBrowser.Model.Dlna+{+ public class ResolutionConfiguration+ {+ public int MaxWidth { get; set; }+ public int MaxBitrate { get; set; }++ public ResolutionConfiguration(int maxWidth, int maxBitrate)+ {+ MaxWidth = maxWidth;+ MaxBitrate = maxBitrate;+ }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs b/MediaBrowser.Model/Dlna/ResolutionNormalizer.csindex a95de8d39d..b23c0b20b1 100644--- a/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs+++ b/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs@@ -42,22 +42,4 @@ namespace MediaBrowser.Model.Dlna};}}-- public class ResolutionConfiguration- {- public int MaxWidth { get; set; }- public int MaxBitrate { get; set; }-- public ResolutionConfiguration(int maxWidth, int maxBitrate)- {- MaxWidth = maxWidth;- MaxBitrate = maxBitrate;- }- }-- public class ResolutionOptions- {- public int? MaxWidth { get; set; }- public int? MaxHeight { get; set; }- }}diff --git a/MediaBrowser.Model/Dlna/ResolutionOptions.cs b/MediaBrowser.Model/Dlna/ResolutionOptions.csnew file mode 100644index 0000000000..6b711cfa0d--- /dev/null+++ b/MediaBrowser.Model/Dlna/ResolutionOptions.cs@@ -0,0 +1,8 @@+namespace MediaBrowser.Model.Dlna+{+ public class ResolutionOptions+ {+ public int? MaxWidth { get; set; }+ public int? MaxHeight { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.csindex 4d6b301d1e..6231d99a4a 100644--- a/MediaBrowser.Model/Dlna/StreamInfo.cs+++ b/MediaBrowser.Model/Dlna/StreamInfo.cs@@ -514,33 +514,4 @@ namespace MediaBrowser.Model.Dlna}}}-- public enum SubtitleDeliveryMethod- {- /// <summary>- /// The encode- /// </summary>- Encode = 0,- /// <summary>- /// The embed- /// </summary>- Embed = 1,- /// <summary>- /// The external- /// </summary>- External = 2,- /// <summary>- /// The HLS- /// </summary>- Hls = 3- }-- public class SubtitleStreamInfo- {- public string Url { get; set; }- public string Language { get; set; }- public string Name { get; set; }- public bool IsForced { get; set; }- public string Format { get; set; }- }}diff --git a/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.cs b/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.csnew file mode 100644index 0000000000..b4e13c5baa--- /dev/null+++ b/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.cs@@ -0,0 +1,22 @@+namespace MediaBrowser.Model.Dlna+{+ public enum SubtitleDeliveryMethod+ {+ /// <summary>+ /// The encode+ /// </summary>+ Encode = 0,+ /// <summary>+ /// The embed+ /// </summary>+ Embed = 1,+ /// <summary>+ /// The external+ /// </summary>+ External = 2,+ /// <summary>+ /// The HLS+ /// </summary>+ Hls = 3+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs b/MediaBrowser.Model/Dlna/SubtitleStreamInfo.csnew file mode 100644index 0000000000..1600408d60--- /dev/null+++ b/MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs@@ -0,0 +1,11 @@+namespace MediaBrowser.Model.Dlna+{+ public class SubtitleStreamInfo+ {+ public string Url { get; set; }+ public string Language { get; set; }+ public string Name { get; set; }+ public bool IsForced { get; set; }+ public string Format { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dlna/TranscodingProfile.cs b/MediaBrowser.Model/Dlna/TranscodingProfile.csindex 976f8e8d1f..ad82d6facd 100644--- a/MediaBrowser.Model/Dlna/TranscodingProfile.cs+++ b/MediaBrowser.Model/Dlna/TranscodingProfile.cs@@ -45,10 +45,4 @@ namespace MediaBrowser.Model.Dlnareturn list;}}-- public enum EncodingContext- {- Streaming = 0,- Static = 1- }}diff --git a/MediaBrowser.Model/Dto/MediaSourceInfo.cs b/MediaBrowser.Model/Dto/MediaSourceInfo.csindex 46c51ed8b1..368f20181a 100644--- a/MediaBrowser.Model/Dto/MediaSourceInfo.cs+++ b/MediaBrowser.Model/Dto/MediaSourceInfo.cs@@ -117,11 +117,4 @@ namespace MediaBrowser.Model.Dtoreturn null;}}-- public enum MediaSourceType- {- Default = 0,- Grouping = 1,- Cache = 2- }}diff --git a/MediaBrowser.Model/Dto/MediaSourceType.cs b/MediaBrowser.Model/Dto/MediaSourceType.csnew file mode 100644index 0000000000..a9cd71df56--- /dev/null+++ b/MediaBrowser.Model/Dto/MediaSourceType.cs@@ -0,0 +1,9 @@+namespace MediaBrowser.Model.Dto+{+ public enum MediaSourceType+ {+ Default = 0,+ Grouping = 1,+ Cache = 2+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Dto/StreamOptions.cs b/MediaBrowser.Model/Dto/StreamOptions.csindex d281148ff8..5b7cdc6fb1 100644--- a/MediaBrowser.Model/Dto/StreamOptions.cs+++ b/MediaBrowser.Model/Dto/StreamOptions.cs@@ -64,102 +64,4 @@ namespace MediaBrowser.Model.Dto/// <value>The device id.</value>public string DeviceId { get; set; }}-- /// <summary>- /// Class VideoStreamOptions- /// </summary>- [Obsolete]- public class VideoStreamOptions : StreamOptions- {- /// <summary>- /// Gets or sets the video codec.- /// Omit to copy- /// </summary>- /// <value>The video codec.</value>- public string VideoCodec { get; set; }-- /// <summary>- /// Gets or sets the video bit rate.- /// </summary>- /// <value>The video bit rate.</value>- public int? VideoBitRate { get; set; }-- /// <summary>- /// Gets or sets the width.- /// </summary>- /// <value>The width.</value>- public int? Width { get; set; }-- /// <summary>- /// Gets or sets the height.- /// </summary>- /// <value>The height.</value>- public int? Height { get; set; }-- /// <summary>- /// Gets or sets the width of the max.- /// </summary>- /// <value>The width of the max.</value>- public int? MaxWidth { get; set; }-- /// <summary>- /// Gets or sets the height of the max.- /// </summary>- /// <value>The height of the max.</value>- public int? MaxHeight { get; set; }-- /// <summary>- /// Gets or sets the frame rate.- /// </summary>- /// <value>The frame rate.</value>- public double? FrameRate { get; set; }-- /// <summary>- /// Gets or sets the index of the audio stream.- /// </summary>- /// <value>The index of the audio stream.</value>- public int? AudioStreamIndex { get; set; }-- /// <summary>- /// Gets or sets the index of the video stream.- /// </summary>- /// <value>The index of the video stream.</value>- public int? VideoStreamIndex { get; set; }-- /// <summary>- /// Gets or sets the index of the subtitle stream.- /// </summary>- /// <value>The index of the subtitle stream.</value>- public int? SubtitleStreamIndex { get; set; }-- /// <summary>- /// Gets or sets the profile.- /// </summary>- /// <value>The profile.</value>- public string Profile { get; set; }-- /// <summary>- /// Gets or sets the level.- /// </summary>- /// <value>The level.</value>- public string Level { get; set; }-- /// <summary>- /// Gets or sets the baseline stream audio bit rate.- /// </summary>- /// <value>The baseline stream audio bit rate.</value>- public int? BaselineStreamAudioBitRate { get; set; }-- /// <summary>- /// Gets or sets a value indicating whether [append baseline stream].- /// </summary>- /// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>- public bool AppendBaselineStream { get; set; }-- /// <summary>- /// Gets or sets the time stamp offset ms. Only used with HLS.- /// </summary>- /// <value>The time stamp offset ms.</value>- public int? TimeStampOffsetMs { get; set; }- }}diff --git a/MediaBrowser.Model/Dto/VideoStreamOptions.cs b/MediaBrowser.Model/Dto/VideoStreamOptions.csnew file mode 100644index 0000000000..606e928f21--- /dev/null+++ b/MediaBrowser.Model/Dto/VideoStreamOptions.cs@@ -0,0 +1,102 @@+using System;++namespace MediaBrowser.Model.Dto+{+ /// <summary>+ /// Class VideoStreamOptions+ /// </summary>+ [Obsolete]+ public class VideoStreamOptions : StreamOptions+ {+ /// <summary>+ /// Gets or sets the video codec.+ /// Omit to copy+ /// </summary>+ /// <value>The video codec.</value>+ public string VideoCodec { get; set; }++ /// <summary>+ /// Gets or sets the video bit rate.+ /// </summary>+ /// <value>The video bit rate.</value>+ public int? VideoBitRate { get; set; }++ /// <summary>+ /// Gets or sets the width.+ /// </summary>+ /// <value>The width.</value>+ public int? Width { get; set; }++ /// <summary>+ /// Gets or sets the height.+ /// </summary>+ /// <value>The height.</value>+ public int? Height { get; set; }++ /// <summary>+ /// Gets or sets the width of the max.+ /// </summary>+ /// <value>The width of the max.</value>+ public int? MaxWidth { get; set; }++ /// <summary>+ /// Gets or sets the height of the max.+ /// </summary>+ /// <value>The height of the max.</value>+ public int? MaxHeight { get; set; }++ /// <summary>+ /// Gets or sets the frame rate.+ /// </summary>+ /// <value>The frame rate.</value>+ public double? FrameRate { get; set; }++ /// <summary>+ /// Gets or sets the index of the audio stream.+ /// </summary>+ /// <value>The index of the audio stream.</value>+ public int? AudioStreamIndex { get; set; }++ /// <summary>+ /// Gets or sets the index of the video stream.+ /// </summary>+ /// <value>The index of the video stream.</value>+ public int? VideoStreamIndex { get; set; }++ /// <summary>+ /// Gets or sets the index of the subtitle stream.+ /// </summary>+ /// <value>The index of the subtitle stream.</value>+ public int? SubtitleStreamIndex { get; set; }++ /// <summary>+ /// Gets or sets the profile.+ /// </summary>+ /// <value>The profile.</value>+ public string Profile { get; set; }++ /// <summary>+ /// Gets or sets the level.+ /// </summary>+ /// <value>The level.</value>+ public string Level { get; set; }++ /// <summary>+ /// Gets or sets the baseline stream audio bit rate.+ /// </summary>+ /// <value>The baseline stream audio bit rate.</value>+ public int? BaselineStreamAudioBitRate { get; set; }++ /// <summary>+ /// Gets or sets a value indicating whether [append baseline stream].+ /// </summary>+ /// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>+ public bool AppendBaselineStream { get; set; }++ /// <summary>+ /// Gets or sets the time stamp offset ms. Only used with HLS.+ /// </summary>+ /// <value>The time stamp offset ms.</value>+ public int? TimeStampOffsetMs { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Entities/ExtraType.cs b/MediaBrowser.Model/Entities/ExtraType.csindex 92fb00731e..ab8da58c07 100644--- a/MediaBrowser.Model/Entities/ExtraType.cs+++ b/MediaBrowser.Model/Entities/ExtraType.cs@@ -13,12 +13,4 @@ namespace MediaBrowser.Model.EntitiesThemeSong = 8,ThemeVideo = 9}-- public enum TrailerType- {- ComingSoonToTheaters = 1,- ComingSoonToDvd = 2,- ComingSoonToStreaming = 3,- Archive = 4- }}diff --git a/MediaBrowser.Model/Entities/MBRegistrationRecord.cs b/MediaBrowser.Model/Entities/MBRegistrationRecord.csindex 3a4af19d87..00176fb344 100644--- a/MediaBrowser.Model/Entities/MBRegistrationRecord.cs+++ b/MediaBrowser.Model/Entities/MBRegistrationRecord.cs@@ -11,15 +11,4 @@ namespace MediaBrowser.Model.Entitiespublic bool TrialVersion { get; set; }public bool IsValid { get; set; }}-- public class SupporterInfo- {- public string Email { get; set; }- public string SupporterKey { get; set; }- public DateTime? ExpirationDate { get; set; }- public DateTime RegistrationDate { get; set; }- public string PlanType { get; set; }- public bool IsActiveSupporter { get; set; }- public bool IsExpiredSupporter { get; set; }- }}\ No newline at end of filediff --git a/MediaBrowser.Model/Entities/SupporterInfo.cs b/MediaBrowser.Model/Entities/SupporterInfo.csnew file mode 100644index 0000000000..233d5615fe--- /dev/null+++ b/MediaBrowser.Model/Entities/SupporterInfo.cs@@ -0,0 +1,15 @@+using System;++namespace MediaBrowser.Model.Entities+{+ public class SupporterInfo+ {+ public string Email { get; set; }+ public string SupporterKey { get; set; }+ public DateTime? ExpirationDate { get; set; }+ public DateTime RegistrationDate { get; set; }+ public string PlanType { get; set; }+ public bool IsActiveSupporter { get; set; }+ public bool IsExpiredSupporter { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Entities/TrailerType.cs b/MediaBrowser.Model/Entities/TrailerType.csnew file mode 100644index 0000000000..c96a05bcd6--- /dev/null+++ b/MediaBrowser.Model/Entities/TrailerType.cs@@ -0,0 +1,10 @@+namespace MediaBrowser.Model.Entities+{+ public enum TrailerType+ {+ ComingSoonToTheaters = 1,+ ComingSoonToDvd = 2,+ ComingSoonToStreaming = 3,+ Archive = 4+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Extensions/BoolHelper.cs b/MediaBrowser.Model/Extensions/BoolHelper.csnew file mode 100644index 0000000000..5b61f864b0--- /dev/null+++ b/MediaBrowser.Model/Extensions/BoolHelper.cs@@ -0,0 +1,16 @@+namespace MediaBrowser.Model.Extensions+{+ public static class BoolHelper+ {+ /// <summary>+ /// Tries the parse culture invariant.+ /// </summary>+ /// <param name="s">The s.</param>+ /// <param name="result">The result.</param>+ /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>+ public static bool TryParseCultureInvariant(string s, out bool result)+ {+ return bool.TryParse(s, out result);+ }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Extensions/DoubleHelper.cs b/MediaBrowser.Model/Extensions/DoubleHelper.csindex e6a4e05812..bcaf2d7800 100644--- a/MediaBrowser.Model/Extensions/DoubleHelper.cs+++ b/MediaBrowser.Model/Extensions/DoubleHelper.cs@@ -18,32 +18,4 @@ namespace MediaBrowser.Model.Extensionsreturn double.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result);}}-- public static class FloatHelper- {- /// <summary>- /// Tries the parse culture invariant.- /// </summary>- /// <param name="s">The s.</param>- /// <param name="result">The result.</param>- /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>- public static bool TryParseCultureInvariant(string s, out float result)- {- return float.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result);- }- }-- public static class BoolHelper- {- /// <summary>- /// Tries the parse culture invariant.- /// </summary>- /// <param name="s">The s.</param>- /// <param name="result">The result.</param>- /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>- public static bool TryParseCultureInvariant(string s, out bool result)- {- return bool.TryParse(s, out result);- }- }}diff --git a/MediaBrowser.Model/Extensions/FloatHelper.cs b/MediaBrowser.Model/Extensions/FloatHelper.csnew file mode 100644index 0000000000..171eccf931--- /dev/null+++ b/MediaBrowser.Model/Extensions/FloatHelper.cs@@ -0,0 +1,18 @@+using System.Globalization;++namespace MediaBrowser.Model.Extensions+{+ public static class FloatHelper+ {+ /// <summary>+ /// Tries the parse culture invariant.+ /// </summary>+ /// <param name="s">The s.</param>+ /// <param name="result">The result.</param>+ /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>+ public static bool TryParseCultureInvariant(string s, out float result)+ {+ return float.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result);+ }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex b0cc3986c8..dc8b3d5196 100644--- a/MediaBrowser.Model/MediaBrowser.Model.csproj+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj@@ -60,7 +60,9 @@<Link>Properties\SharedVersion.cs</Link></Compile><Compile Include="Activity\ActivityLogEntry.cs" />+ <Compile Include="ApiClient\ConnectionMode.cs" /><Compile Include="ApiClient\ConnectionResult.cs" />+ <Compile Include="ApiClient\ConnectionState.cs" /><Compile Include="ApiClient\HttpResponseEventArgs.cs" /><Compile Include="ApiClient\IApiClient.cs" /><Compile Include="ApiClient\ApiClientExtensions.cs" />@@ -70,28 +72,45 @@<Compile Include="ApiClient\ServerDiscoveryInfo.cs" /><Compile Include="ApiClient\ServerInfo.cs" /><Compile Include="ApiClient\SessionUpdatesEventArgs.cs" />+ <Compile Include="ApiClient\WakeOnLanInfo.cs" /><Compile Include="Branding\BrandingOptions.cs" />+ <Compile Include="Channels\AllChannelMediaQuery.cs" /><Compile Include="Channels\ChannelFeatures.cs" />+ <Compile Include="Channels\ChannelFolderType.cs" /><Compile Include="Channels\ChannelInfo.cs" /><Compile Include="Channels\ChannelItemQuery.cs" />+ <Compile Include="Channels\ChannelItemSortField.cs" /><Compile Include="Channels\ChannelMediaContentType.cs" /><Compile Include="Channels\ChannelMediaType.cs" /><Compile Include="Channels\ChannelQuery.cs" />+ <Compile Include="Chapters\ChapterProviderInfo.cs" /><Compile Include="Chapters\RemoteChapterInfo.cs" /><Compile Include="Chapters\RemoteChapterResult.cs" /><Compile Include="Collections\CollectionCreationResult.cs" /><Compile Include="Configuration\ChannelOptions.cs" /><Compile Include="Configuration\ChapterOptions.cs" /><Compile Include="Configuration\CinemaModeConfiguration.cs" />+ <Compile Include="Configuration\PeopleMetadataOptions.cs" /><Compile Include="Configuration\XbmcMetadataOptions.cs" /><Compile Include="Configuration\SubtitlePlaybackMode.cs" /><Compile Include="Connect\UserLinkType.cs" />+ <Compile Include="Dlna\EncodingContext.cs" /><Compile Include="Dlna\Profiles\AndroidProfile.cs" /><Compile Include="Dlna\Profiles\DefaultProfile.cs" />+ <Compile Include="Dlna\ResolutionConfiguration.cs" /><Compile Include="Dlna\ResolutionNormalizer.cs" />+ <Compile Include="Dlna\ResolutionOptions.cs" />+ <Compile Include="Dlna\SubtitleDeliveryMethod.cs" />+ <Compile Include="Dlna\SubtitleStreamInfo.cs" /><Compile Include="Drawing\ImageOrientation.cs" />+ <Compile Include="Dto\MediaSourceType.cs" /><Compile Include="Dto\StreamOptions.cs" />+ <Compile Include="Dto\VideoStreamOptions.cs" /><Compile Include="Entities\ExtraType.cs" />+ <Compile Include="Entities\SupporterInfo.cs" />+ <Compile Include="Entities\TrailerType.cs" />+ <Compile Include="Extensions\BoolHelper.cs" />+ <Compile Include="Extensions\FloatHelper.cs" /><Compile Include="FileOrganization\AutoOrganizeOptions.cs" /><Compile Include="FileOrganization\TvFileOrganizationOptions.cs" /><Compile Include="Configuration\BaseApplicationConfiguration.cs" />@@ -105,6 +124,7 @@<Compile Include="Configuration\MetadataPluginSummary.cs" /><Compile Include="Configuration\MetadataPluginType.cs" /><Compile Include="Dlna\SubtitleProfile.cs" />+ <Compile Include="MediaInfo\MediaProtocol.cs" /><Compile Include="Notifications\NotificationOption.cs" /><Compile Include="Notifications\NotificationOptions.cs" /><Compile Include="Notifications\NotificationType.cs" />@@ -249,6 +269,7 @@<Compile Include="Providers\RemoteImageResult.cs" /><Compile Include="Providers\RemoteSearchResult.cs" /><Compile Include="Providers\RemoteSubtitleInfo.cs" />+ <Compile Include="Providers\SubtitleProviderInfo.cs" /><Compile Include="Querying\AllThemeMediaResult.cs" /><Compile Include="Querying\ArtistsQuery.cs" /><Compile Include="Querying\EpisodeQuery.cs" />@@ -312,6 +333,7 @@<Compile Include="Session\SessionCapabilities.cs" /><Compile Include="Session\SessionInfoDto.cs" /><Compile Include="Session\SessionUserInfo.cs" />+ <Compile Include="Session\TranscodingInfo.cs" /><Compile Include="Session\UserDataChangeInfo.cs" /><Compile Include="Sync\SyncJob.cs" /><Compile Include="Sync\SyncJobCreationResult.cs" />@@ -319,9 +341,11 @@<Compile Include="Sync\SyncJobQuery.cs" /><Compile Include="Sync\SyncJobRequest.cs" /><Compile Include="Sync\SyncJobStatus.cs" />+ <Compile Include="Sync\SyncLimitType.cs" /><Compile Include="Sync\SyncQuality.cs" /><Compile Include="Sync\SyncTarget.cs" /><Compile Include="System\LogFile.cs" />+ <Compile Include="System\PublicSystemInfo.cs" /><Compile Include="Themes\AppTheme.cs" /><Compile Include="Themes\AppThemeInfo.cs" /><Compile Include="Themes\ThemeImage.cs" />diff --git a/MediaBrowser.Model/MediaInfo/Container.cs b/MediaBrowser.Model/MediaInfo/Container.csindex 89ce9864cf..3762edf9fa 100644--- a/MediaBrowser.Model/MediaInfo/Container.cs+++ b/MediaBrowser.Model/MediaInfo/Container.cs@@ -6,11 +6,4 @@ namespace MediaBrowser.Model.MediaInfopublic const string MP4 = "mp4";public const string MKV = "mkv";}-- public enum MediaProtocol- {- File = 0,- Http = 1,- Rtmp = 2- }}diff --git a/MediaBrowser.Model/MediaInfo/MediaProtocol.cs b/MediaBrowser.Model/MediaInfo/MediaProtocol.csnew file mode 100644index 0000000000..ad63fa058d--- /dev/null+++ b/MediaBrowser.Model/MediaInfo/MediaProtocol.cs@@ -0,0 +1,9 @@+namespace MediaBrowser.Model.MediaInfo+{+ public enum MediaProtocol+ {+ File = 0,+ Http = 1,+ Rtmp = 2+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs b/MediaBrowser.Model/Providers/RemoteSubtitleInfo.csindex aa697fee3d..0a4a52cd5f 100644--- a/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs+++ b/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs@@ -16,10 +16,4 @@ namespace MediaBrowser.Model.Providerspublic int? DownloadCount { get; set; }public bool? IsHashMatch { get; set; }}-- public class SubtitleProviderInfo- {- public string Name { get; set; }- public string Id { get; set; }- }}diff --git a/MediaBrowser.Model/Providers/SubtitleProviderInfo.cs b/MediaBrowser.Model/Providers/SubtitleProviderInfo.csnew file mode 100644index 0000000000..ecce18bd5d--- /dev/null+++ b/MediaBrowser.Model/Providers/SubtitleProviderInfo.cs@@ -0,0 +1,8 @@+namespace MediaBrowser.Model.Providers+{+ public class SubtitleProviderInfo+ {+ public string Name { get; set; }+ public string Id { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Session/PlayerStateInfo.cs b/MediaBrowser.Model/Session/PlayerStateInfo.csindex e196d9d59e..c9afef8e0e 100644--- a/MediaBrowser.Model/Session/PlayerStateInfo.cs+++ b/MediaBrowser.Model/Session/PlayerStateInfo.cs@@ -56,19 +56,4 @@/// <value>The play method.</value>public PlayMethod? PlayMethod { get; set; }}-- public class TranscodingInfo- {- public string AudioCodec { get; set; }- public string VideoCodec { get; set; }- public string Container { get; set; }- public int? Bitrate { get; set; }-- public float? Framerate { get; set; }- public double? CompletionPercentage { get; set; }-- public int? Width { get; set; }- public int? Height { get; set; }- public int? AudioChannels { get; set; }- }}\ No newline at end of filediff --git a/MediaBrowser.Model/Session/TranscodingInfo.cs b/MediaBrowser.Model/Session/TranscodingInfo.csnew file mode 100644index 0000000000..b3ab32a448--- /dev/null+++ b/MediaBrowser.Model/Session/TranscodingInfo.cs@@ -0,0 +1,17 @@+namespace MediaBrowser.Model.Session+{+ public class TranscodingInfo+ {+ public string AudioCodec { get; set; }+ public string VideoCodec { get; set; }+ public string Container { get; set; }+ public int? Bitrate { get; set; }++ public float? Framerate { get; set; }+ public double? CompletionPercentage { get; set; }++ public int? Width { get; set; }+ public int? Height { get; set; }+ public int? AudioChannels { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.csindex 7728aad9bd..987f396e40 100644--- a/MediaBrowser.Model/Sync/SyncJobRequest.cs+++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs@@ -50,9 +50,4 @@ namespace MediaBrowser.Model.SyncItemIds = new List<string>();}}-- public enum SyncLimitType- {- ItemCount = 0- }}diff --git a/MediaBrowser.Model/Sync/SyncLimitType.cs b/MediaBrowser.Model/Sync/SyncLimitType.csnew file mode 100644index 0000000000..d20f9e33d1--- /dev/null+++ b/MediaBrowser.Model/Sync/SyncLimitType.cs@@ -0,0 +1,7 @@+namespace MediaBrowser.Model.Sync+{+ public enum SyncLimitType+ {+ ItemCount = 0+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.csnew file mode 100644index 0000000000..3afe72e818--- /dev/null+++ b/MediaBrowser.Model/System/PublicSystemInfo.cs@@ -0,0 +1,35 @@+namespace MediaBrowser.Model.System+{+ public class PublicSystemInfo+ {+ /// <summary>+ /// Gets or sets the local address.+ /// </summary>+ /// <value>The local address.</value>+ public string LocalAddress { get; set; }++ /// <summary>+ /// Gets or sets the wan address.+ /// </summary>+ /// <value>The wan address.</value>+ public string WanAddress { get; set; }++ /// <summary>+ /// Gets or sets the name of the server.+ /// </summary>+ /// <value>The name of the server.</value>+ public string ServerName { get; set; }++ /// <summary>+ /// Gets or sets the version.+ /// </summary>+ /// <value>The version.</value>+ public string Version { get; set; }++ /// <summary>+ /// Gets or sets the id.+ /// </summary>+ /// <value>The id.</value>+ public string Id { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.csindex 152448330d..415c619ea8 100644--- a/MediaBrowser.Model/System/SystemInfo.cs+++ b/MediaBrowser.Model/System/SystemInfo.cs@@ -152,37 +152,4 @@ namespace MediaBrowser.Model.SystemFailedPluginAssemblies = new List<string>();}}-- public class PublicSystemInfo- {- /// <summary>- /// Gets or sets the local address.- /// </summary>- /// <value>The local address.</value>- public string LocalAddress { get; set; }-- /// <summary>- /// Gets or sets the wan address.- /// </summary>- /// <value>The wan address.</value>- public string WanAddress { get; set; }-- /// <summary>- /// Gets or sets the name of the server.- /// </summary>- /// <value>The name of the server.</value>- public string ServerName { get; set; }-- /// <summary>- /// Gets or sets the version.- /// </summary>- /// <value>The version.</value>- public string Version { get; set; }-- /// <summary>- /// Gets or sets the id.- /// </summary>- /// <value>The id.</value>- public string Id { get; set; }- }}diff --git a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.csindex 6c3eb2dc4d..f2b3474b9d 100644--- a/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs+++ b/MediaBrowser.Server.Implementations/Intros/DefaultIntroProvider.cs@@ -109,6 +109,10 @@ namespace MediaBrowser.Server.Implementations.Intros{trailerTypes.Add(TrailerType.ComingSoonToStreaming);}+ if (config.EnableIntrosFromSimilarMovies)+ {+ trailerTypes.Add(TrailerType.Archive);+ }if (trailerTypes.Count > 0 && IsSupporter){diff --git a/MediaBrowser.Server.Implementations/LiveTv/ChannelImageProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/ChannelImageProvider.csindex 4dd9f756dd..ed67df01e4 100644--- a/MediaBrowser.Server.Implementations/LiveTv/ChannelImageProvider.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/ChannelImageProvider.cs@@ -105,13 +105,7 @@ namespace MediaBrowser.Server.Implementations.LiveTvpublic bool HasChanged(IHasMetadata item, MetadataStatus status, IDirectoryService directoryService){- var liveTvItem = item as LiveTvChannel;-- if (liveTvItem != null)- {- return !liveTvItem.HasImage(ImageType.Primary) && (liveTvItem.HasProviderImage ?? true);- }- return false;+ return GetSupportedImages(item).Any(i => !item.HasImage(i));}}}diff --git a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.csindex cc289faf29..7af8546ab0 100644--- a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs+++ b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs@@ -26,7 +26,7 @@ namespace MediaBrowser.ServerApplication.FFMpegprivate readonly string[] _fontUrls ={- "https://www.dropbox.com/s/pj847twf7riq0j7/ARIALUNI.7z?dl=1"+ "https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/ffmpeg/ARIALUNI.7z"};public FFMpegDownloader(ILogger logger, IApplicationPaths appPaths, IHttpClient httpClient, IZipClient zipClient, IFileSystem fileSystem)diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspecindex 82e865afa4..b95240dba5 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.463</version>+ <version>3.0.466</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.463" />+ <dependency id="MediaBrowser.Common" version="3.0.466" /><dependency id="NLog" version="3.1.0.0" /><dependency id="SimpleInjector" version="2.5.2" /><dependency id="sharpcompress" version="0.10.2" />diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspecindex c8c2d69d2a..0590378ef9 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.463</version>+ <version>3.0.466</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.nuspecindex 5d9637525b..af83164339 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.463</version>+ <version>3.0.466</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.nuspecindex 724883697e..d62d6f0a30 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.463</version>+ <version>3.0.466</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.463" />+ <dependency id="MediaBrowser.Common" version="3.0.466" /></dependencies></metadata><files>