mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-07 00:08:29 +01:00
update to jquery mobile 1.4.3
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Model.Weather;
|
||||
using MediaBrowser.Model.Notifications;
|
||||
using MediaBrowser.Model.Weather;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
@@ -178,8 +179,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The encoding quality.</value>
|
||||
public EncodingQuality MediaEncodingQuality { get; set; }
|
||||
|
||||
public bool AllowVideoUpscaling { get; set; }
|
||||
|
||||
public MetadataOptions[] MetadataOptions { get; set; }
|
||||
|
||||
public bool EnableDebugEncodingLogging { get; set; }
|
||||
@@ -268,10 +267,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
new MetadataOptions(0, 1280) {ItemType = "Season"}
|
||||
};
|
||||
|
||||
NotificationOptions = new NotificationOptions();
|
||||
|
||||
SubtitleOptions = new SubtitleOptions();
|
||||
|
||||
LiveTvOptions = new LiveTvOptions();
|
||||
TvFileOrganizationOptions = new TvFileOrganizationOptions();
|
||||
}
|
||||
|
||||
@@ -88,11 +88,11 @@
|
||||
<Compile Include="Configuration\MetadataOptions.cs" />
|
||||
<Compile Include="Configuration\MetadataPluginSummary.cs" />
|
||||
<Compile Include="Configuration\MetadataPluginType.cs" />
|
||||
<Compile Include="Configuration\NotificationOption.cs" />
|
||||
<Compile Include="Configuration\NotificationOptions.cs" />
|
||||
<Compile Include="Configuration\NotificationType.cs" />
|
||||
<Compile Include="Notifications\NotificationOption.cs" />
|
||||
<Compile Include="Notifications\NotificationOptions.cs" />
|
||||
<Compile Include="Notifications\NotificationType.cs" />
|
||||
<Compile Include="Configuration\PathSubstitution.cs" />
|
||||
<Compile Include="Configuration\SendToUserType.cs" />
|
||||
<Compile Include="Notifications\SendToUserType.cs" />
|
||||
<Compile Include="Configuration\ServerConfiguration.cs" />
|
||||
<Compile Include="Configuration\SubtitleOptions.cs" />
|
||||
<Compile Include="Configuration\UnratedItem.cs" />
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
using MediaBrowser.Model.Configuration;
|
||||
|
||||
namespace MediaBrowser.Model.Notifications
|
||||
{
|
||||
public class NotificationOption
|
||||
{
|
||||
@@ -1,6 +1,7 @@
|
||||
using MediaBrowser.Model.Extensions;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Extensions;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
namespace MediaBrowser.Model.Notifications
|
||||
{
|
||||
public class NotificationOptions
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
namespace MediaBrowser.Model.Notifications
|
||||
{
|
||||
public enum NotificationType
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
namespace MediaBrowser.Model.Notifications
|
||||
{
|
||||
public enum SendToUserType
|
||||
{
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Updates
|
||||
{
|
||||
/// <summary>
|
||||
@@ -24,6 +26,32 @@ namespace MediaBrowser.Model.Updates
|
||||
/// <value>The version STR.</value>
|
||||
public string versionStr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The _version
|
||||
/// </summary>
|
||||
private Version _version;
|
||||
/// <summary>
|
||||
/// Gets or sets the version.
|
||||
/// Had to make this an interpreted property since Protobuf can't handle Version
|
||||
/// </summary>
|
||||
/// <value>The version.</value>
|
||||
[IgnoreDataMember]
|
||||
public Version version
|
||||
{
|
||||
get { return _version ?? (_version = new Version(ValueOrDefault(versionStr, "0.0.0.1"))); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Values the or default.
|
||||
/// </summary>
|
||||
/// <param name="str">The STR.</param>
|
||||
/// <param name="def">The def.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
private static string ValueOrDefault(string str, string def)
|
||||
{
|
||||
return string.IsNullOrEmpty(str) ? def : str;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the classification.
|
||||
/// </summary>
|
||||
@@ -60,4 +88,4 @@ namespace MediaBrowser.Model.Updates
|
||||
/// <value>The target filename.</value>
|
||||
public string targetFilename { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,5 +16,11 @@ namespace MediaBrowser.Model.Users
|
||||
/// </summary>
|
||||
/// <value>The session information.</value>
|
||||
public SessionInfoDto SessionInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the authentication token.
|
||||
/// </summary>
|
||||
/// <value>The authentication token.</value>
|
||||
public string AuthenticationToken { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user