mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-24 11:05:08 +01:00
fix portable and 3.5 project references
This commit is contained in:
@@ -20,12 +20,4 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <value>The type of the known command.</value>
|
||||
public GeneralCommandType? KnownCommandType { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class SessionUpdatesEventArgs
|
||||
/// </summary>
|
||||
public class SessionUpdatesEventArgs : EventArgs
|
||||
{
|
||||
public SessionInfoDto[] Sessions { get; set; }
|
||||
}
|
||||
}
|
||||
13
MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs
Normal file
13
MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.Session;
|
||||
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Class SessionUpdatesEventArgs
|
||||
/// </summary>
|
||||
public class SessionUpdatesEventArgs : EventArgs
|
||||
{
|
||||
public SessionInfoDto[] Sessions { get; set; }
|
||||
}
|
||||
}
|
||||
48
MediaBrowser.Model/Channels/ChannelItemQuery.cs
Normal file
48
MediaBrowser.Model/Channels/ChannelItemQuery.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Querying;
|
||||
|
||||
namespace MediaBrowser.Model.Channels
|
||||
{
|
||||
public class ChannelItemQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the category identifier.
|
||||
/// </summary>
|
||||
/// <value>The category identifier.</value>
|
||||
public string CategoryId { 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; }
|
||||
|
||||
public SortOrder? SortOrder { get; set; }
|
||||
public string[] SortBy { get; set; }
|
||||
public ItemFilter[] Filters { get; set; }
|
||||
|
||||
public ChannelItemQuery()
|
||||
{
|
||||
Filters = new ItemFilter[] { };
|
||||
SortBy = new string[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Querying;
|
||||
|
||||
namespace MediaBrowser.Model.Channels
|
||||
namespace MediaBrowser.Model.Channels
|
||||
{
|
||||
public class ChannelQuery
|
||||
{
|
||||
@@ -23,47 +20,4 @@ namespace MediaBrowser.Model.Channels
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
|
||||
public class ChannelItemQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the category identifier.
|
||||
/// </summary>
|
||||
/// <value>The category identifier.</value>
|
||||
public string CategoryId { 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; }
|
||||
|
||||
public SortOrder? SortOrder { get; set; }
|
||||
public string[] SortBy { get; set; }
|
||||
public ItemFilter[] Filters { get; set; }
|
||||
|
||||
public ChannelItemQuery()
|
||||
{
|
||||
Filters = new ItemFilter[] { };
|
||||
SortBy = new string[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
10
MediaBrowser.Model/Configuration/EncodingQuality.cs
Normal file
10
MediaBrowser.Model/Configuration/EncodingQuality.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum EncodingQuality
|
||||
{
|
||||
Auto,
|
||||
HighSpeed,
|
||||
HighQuality,
|
||||
MaxQuality
|
||||
}
|
||||
}
|
||||
29
MediaBrowser.Model/Configuration/ImageOption.cs
Normal file
29
MediaBrowser.Model/Configuration/ImageOption.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class ImageOption
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type.
|
||||
/// </summary>
|
||||
/// <value>The type.</value>
|
||||
public ImageType Type { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the limit.
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int Limit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the minimum width.
|
||||
/// </summary>
|
||||
/// <value>The minimum width.</value>
|
||||
public int MinWidth { get; set; }
|
||||
|
||||
public ImageOption()
|
||||
{
|
||||
Limit = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum ImageSavingConvention
|
||||
{
|
||||
Legacy,
|
||||
Compatible
|
||||
}
|
||||
}
|
||||
7
MediaBrowser.Model/Configuration/LiveTvOptions.cs
Normal file
7
MediaBrowser.Model/Configuration/LiveTvOptions.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class LiveTvOptions
|
||||
{
|
||||
public int? GuideDays { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -74,29 +74,4 @@ namespace MediaBrowser.Model.Configuration
|
||||
return !DisabledMetadataSavers.Contains(name, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
}
|
||||
|
||||
public class ImageOption
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type.
|
||||
/// </summary>
|
||||
/// <value>The type.</value>
|
||||
public ImageType Type { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the limit.
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int Limit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the minimum width.
|
||||
/// </summary>
|
||||
/// <value>The minimum width.</value>
|
||||
public int MinWidth { get; set; }
|
||||
|
||||
public ImageOption()
|
||||
{
|
||||
Limit = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class MetadataPlugin
|
||||
{
|
||||
@@ -17,44 +14,4 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The type.</value>
|
||||
public MetadataPluginType Type { get; set; }
|
||||
}
|
||||
|
||||
public class MetadataPluginSummary
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the item.
|
||||
/// </summary>
|
||||
/// <value>The type of the item.</value>
|
||||
public string ItemType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the plugins.
|
||||
/// </summary>
|
||||
/// <value>The plugins.</value>
|
||||
public List<MetadataPlugin> Plugins { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the supported image types.
|
||||
/// </summary>
|
||||
/// <value>The supported image types.</value>
|
||||
public List<ImageType> SupportedImageTypes { get; set; }
|
||||
|
||||
public MetadataPluginSummary()
|
||||
{
|
||||
SupportedImageTypes = new List<ImageType>();
|
||||
Plugins = new List<MetadataPlugin>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum MetadataPluginType
|
||||
/// </summary>
|
||||
public enum MetadataPluginType
|
||||
{
|
||||
LocalImageProvider,
|
||||
ImageFetcher,
|
||||
ImageSaver,
|
||||
LocalMetadataProvider,
|
||||
MetadataFetcher,
|
||||
MetadataSaver
|
||||
}
|
||||
}
|
||||
|
||||
32
MediaBrowser.Model/Configuration/MetadataPluginSummary.cs
Normal file
32
MediaBrowser.Model/Configuration/MetadataPluginSummary.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class MetadataPluginSummary
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the item.
|
||||
/// </summary>
|
||||
/// <value>The type of the item.</value>
|
||||
public string ItemType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the plugins.
|
||||
/// </summary>
|
||||
/// <value>The plugins.</value>
|
||||
public List<MetadataPlugin> Plugins { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the supported image types.
|
||||
/// </summary>
|
||||
/// <value>The supported image types.</value>
|
||||
public List<ImageType> SupportedImageTypes { get; set; }
|
||||
|
||||
public MetadataPluginSummary()
|
||||
{
|
||||
SupportedImageTypes = new List<ImageType>();
|
||||
Plugins = new List<MetadataPlugin>();
|
||||
}
|
||||
}
|
||||
}
|
||||
15
MediaBrowser.Model/Configuration/MetadataPluginType.cs
Normal file
15
MediaBrowser.Model/Configuration/MetadataPluginType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum MetadataPluginType
|
||||
/// </summary>
|
||||
public enum MetadataPluginType
|
||||
{
|
||||
LocalImageProvider,
|
||||
ImageFetcher,
|
||||
ImageSaver,
|
||||
LocalMetadataProvider,
|
||||
MetadataFetcher,
|
||||
MetadataSaver
|
||||
}
|
||||
}
|
||||
54
MediaBrowser.Model/Configuration/NotificationOption.cs
Normal file
54
MediaBrowser.Model/Configuration/NotificationOption.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class NotificationOption
|
||||
{
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User Ids to not monitor (it's opt out)
|
||||
/// </summary>
|
||||
public string[] DisabledMonitorUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User Ids to send to (if SendToUserMode == Custom)
|
||||
/// </summary>
|
||||
public string[] SendToUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="NotificationOption"/> is enabled.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if enabled; otherwise, <c>false</c>.</value>
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the title format string.
|
||||
/// </summary>
|
||||
/// <value>The title format string.</value>
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the disabled services.
|
||||
/// </summary>
|
||||
/// <value>The disabled services.</value>
|
||||
public string[] DisabledServices { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the send to user mode.
|
||||
/// </summary>
|
||||
/// <value>The send to user mode.</value>
|
||||
public SendToUserType SendToUserMode { get; set; }
|
||||
|
||||
public NotificationOption()
|
||||
{
|
||||
DisabledServices = new string[] { };
|
||||
DisabledMonitorUsers = new string[] { };
|
||||
SendToUsers = new string[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,80 +118,4 @@ namespace MediaBrowser.Model.Configuration
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public class NotificationOption
|
||||
{
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User Ids to not monitor (it's opt out)
|
||||
/// </summary>
|
||||
public string[] DisabledMonitorUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User Ids to send to (if SendToUserMode == Custom)
|
||||
/// </summary>
|
||||
public string[] SendToUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="NotificationOption"/> is enabled.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if enabled; otherwise, <c>false</c>.</value>
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the title format string.
|
||||
/// </summary>
|
||||
/// <value>The title format string.</value>
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the disabled services.
|
||||
/// </summary>
|
||||
/// <value>The disabled services.</value>
|
||||
public string[] DisabledServices { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the send to user mode.
|
||||
/// </summary>
|
||||
/// <value>The send to user mode.</value>
|
||||
public SendToUserType SendToUserMode { get; set; }
|
||||
|
||||
public NotificationOption()
|
||||
{
|
||||
DisabledServices = new string[] { };
|
||||
DisabledMonitorUsers = new string[] { };
|
||||
SendToUsers = new string[] { };
|
||||
}
|
||||
}
|
||||
|
||||
public enum NotificationType
|
||||
{
|
||||
ApplicationUpdateAvailable,
|
||||
ApplicationUpdateInstalled,
|
||||
AudioPlayback,
|
||||
GamePlayback,
|
||||
InstallationFailed,
|
||||
PluginError,
|
||||
PluginInstalled,
|
||||
PluginUpdateInstalled,
|
||||
PluginUninstalled,
|
||||
NewLibraryContent,
|
||||
ServerRestartRequired,
|
||||
TaskFailed,
|
||||
VideoPlayback
|
||||
}
|
||||
|
||||
public enum SendToUserType
|
||||
{
|
||||
All = 0,
|
||||
Admins = 1,
|
||||
Custom = 2
|
||||
}
|
||||
}
|
||||
|
||||
19
MediaBrowser.Model/Configuration/NotificationType.cs
Normal file
19
MediaBrowser.Model/Configuration/NotificationType.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum NotificationType
|
||||
{
|
||||
ApplicationUpdateAvailable,
|
||||
ApplicationUpdateInstalled,
|
||||
AudioPlayback,
|
||||
GamePlayback,
|
||||
InstallationFailed,
|
||||
PluginError,
|
||||
PluginInstalled,
|
||||
PluginUpdateInstalled,
|
||||
PluginUninstalled,
|
||||
NewLibraryContent,
|
||||
ServerRestartRequired,
|
||||
TaskFailed,
|
||||
VideoPlayback
|
||||
}
|
||||
}
|
||||
8
MediaBrowser.Model/Configuration/PathSubstitution.cs
Normal file
8
MediaBrowser.Model/Configuration/PathSubstitution.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class PathSubstitution
|
||||
{
|
||||
public string From { get; set; }
|
||||
public string To { get; set; }
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/Configuration/SendToUserType.cs
Normal file
9
MediaBrowser.Model/Configuration/SendToUserType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum SendToUserType
|
||||
{
|
||||
All = 0,
|
||||
Admins = 1,
|
||||
Custom = 2
|
||||
}
|
||||
}
|
||||
@@ -290,48 +290,4 @@ namespace MediaBrowser.Model.Configuration
|
||||
SubtitleOptions = new SubtitleOptions();
|
||||
}
|
||||
}
|
||||
|
||||
public enum ImageSavingConvention
|
||||
{
|
||||
Legacy,
|
||||
Compatible
|
||||
}
|
||||
|
||||
public enum EncodingQuality
|
||||
{
|
||||
Auto,
|
||||
HighSpeed,
|
||||
HighQuality,
|
||||
MaxQuality
|
||||
}
|
||||
|
||||
public class LiveTvOptions
|
||||
{
|
||||
public int? GuideDays { get; set; }
|
||||
}
|
||||
|
||||
public class PathSubstitution
|
||||
{
|
||||
public string From { get; set; }
|
||||
public string To { get; set; }
|
||||
}
|
||||
|
||||
public class SubtitleOptions
|
||||
{
|
||||
public bool SkipIfGraphicalSubtitlesPresent { get; set; }
|
||||
public bool SkipIfAudioTrackMatches { get; set; }
|
||||
public string[] DownloadLanguages { get; set; }
|
||||
public bool DownloadMovieSubtitles { get; set; }
|
||||
public bool DownloadEpisodeSubtitles { get; set; }
|
||||
|
||||
public string OpenSubtitlesUsername { get; set; }
|
||||
public string OpenSubtitlesPasswordHash { get; set; }
|
||||
|
||||
public SubtitleOptions()
|
||||
{
|
||||
DownloadLanguages = new string[] { };
|
||||
|
||||
SkipIfAudioTrackMatches = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
21
MediaBrowser.Model/Configuration/SubtitleOptions.cs
Normal file
21
MediaBrowser.Model/Configuration/SubtitleOptions.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class SubtitleOptions
|
||||
{
|
||||
public bool SkipIfGraphicalSubtitlesPresent { get; set; }
|
||||
public bool SkipIfAudioTrackMatches { get; set; }
|
||||
public string[] DownloadLanguages { get; set; }
|
||||
public bool DownloadMovieSubtitles { get; set; }
|
||||
public bool DownloadEpisodeSubtitles { get; set; }
|
||||
|
||||
public string OpenSubtitlesUsername { get; set; }
|
||||
public string OpenSubtitlesPasswordHash { get; set; }
|
||||
|
||||
public SubtitleOptions()
|
||||
{
|
||||
DownloadLanguages = new string[] { };
|
||||
|
||||
SkipIfAudioTrackMatches = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
16
MediaBrowser.Model/Configuration/UnratedItem.cs
Normal file
16
MediaBrowser.Model/Configuration/UnratedItem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum UnratedItem
|
||||
{
|
||||
Movie,
|
||||
Trailer,
|
||||
Series,
|
||||
Music,
|
||||
Game,
|
||||
Book,
|
||||
LiveTvChannel,
|
||||
LiveTvProgram,
|
||||
ChannelContent,
|
||||
Other
|
||||
}
|
||||
}
|
||||
@@ -79,18 +79,4 @@ namespace MediaBrowser.Model.Configuration
|
||||
BlockUnratedItems = new UnratedItem[] { };
|
||||
}
|
||||
}
|
||||
|
||||
public enum UnratedItem
|
||||
{
|
||||
Movie,
|
||||
Trailer,
|
||||
Series,
|
||||
Music,
|
||||
Game,
|
||||
Book,
|
||||
LiveTvChannel,
|
||||
LiveTvProgram,
|
||||
ChannelContent,
|
||||
Other
|
||||
}
|
||||
}
|
||||
|
||||
33
MediaBrowser.Model/Dlna/AudioOptions.cs
Normal file
33
MediaBrowser.Model/Dlna/AudioOptions.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
/// <summary>
|
||||
/// Class AudioOptions.
|
||||
/// </summary>
|
||||
public class AudioOptions
|
||||
{
|
||||
public string ItemId { get; set; }
|
||||
public List<MediaSourceInfo> MediaSources { get; set; }
|
||||
public DeviceProfile Profile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Only needed if a specific AudioStreamIndex or SubtitleStreamIndex are requested.
|
||||
/// </summary>
|
||||
public string MediaSourceId { get; set; }
|
||||
|
||||
public string DeviceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Allows an override of supported number of audio channels
|
||||
/// Example: DeviceProfile supports five channel, but user only has stereo speakers
|
||||
/// </summary>
|
||||
public int? MaxAudioChannels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The application's configured quality setting
|
||||
/// </summary>
|
||||
public int? MaxBitrate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -32,56 +32,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
return codecs.Count == 0 || codecs.Contains(codec, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
}
|
||||
|
||||
public enum CodecType
|
||||
{
|
||||
Video = 0,
|
||||
VideoAudio = 1,
|
||||
Audio = 2
|
||||
}
|
||||
|
||||
public class ProfileCondition
|
||||
{
|
||||
[XmlAttribute("condition")]
|
||||
public ProfileConditionType Condition { get; set; }
|
||||
|
||||
[XmlAttribute("property")]
|
||||
public ProfileConditionValue Property { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute("isRequired")]
|
||||
public bool IsRequired { get; set; }
|
||||
|
||||
public ProfileCondition()
|
||||
{
|
||||
IsRequired = true;
|
||||
}
|
||||
}
|
||||
|
||||
public enum ProfileConditionType
|
||||
{
|
||||
Equals = 0,
|
||||
NotEquals = 1,
|
||||
LessThanEqual = 2,
|
||||
GreaterThanEqual = 3
|
||||
}
|
||||
|
||||
public enum ProfileConditionValue
|
||||
{
|
||||
AudioChannels,
|
||||
AudioBitrate,
|
||||
AudioProfile,
|
||||
Width,
|
||||
Height,
|
||||
Has64BitOffsets,
|
||||
PacketLength,
|
||||
VideoBitDepth,
|
||||
VideoBitrate,
|
||||
VideoFramerate,
|
||||
VideoLevel,
|
||||
VideoProfile,
|
||||
VideoTimestamp
|
||||
}
|
||||
}
|
||||
|
||||
9
MediaBrowser.Model/Dlna/CodecType.cs
Normal file
9
MediaBrowser.Model/Dlna/CodecType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum CodecType
|
||||
{
|
||||
Video = 0,
|
||||
VideoAudio = 1,
|
||||
Audio = 2
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class DeviceIdentification
|
||||
{
|
||||
@@ -60,23 +58,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
Headers = new HttpHeaderInfo[] {};
|
||||
}
|
||||
}
|
||||
|
||||
public class HttpHeaderInfo
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute("match")]
|
||||
public HeaderMatchType Match { get; set; }
|
||||
}
|
||||
|
||||
public enum HeaderMatchType
|
||||
{
|
||||
Equals = 0,
|
||||
Regex = 1,
|
||||
Substring = 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,10 +21,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
/// <value>The type.</value>
|
||||
public DeviceProfileType Type { get; set; }
|
||||
}
|
||||
|
||||
public enum DeviceProfileType
|
||||
{
|
||||
System = 0,
|
||||
User = 1
|
||||
}
|
||||
}
|
||||
|
||||
8
MediaBrowser.Model/Dlna/DeviceProfileType.cs
Normal file
8
MediaBrowser.Model/Dlna/DeviceProfileType.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum DeviceProfileType
|
||||
{
|
||||
System = 0,
|
||||
User = 1
|
||||
}
|
||||
}
|
||||
@@ -33,20 +33,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
return (VideoCodec ?? string.Empty).Split(',').Where(i => !string.IsNullOrEmpty(i)).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public class XmlAttribute
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public enum DlnaProfileType
|
||||
{
|
||||
Audio = 0,
|
||||
Video = 1,
|
||||
Photo = 2
|
||||
}
|
||||
}
|
||||
|
||||
21
MediaBrowser.Model/Dlna/DlnaFlags.cs
Normal file
21
MediaBrowser.Model/Dlna/DlnaFlags.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
[Flags]
|
||||
public enum DlnaFlags : ulong
|
||||
{
|
||||
BackgroundTransferMode = (1 << 22),
|
||||
ByteBasedSeek = (1 << 29),
|
||||
ConnectionStall = (1 << 21),
|
||||
DlnaV15 = (1 << 20),
|
||||
InteractiveTransferMode = (1 << 23),
|
||||
PlayContainer = (1 << 28),
|
||||
RtspPause = (1 << 25),
|
||||
S0Increase = (1 << 27),
|
||||
SenderPaced = (1L << 31),
|
||||
SnIncrease = (1 << 26),
|
||||
StreamingTransferMode = (1 << 24),
|
||||
TimeBasedSeek = (1 << 30)
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class DlnaMaps
|
||||
{
|
||||
@@ -55,21 +53,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
return orgOp;
|
||||
}
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum DlnaFlags : ulong
|
||||
{
|
||||
BackgroundTransferMode = (1 << 22),
|
||||
ByteBasedSeek = (1 << 29),
|
||||
ConnectionStall = (1 << 21),
|
||||
DlnaV15 = (1 << 20),
|
||||
InteractiveTransferMode = (1 << 23),
|
||||
PlayContainer = (1 << 28),
|
||||
RtspPause = (1 << 25),
|
||||
S0Increase = (1 << 27),
|
||||
SenderPaced = (1L << 31),
|
||||
SnIncrease = (1 << 26),
|
||||
StreamingTransferMode = (1 << 24),
|
||||
TimeBasedSeek = (1 << 30)
|
||||
}
|
||||
}
|
||||
|
||||
9
MediaBrowser.Model/Dlna/DlnaProfileType.cs
Normal file
9
MediaBrowser.Model/Dlna/DlnaProfileType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum DlnaProfileType
|
||||
{
|
||||
Audio = 0,
|
||||
Video = 1,
|
||||
Photo = 2
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/Dlna/HeaderMatchType.cs
Normal file
9
MediaBrowser.Model/Dlna/HeaderMatchType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum HeaderMatchType
|
||||
{
|
||||
Equals = 0,
|
||||
Regex = 1,
|
||||
Substring = 2
|
||||
}
|
||||
}
|
||||
16
MediaBrowser.Model/Dlna/HttpHeaderInfo.cs
Normal file
16
MediaBrowser.Model/Dlna/HttpHeaderInfo.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class HttpHeaderInfo
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute("match")]
|
||||
public HeaderMatchType Match { get; set; }
|
||||
}
|
||||
}
|
||||
24
MediaBrowser.Model/Dlna/ProfileCondition.cs
Normal file
24
MediaBrowser.Model/Dlna/ProfileCondition.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class ProfileCondition
|
||||
{
|
||||
[XmlAttribute("condition")]
|
||||
public ProfileConditionType Condition { get; set; }
|
||||
|
||||
[XmlAttribute("property")]
|
||||
public ProfileConditionValue Property { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[XmlAttribute("isRequired")]
|
||||
public bool IsRequired { get; set; }
|
||||
|
||||
public ProfileCondition()
|
||||
{
|
||||
IsRequired = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
10
MediaBrowser.Model/Dlna/ProfileConditionType.cs
Normal file
10
MediaBrowser.Model/Dlna/ProfileConditionType.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum ProfileConditionType
|
||||
{
|
||||
Equals = 0,
|
||||
NotEquals = 1,
|
||||
LessThanEqual = 2,
|
||||
GreaterThanEqual = 3
|
||||
}
|
||||
}
|
||||
19
MediaBrowser.Model/Dlna/ProfileConditionValue.cs
Normal file
19
MediaBrowser.Model/Dlna/ProfileConditionValue.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum ProfileConditionValue
|
||||
{
|
||||
AudioChannels,
|
||||
AudioBitrate,
|
||||
AudioProfile,
|
||||
Width,
|
||||
Height,
|
||||
Has64BitOffsets,
|
||||
PacketLength,
|
||||
VideoBitDepth,
|
||||
VideoBitrate,
|
||||
VideoFramerate,
|
||||
VideoLevel,
|
||||
VideoProfile,
|
||||
VideoTimestamp
|
||||
}
|
||||
}
|
||||
@@ -37,13 +37,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum SearchType
|
||||
{
|
||||
Unknown = 0,
|
||||
Audio = 1,
|
||||
Image = 2,
|
||||
Video = 3,
|
||||
Playlist = 4
|
||||
}
|
||||
}
|
||||
|
||||
11
MediaBrowser.Model/Dlna/SearchType.cs
Normal file
11
MediaBrowser.Model/Dlna/SearchType.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum SearchType
|
||||
{
|
||||
Unknown = 0,
|
||||
Audio = 1,
|
||||
Image = 2,
|
||||
Video = 3,
|
||||
Playlist = 4
|
||||
}
|
||||
}
|
||||
@@ -403,47 +403,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class AudioOptions.
|
||||
/// </summary>
|
||||
public class AudioOptions
|
||||
{
|
||||
public string ItemId { get; set; }
|
||||
public List<MediaSourceInfo> MediaSources { get; set; }
|
||||
public DeviceProfile Profile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Only needed if a specific AudioStreamIndex or SubtitleStreamIndex are requested.
|
||||
/// </summary>
|
||||
public string MediaSourceId { get; set; }
|
||||
|
||||
public string DeviceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Allows an override of supported number of audio channels
|
||||
/// Example: DeviceProfile supports five channel, but user only has stereo speakers
|
||||
/// </summary>
|
||||
public int? MaxAudioChannels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The application's configured quality setting
|
||||
/// </summary>
|
||||
public int? MaxBitrate { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class VideoOptions.
|
||||
/// </summary>
|
||||
public class VideoOptions : AudioOptions
|
||||
{
|
||||
public int? AudioStreamIndex { get; set; }
|
||||
public int? SubtitleStreamIndex { get; set; }
|
||||
public int? MaxAudioTranscodingBitrate { get; set; }
|
||||
|
||||
public VideoOptions()
|
||||
{
|
||||
MaxAudioTranscodingBitrate = 128000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
8
MediaBrowser.Model/Dlna/TranscodeSeekInfo.cs
Normal file
8
MediaBrowser.Model/Dlna/TranscodeSeekInfo.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public enum TranscodeSeekInfo
|
||||
{
|
||||
Auto = 0,
|
||||
Bytes = 1
|
||||
}
|
||||
}
|
||||
@@ -38,10 +38,4 @@ namespace MediaBrowser.Model.Dlna
|
||||
return (AudioCodec ?? string.Empty).Split(',').Where(i => !string.IsNullOrEmpty(i)).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public enum TranscodeSeekInfo
|
||||
{
|
||||
Auto = 0,
|
||||
Bytes = 1
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Dlna/VideoOptions.cs
Normal file
17
MediaBrowser.Model/Dlna/VideoOptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
/// <summary>
|
||||
/// Class VideoOptions.
|
||||
/// </summary>
|
||||
public class VideoOptions : AudioOptions
|
||||
{
|
||||
public int? AudioStreamIndex { get; set; }
|
||||
public int? SubtitleStreamIndex { get; set; }
|
||||
public int? MaxAudioTranscodingBitrate { get; set; }
|
||||
|
||||
public VideoOptions()
|
||||
{
|
||||
MaxAudioTranscodingBitrate = 128000;
|
||||
}
|
||||
}
|
||||
}
|
||||
13
MediaBrowser.Model/Dlna/XmlAttribute.cs
Normal file
13
MediaBrowser.Model/Dlna/XmlAttribute.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class XmlAttribute
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace MediaBrowser.Model.Drawing
|
||||
namespace MediaBrowser.Model.Drawing
|
||||
{
|
||||
/// <summary>
|
||||
/// Class DrawingUtils
|
||||
@@ -145,83 +143,4 @@ namespace MediaBrowser.Model.Drawing
|
||||
return scaleFactor;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Struct ImageSize
|
||||
/// </summary>
|
||||
public struct ImageSize
|
||||
{
|
||||
private static readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||
|
||||
private double _height;
|
||||
private double _width;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the height.
|
||||
/// </summary>
|
||||
/// <value>The height.</value>
|
||||
public double Height
|
||||
{
|
||||
get
|
||||
{
|
||||
return _height;
|
||||
}
|
||||
set
|
||||
{
|
||||
_height = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width.
|
||||
/// </summary>
|
||||
/// <value>The width.</value>
|
||||
public double Width
|
||||
{
|
||||
get { return _width; }
|
||||
set { _width = value; }
|
||||
}
|
||||
|
||||
public bool Equals(ImageSize size)
|
||||
{
|
||||
return Width.Equals(size.Width) && Height.Equals(size.Height);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0}-{1}", Width, Height);
|
||||
}
|
||||
|
||||
public ImageSize(string value)
|
||||
{
|
||||
_width = 0;
|
||||
|
||||
_height = 0;
|
||||
|
||||
ParseValue(value);
|
||||
}
|
||||
|
||||
private void ParseValue(string value)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(value))
|
||||
{
|
||||
string[] parts = value.Split('-');
|
||||
|
||||
if (parts.Length == 2)
|
||||
{
|
||||
double val;
|
||||
|
||||
if (double.TryParse(parts[0], NumberStyles.Any, UsCulture, out val))
|
||||
{
|
||||
_width = val;
|
||||
}
|
||||
|
||||
if (double.TryParse(parts[1], NumberStyles.Any, UsCulture, out val))
|
||||
{
|
||||
_height = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
83
MediaBrowser.Model/Drawing/ImageSize.cs
Normal file
83
MediaBrowser.Model/Drawing/ImageSize.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace MediaBrowser.Model.Drawing
|
||||
{
|
||||
/// <summary>
|
||||
/// Struct ImageSize
|
||||
/// </summary>
|
||||
public struct ImageSize
|
||||
{
|
||||
private static readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||
|
||||
private double _height;
|
||||
private double _width;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the height.
|
||||
/// </summary>
|
||||
/// <value>The height.</value>
|
||||
public double Height
|
||||
{
|
||||
get
|
||||
{
|
||||
return _height;
|
||||
}
|
||||
set
|
||||
{
|
||||
_height = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width.
|
||||
/// </summary>
|
||||
/// <value>The width.</value>
|
||||
public double Width
|
||||
{
|
||||
get { return _width; }
|
||||
set { _width = value; }
|
||||
}
|
||||
|
||||
public bool Equals(ImageSize size)
|
||||
{
|
||||
return Width.Equals(size.Width) && Height.Equals(size.Height);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0}-{1}", Width, Height);
|
||||
}
|
||||
|
||||
public ImageSize(string value)
|
||||
{
|
||||
_width = 0;
|
||||
|
||||
_height = 0;
|
||||
|
||||
ParseValue(value);
|
||||
}
|
||||
|
||||
private void ParseValue(string value)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(value))
|
||||
{
|
||||
string[] parts = value.Split('-');
|
||||
|
||||
if (parts.Length == 2)
|
||||
{
|
||||
double val;
|
||||
|
||||
if (double.TryParse(parts[0], NumberStyles.Any, UsCulture, out val))
|
||||
{
|
||||
_width = val;
|
||||
}
|
||||
|
||||
if (double.TryParse(parts[1], NumberStyles.Any, UsCulture, out val))
|
||||
{
|
||||
_height = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,10 +18,4 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The original primary image aspect ratio.</value>
|
||||
double? OriginalPrimaryImageAspectRatio { get; set; }
|
||||
}
|
||||
|
||||
public enum RatingType
|
||||
{
|
||||
Score,
|
||||
Likes
|
||||
}
|
||||
}
|
||||
|
||||
8
MediaBrowser.Model/Dto/RatingType.cs
Normal file
8
MediaBrowser.Model/Dto/RatingType.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public enum RatingType
|
||||
{
|
||||
Score,
|
||||
Likes
|
||||
}
|
||||
}
|
||||
@@ -11,19 +11,4 @@ namespace MediaBrowser.Model.Dto
|
||||
|
||||
public string CategoryId { get; set; }
|
||||
}
|
||||
|
||||
public enum RecommendationType
|
||||
{
|
||||
SimilarToRecentlyPlayed = 0,
|
||||
|
||||
SimilarToLikedItem = 1,
|
||||
|
||||
HasDirectorFromRecentlyPlayed = 2,
|
||||
|
||||
HasActorFromRecentlyPlayed = 3,
|
||||
|
||||
HasLikedDirector = 4,
|
||||
|
||||
HasLikedActor = 5
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Dto/RecommendationType.cs
Normal file
17
MediaBrowser.Model/Dto/RecommendationType.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public enum RecommendationType
|
||||
{
|
||||
SimilarToRecentlyPlayed = 0,
|
||||
|
||||
SimilarToLikedItem = 1,
|
||||
|
||||
HasDirectorFromRecentlyPlayed = 2,
|
||||
|
||||
HasActorFromRecentlyPlayed = 3,
|
||||
|
||||
HasLikedDirector = 4,
|
||||
|
||||
HasLikedActor = 5
|
||||
}
|
||||
}
|
||||
@@ -1,102 +1,5 @@
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class VideoStreamOptions
|
||||
/// </summary>
|
||||
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; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class StreamOptions
|
||||
/// </summary>
|
||||
@@ -158,19 +61,4 @@
|
||||
/// <value>The device id.</value>
|
||||
public string DeviceId { get; set; }
|
||||
}
|
||||
|
||||
public class SubtitleDownloadOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
/// <value>The item identifier.</value>
|
||||
public string ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index of the stream.
|
||||
/// </summary>
|
||||
/// <value>The index of the stream.</value>
|
||||
public int StreamIndex { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Dto/SubtitleDownloadOptions.cs
Normal file
17
MediaBrowser.Model/Dto/SubtitleDownloadOptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public class SubtitleDownloadOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
/// <value>The item identifier.</value>
|
||||
public string ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index of the stream.
|
||||
/// </summary>
|
||||
/// <value>The index of the stream.</value>
|
||||
public int StreamIndex { get; set; }
|
||||
}
|
||||
}
|
||||
99
MediaBrowser.Model/Dto/VideoStreamOptions.cs
Normal file
99
MediaBrowser.Model/Dto/VideoStreamOptions.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class VideoStreamOptions
|
||||
/// </summary>
|
||||
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; }
|
||||
}
|
||||
}
|
||||
@@ -122,34 +122,4 @@ namespace MediaBrowser.Model.Entities
|
||||
PrimaryImageHeight = Convert.ToInt32(size.Height);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum ScrollDirection
|
||||
/// </summary>
|
||||
public enum ScrollDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// The horizontal
|
||||
/// </summary>
|
||||
Horizontal,
|
||||
/// <summary>
|
||||
/// The vertical
|
||||
/// </summary>
|
||||
Vertical
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum SortOrder
|
||||
/// </summary>
|
||||
public enum SortOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// The ascending
|
||||
/// </summary>
|
||||
Ascending,
|
||||
/// <summary>
|
||||
/// The descending
|
||||
/// </summary>
|
||||
Descending
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
@@ -14,102 +13,4 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <value>The provider ids.</value>
|
||||
Dictionary<string, string> ProviderIds { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Class ProviderIdsExtensions
|
||||
/// </summary>
|
||||
public static class ProviderIdsExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Determines whether [has provider identifier] [the specified instance].
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <returns><c>true</c> if [has provider identifier] [the specified instance]; otherwise, <c>false</c>.</returns>
|
||||
public static bool HasProviderId(this IHasProviderIds instance, MetadataProviders provider)
|
||||
{
|
||||
return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetProviderId(this IHasProviderIds instance, MetadataProviders provider)
|
||||
{
|
||||
return instance.GetProviderId(provider.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="name">The name.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetProviderId(this IHasProviderIds instance, string name)
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
throw new ArgumentNullException("instance");
|
||||
}
|
||||
|
||||
if (instance.ProviderIds == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
string id;
|
||||
instance.ProviderIds.TryGetValue(name, out id);
|
||||
return id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="name">The name.</param>
|
||||
/// <param name="value">The value.</param>
|
||||
public static void SetProviderId(this IHasProviderIds instance, string name, string value)
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
throw new ArgumentNullException("instance");
|
||||
}
|
||||
|
||||
// If it's null remove the key from the dictionary
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
if (instance.ProviderIds != null)
|
||||
{
|
||||
if (instance.ProviderIds.ContainsKey(name))
|
||||
{
|
||||
instance.ProviderIds.Remove(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Ensure it exists
|
||||
if (instance.ProviderIds == null)
|
||||
{
|
||||
instance.ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
instance.ProviderIds[name] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <param name="value">The value.</param>
|
||||
public static void SetProviderId(this IHasProviderIds instance, MetadataProviders provider, string value)
|
||||
{
|
||||
instance.SetProviderId(provider.ToString(), value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Entities/IsoType.cs
Normal file
17
MediaBrowser.Model/Entities/IsoType.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum IsoType
|
||||
/// </summary>
|
||||
public enum IsoType
|
||||
{
|
||||
/// <summary>
|
||||
/// The DVD
|
||||
/// </summary>
|
||||
Dvd,
|
||||
/// <summary>
|
||||
/// The blu ray
|
||||
/// </summary>
|
||||
BluRay
|
||||
}
|
||||
}
|
||||
26
MediaBrowser.Model/Entities/MediaInfo.cs
Normal file
26
MediaBrowser.Model/Entities/MediaInfo.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public class MediaInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the media streams.
|
||||
/// </summary>
|
||||
/// <value>The media streams.</value>
|
||||
public List<MediaStream> MediaStreams { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the format.
|
||||
/// </summary>
|
||||
/// <value>The format.</value>
|
||||
public string Format { get; set; }
|
||||
|
||||
public int? TotalBitrate { get; set; }
|
||||
|
||||
public MediaInfo()
|
||||
{
|
||||
MediaStreams = new List<MediaStream>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
@@ -147,49 +146,4 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <value>The level.</value>
|
||||
public double? Level { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum MediaStreamType
|
||||
/// </summary>
|
||||
public enum MediaStreamType
|
||||
{
|
||||
/// <summary>
|
||||
/// The audio
|
||||
/// </summary>
|
||||
Audio,
|
||||
/// <summary>
|
||||
/// The video
|
||||
/// </summary>
|
||||
Video,
|
||||
/// <summary>
|
||||
/// The subtitle
|
||||
/// </summary>
|
||||
Subtitle,
|
||||
/// <summary>
|
||||
/// The embedded image
|
||||
/// </summary>
|
||||
EmbeddedImage
|
||||
}
|
||||
|
||||
public class MediaInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the media streams.
|
||||
/// </summary>
|
||||
/// <value>The media streams.</value>
|
||||
public List<MediaStream> MediaStreams { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the format.
|
||||
/// </summary>
|
||||
/// <value>The format.</value>
|
||||
public string Format { get; set; }
|
||||
|
||||
public int? TotalBitrate { get; set; }
|
||||
|
||||
public MediaInfo()
|
||||
{
|
||||
MediaStreams = new List<MediaStream>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
25
MediaBrowser.Model/Entities/MediaStreamType.cs
Normal file
25
MediaBrowser.Model/Entities/MediaStreamType.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum MediaStreamType
|
||||
/// </summary>
|
||||
public enum MediaStreamType
|
||||
{
|
||||
/// <summary>
|
||||
/// The audio
|
||||
/// </summary>
|
||||
Audio,
|
||||
/// <summary>
|
||||
/// The video
|
||||
/// </summary>
|
||||
Video,
|
||||
/// <summary>
|
||||
/// The subtitle
|
||||
/// </summary>
|
||||
Subtitle,
|
||||
/// <summary>
|
||||
/// The embedded image
|
||||
/// </summary>
|
||||
EmbeddedImage
|
||||
}
|
||||
}
|
||||
@@ -8,10 +8,4 @@ namespace MediaBrowser.Model.Entities
|
||||
public VideoSize? VideoSize { get; set; }
|
||||
public bool IsDirectLink { get; set; }
|
||||
}
|
||||
|
||||
public enum VideoSize
|
||||
{
|
||||
StandardDefinition,
|
||||
HighDefinition
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
|
||||
103
MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
Normal file
103
MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ProviderIdsExtensions
|
||||
/// </summary>
|
||||
public static class ProviderIdsExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Determines whether [has provider identifier] [the specified instance].
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <returns><c>true</c> if [has provider identifier] [the specified instance]; otherwise, <c>false</c>.</returns>
|
||||
public static bool HasProviderId(this IHasProviderIds instance, MetadataProviders provider)
|
||||
{
|
||||
return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetProviderId(this IHasProviderIds instance, MetadataProviders provider)
|
||||
{
|
||||
return instance.GetProviderId(provider.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="name">The name.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetProviderId(this IHasProviderIds instance, string name)
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
throw new ArgumentNullException("instance");
|
||||
}
|
||||
|
||||
if (instance.ProviderIds == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
string id;
|
||||
instance.ProviderIds.TryGetValue(name, out id);
|
||||
return id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="name">The name.</param>
|
||||
/// <param name="value">The value.</param>
|
||||
public static void SetProviderId(this IHasProviderIds instance, string name, string value)
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
throw new ArgumentNullException("instance");
|
||||
}
|
||||
|
||||
// If it's null remove the key from the dictionary
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
if (instance.ProviderIds != null)
|
||||
{
|
||||
if (instance.ProviderIds.ContainsKey(name))
|
||||
{
|
||||
instance.ProviderIds.Remove(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Ensure it exists
|
||||
if (instance.ProviderIds == null)
|
||||
{
|
||||
instance.ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
instance.ProviderIds[name] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets a provider id
|
||||
/// </summary>
|
||||
/// <param name="instance">The instance.</param>
|
||||
/// <param name="provider">The provider.</param>
|
||||
/// <param name="value">The value.</param>
|
||||
public static void SetProviderId(this IHasProviderIds instance, MetadataProviders provider, string value)
|
||||
{
|
||||
instance.SetProviderId(provider.ToString(), value);
|
||||
}
|
||||
}
|
||||
}
|
||||
17
MediaBrowser.Model/Entities/ScrollDirection.cs
Normal file
17
MediaBrowser.Model/Entities/ScrollDirection.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ScrollDirection
|
||||
/// </summary>
|
||||
public enum ScrollDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// The horizontal
|
||||
/// </summary>
|
||||
Horizontal,
|
||||
/// <summary>
|
||||
/// The vertical
|
||||
/// </summary>
|
||||
Vertical
|
||||
}
|
||||
}
|
||||
17
MediaBrowser.Model/Entities/SortOrder.cs
Normal file
17
MediaBrowser.Model/Entities/SortOrder.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum SortOrder
|
||||
/// </summary>
|
||||
public enum SortOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// The ascending
|
||||
/// </summary>
|
||||
Ascending,
|
||||
/// <summary>
|
||||
/// The descending
|
||||
/// </summary>
|
||||
Descending
|
||||
}
|
||||
}
|
||||
8
MediaBrowser.Model/Entities/VideoSize.cs
Normal file
8
MediaBrowser.Model/Entities/VideoSize.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public enum VideoSize
|
||||
{
|
||||
StandardDefinition,
|
||||
HighDefinition
|
||||
}
|
||||
}
|
||||
@@ -27,19 +27,4 @@ namespace MediaBrowser.Model.Entities
|
||||
/// </summary>
|
||||
HdDvd
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum IsoType
|
||||
/// </summary>
|
||||
public enum IsoType
|
||||
{
|
||||
/// <summary>
|
||||
/// The DVD
|
||||
/// </summary>
|
||||
Dvd,
|
||||
/// <summary>
|
||||
/// The blu ray
|
||||
/// </summary>
|
||||
BluRay
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
public class EpisodeFileOrganizationRequest
|
||||
{
|
||||
public string ResultId { get; set; }
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
|
||||
public int SeasonNumber { get; set; }
|
||||
|
||||
public int EpisodeNumber { get; set; }
|
||||
|
||||
public int? EndingEpisodeNumber { get; set; }
|
||||
|
||||
public bool RememberCorrection { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -100,18 +100,4 @@ namespace MediaBrowser.Model.FileOrganization
|
||||
DuplicatePaths = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
public enum FileSortingStatus
|
||||
{
|
||||
Success,
|
||||
Failure,
|
||||
SkippedExisting
|
||||
}
|
||||
|
||||
public enum FileOrganizerType
|
||||
{
|
||||
Movie,
|
||||
Episode,
|
||||
Song
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,19 +15,4 @@ namespace MediaBrowser.Model.FileOrganization
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
|
||||
public class EpisodeFileOrganizationRequest
|
||||
{
|
||||
public string ResultId { get; set; }
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
|
||||
public int SeasonNumber { get; set; }
|
||||
|
||||
public int EpisodeNumber { get; set; }
|
||||
|
||||
public int? EndingEpisodeNumber { get; set; }
|
||||
|
||||
public bool RememberCorrection { get; set; }
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/FileOrganization/FileOrganizerType.cs
Normal file
9
MediaBrowser.Model/FileOrganization/FileOrganizerType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
public enum FileOrganizerType
|
||||
{
|
||||
Movie,
|
||||
Episode,
|
||||
Song
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/FileOrganization/FileSortingStatus.cs
Normal file
9
MediaBrowser.Model/FileOrganization/FileSortingStatus.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
public enum FileSortingStatus
|
||||
{
|
||||
Success,
|
||||
Failure,
|
||||
SkippedExisting
|
||||
}
|
||||
}
|
||||
@@ -30,10 +30,4 @@ namespace MediaBrowser.Model.Globalization
|
||||
/// <value>The name of the three letter ISO region.</value>
|
||||
public string ThreeLetterISORegionName { get; set; }
|
||||
}
|
||||
|
||||
public class LocalizatonOption
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
8
MediaBrowser.Model/Globalization/LocalizatonOption.cs
Normal file
8
MediaBrowser.Model/Globalization/LocalizatonOption.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.Globalization
|
||||
{
|
||||
public class LocalizatonOption
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -24,27 +24,4 @@ namespace MediaBrowser.Model.IO
|
||||
/// <value>The type.</value>
|
||||
public FileSystemEntryType Type { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum FileSystemEntryType
|
||||
/// </summary>
|
||||
public enum FileSystemEntryType
|
||||
{
|
||||
/// <summary>
|
||||
/// The file
|
||||
/// </summary>
|
||||
File,
|
||||
/// <summary>
|
||||
/// The directory
|
||||
/// </summary>
|
||||
Directory,
|
||||
/// <summary>
|
||||
/// The network computer
|
||||
/// </summary>
|
||||
NetworkComputer,
|
||||
/// <summary>
|
||||
/// The network share
|
||||
/// </summary>
|
||||
NetworkShare
|
||||
}
|
||||
}
|
||||
|
||||
25
MediaBrowser.Model/IO/FileSystemEntryType.cs
Normal file
25
MediaBrowser.Model/IO/FileSystemEntryType.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace MediaBrowser.Model.IO
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum FileSystemEntryType
|
||||
/// </summary>
|
||||
public enum FileSystemEntryType
|
||||
{
|
||||
/// <summary>
|
||||
/// The file
|
||||
/// </summary>
|
||||
File,
|
||||
/// <summary>
|
||||
/// The directory
|
||||
/// </summary>
|
||||
Directory,
|
||||
/// <summary>
|
||||
/// The network computer
|
||||
/// </summary>
|
||||
NetworkComputer,
|
||||
/// <summary>
|
||||
/// The network share
|
||||
/// </summary>
|
||||
NetworkShare
|
||||
}
|
||||
}
|
||||
108
MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs
Normal file
108
MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class BaseTimerInfoDto : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when a property value changes.
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Id of the recording.
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external identifier.
|
||||
/// </summary>
|
||||
/// <value>The external identifier.</value>
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChannelId of the recording.
|
||||
/// </summary>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The external channel identifier.</value>
|
||||
public string ExternalChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChannelName of the recording.
|
||||
/// </summary>
|
||||
public string ChannelName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the program identifier.
|
||||
/// </summary>
|
||||
/// <value>The program identifier.</value>
|
||||
public string ProgramId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external program identifier.
|
||||
/// </summary>
|
||||
/// <value>The external program identifier.</value>
|
||||
public string ExternalProgramId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the recording.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description of the recording.
|
||||
/// </summary>
|
||||
public string Overview { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The start date of the recording, in UTC.
|
||||
/// </summary>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The end date of the recording, in UTC.
|
||||
/// </summary>
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the service.
|
||||
/// </summary>
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the priority.
|
||||
/// </summary>
|
||||
/// <value>The priority.</value>
|
||||
public int Priority { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the pre padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The pre padding seconds.</value>
|
||||
public int PrePaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the post padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The post padding seconds.</value>
|
||||
public int PostPaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is pre padding required.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPrePaddingRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is post padding required.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPostPaddingRequired { get; set; }
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/LiveTv/DayPattern.cs
Normal file
9
MediaBrowser.Model/LiveTv/DayPattern.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public enum DayPattern
|
||||
{
|
||||
Daily,
|
||||
Weekdays,
|
||||
Weekends
|
||||
}
|
||||
}
|
||||
19
MediaBrowser.Model/LiveTv/GuideInfo.cs
Normal file
19
MediaBrowser.Model/LiveTv/GuideInfo.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class GuideInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the start date.
|
||||
/// </summary>
|
||||
/// <value>The start date.</value>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the end date.
|
||||
/// </summary>
|
||||
/// <value>The end date.</value>
|
||||
public DateTime EndDate { get; set; }
|
||||
}
|
||||
}
|
||||
49
MediaBrowser.Model/LiveTv/LiveTvInfo.cs
Normal file
49
MediaBrowser.Model/LiveTv/LiveTvInfo.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class LiveTvInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the services.
|
||||
/// </summary>
|
||||
/// <value>The services.</value>
|
||||
public List<LiveTvServiceInfo> Services { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the active service.
|
||||
/// </summary>
|
||||
/// <value>The name of the active service.</value>
|
||||
public string ActiveServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is enabled.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the enabled users.
|
||||
/// </summary>
|
||||
/// <value>The enabled users.</value>
|
||||
public List<string> EnabledUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
/// <value>The status.</value>
|
||||
public LiveTvServiceStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status message.
|
||||
/// </summary>
|
||||
/// <value>The status message.</value>
|
||||
public string StatusMessage { get; set; }
|
||||
|
||||
public LiveTvInfo()
|
||||
{
|
||||
Services = new List<LiveTvServiceInfo>();
|
||||
EnabledUsers = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
@@ -51,140 +50,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
Tuners = new List<LiveTvTunerInfoDto>();
|
||||
}
|
||||
}
|
||||
|
||||
public class GuideInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the start date.
|
||||
/// </summary>
|
||||
/// <value>The start date.</value>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the end date.
|
||||
/// </summary>
|
||||
/// <value>The end date.</value>
|
||||
public DateTime EndDate { get; set; }
|
||||
}
|
||||
|
||||
public class LiveTvInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the services.
|
||||
/// </summary>
|
||||
/// <value>The services.</value>
|
||||
public List<LiveTvServiceInfo> Services { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the active service.
|
||||
/// </summary>
|
||||
/// <value>The name of the active service.</value>
|
||||
public string ActiveServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is enabled.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the enabled users.
|
||||
/// </summary>
|
||||
/// <value>The enabled users.</value>
|
||||
public List<string> EnabledUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
/// <value>The status.</value>
|
||||
public LiveTvServiceStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status message.
|
||||
/// </summary>
|
||||
/// <value>The status message.</value>
|
||||
public string StatusMessage { get; set; }
|
||||
|
||||
public LiveTvInfo()
|
||||
{
|
||||
Services = new List<LiveTvServiceInfo>();
|
||||
EnabledUsers = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
public class LiveTvTunerInfoDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the source.
|
||||
/// </summary>
|
||||
/// <value>The type of the source.</value>
|
||||
public string SourceType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
/// <value>The status.</value>
|
||||
public LiveTvTunerStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the channel.
|
||||
/// </summary>
|
||||
/// <value>The name of the channel.</value>
|
||||
public string ChannelName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the recording identifier.
|
||||
/// </summary>
|
||||
/// <value>The recording identifier.</value>
|
||||
public string RecordingId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the program.
|
||||
/// </summary>
|
||||
/// <value>The name of the program.</value>
|
||||
public string ProgramName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the clients.
|
||||
/// </summary>
|
||||
/// <value>The clients.</value>
|
||||
public List<string> Clients { get; set; }
|
||||
|
||||
public LiveTvTunerInfoDto()
|
||||
{
|
||||
Clients = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
public enum LiveTvServiceStatus
|
||||
{
|
||||
Ok = 0,
|
||||
Unavailable = 1
|
||||
}
|
||||
|
||||
public enum LiveTvTunerStatus
|
||||
{
|
||||
Available = 0,
|
||||
Disabled = 1,
|
||||
RecordingTv = 2,
|
||||
LiveTv = 3
|
||||
}
|
||||
}
|
||||
|
||||
8
MediaBrowser.Model/LiveTv/LiveTvServiceStatus.cs
Normal file
8
MediaBrowser.Model/LiveTv/LiveTvServiceStatus.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public enum LiveTvServiceStatus
|
||||
{
|
||||
Ok = 0,
|
||||
Unavailable = 1
|
||||
}
|
||||
}
|
||||
66
MediaBrowser.Model/LiveTv/LiveTvTunerInfoDto.cs
Normal file
66
MediaBrowser.Model/LiveTv/LiveTvTunerInfoDto.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class LiveTvTunerInfoDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the source.
|
||||
/// </summary>
|
||||
/// <value>The type of the source.</value>
|
||||
public string SourceType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
/// <value>The status.</value>
|
||||
public LiveTvTunerStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the channel.
|
||||
/// </summary>
|
||||
/// <value>The name of the channel.</value>
|
||||
public string ChannelName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the recording identifier.
|
||||
/// </summary>
|
||||
/// <value>The recording identifier.</value>
|
||||
public string RecordingId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the program.
|
||||
/// </summary>
|
||||
/// <value>The name of the program.</value>
|
||||
public string ProgramName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the clients.
|
||||
/// </summary>
|
||||
/// <value>The clients.</value>
|
||||
public List<string> Clients { get; set; }
|
||||
|
||||
public LiveTvTunerInfoDto()
|
||||
{
|
||||
Clients = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
10
MediaBrowser.Model/LiveTv/LiveTvTunerStatus.cs
Normal file
10
MediaBrowser.Model/LiveTv/LiveTvTunerStatus.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public enum LiveTvTunerStatus
|
||||
{
|
||||
Available = 0,
|
||||
Disabled = 1,
|
||||
RecordingTv = 2,
|
||||
LiveTv = 3
|
||||
}
|
||||
}
|
||||
11
MediaBrowser.Model/LiveTv/ProgramAudio.cs
Normal file
11
MediaBrowser.Model/LiveTv/ProgramAudio.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public enum ProgramAudio
|
||||
{
|
||||
Mono,
|
||||
Stereo,
|
||||
Dolby,
|
||||
DolbyDigital,
|
||||
Thx
|
||||
}
|
||||
}
|
||||
@@ -216,13 +216,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
}
|
||||
|
||||
public enum ProgramAudio
|
||||
{
|
||||
Mono,
|
||||
Stereo,
|
||||
Dolby,
|
||||
DolbyDigital,
|
||||
Thx
|
||||
}
|
||||
}
|
||||
@@ -32,31 +32,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
ChannelIdList = new string[] { };
|
||||
}
|
||||
}
|
||||
|
||||
public class RecommendedProgramQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is airing.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
|
||||
public bool? IsAiring { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance has aired.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
|
||||
public bool? HasAired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum number of items to return
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
29
MediaBrowser.Model/LiveTv/RecommendedProgramQuery.cs
Normal file
29
MediaBrowser.Model/LiveTv/RecommendedProgramQuery.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class RecommendedProgramQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is airing.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
|
||||
public bool? IsAiring { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance has aired.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
|
||||
public bool? HasAired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum number of items to return
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
}
|
||||
11
MediaBrowser.Model/LiveTv/RecordingGroupQuery.cs
Normal file
11
MediaBrowser.Model/LiveTv/RecordingGroupQuery.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class RecordingGroupQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
/// <summary>
|
||||
/// Class RecordingQuery.
|
||||
@@ -61,43 +59,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <value>The series timer identifier.</value>
|
||||
public string SeriesTimerId { get; set; }
|
||||
}
|
||||
|
||||
public class RecordingGroupQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
}
|
||||
|
||||
public class TimerQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the series timer identifier.
|
||||
/// </summary>
|
||||
/// <value>The series timer identifier.</value>
|
||||
public string SeriesTimerId { get; set; }
|
||||
}
|
||||
|
||||
public class SeriesTimerQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the sort by - SortName, Priority
|
||||
/// </summary>
|
||||
/// <value>The sort by.</value>
|
||||
public string SortBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the sort order.
|
||||
/// </summary>
|
||||
/// <value>The sort order.</value>
|
||||
public SortOrder SortOrder { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,11 +13,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
ConflictedNotOk,
|
||||
Error
|
||||
}
|
||||
|
||||
public enum DayPattern
|
||||
{
|
||||
Daily,
|
||||
Weekdays,
|
||||
Weekends
|
||||
}
|
||||
}
|
||||
|
||||
19
MediaBrowser.Model/LiveTv/SeriesTimerQuery.cs
Normal file
19
MediaBrowser.Model/LiveTv/SeriesTimerQuery.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class SeriesTimerQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the sort by - SortName, Priority
|
||||
/// </summary>
|
||||
/// <value>The sort by.</value>
|
||||
public string SortBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the sort order.
|
||||
/// </summary>
|
||||
/// <value>The sort order.</value>
|
||||
public SortOrder SortOrder { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class TimerInfoDto : BaseTimerInfoDto
|
||||
{
|
||||
@@ -36,107 +33,4 @@ namespace MediaBrowser.Model.LiveTv
|
||||
public ProgramInfoDto ProgramInfo { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class BaseTimerInfoDto : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when a property value changes.
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Id of the recording.
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external identifier.
|
||||
/// </summary>
|
||||
/// <value>The external identifier.</value>
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChannelId of the recording.
|
||||
/// </summary>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The external channel identifier.</value>
|
||||
public string ExternalChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChannelName of the recording.
|
||||
/// </summary>
|
||||
public string ChannelName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the program identifier.
|
||||
/// </summary>
|
||||
/// <value>The program identifier.</value>
|
||||
public string ProgramId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external program identifier.
|
||||
/// </summary>
|
||||
/// <value>The external program identifier.</value>
|
||||
public string ExternalProgramId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the recording.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description of the recording.
|
||||
/// </summary>
|
||||
public string Overview { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The start date of the recording, in UTC.
|
||||
/// </summary>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The end date of the recording, in UTC.
|
||||
/// </summary>
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the service.
|
||||
/// </summary>
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the priority.
|
||||
/// </summary>
|
||||
/// <value>The priority.</value>
|
||||
public int Priority { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the pre padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The pre padding seconds.</value>
|
||||
public int PrePaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the post padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The post padding seconds.</value>
|
||||
public int PostPaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is pre padding required.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPrePaddingRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is post padding required.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPostPaddingRequired { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/LiveTv/TimerQuery.cs
Normal file
17
MediaBrowser.Model/LiveTv/TimerQuery.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class TimerQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the channel identifier.
|
||||
/// </summary>
|
||||
/// <value>The channel identifier.</value>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the series timer identifier.
|
||||
/// </summary>
|
||||
/// <value>The series timer identifier.</value>
|
||||
public string SeriesTimerId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -57,35 +57,64 @@
|
||||
<Compile Include="ApiClient\IApiClient.cs" />
|
||||
<Compile Include="ApiClient\ApiClientExtensions.cs" />
|
||||
<Compile Include="ApiClient\IServerEvents.cs" />
|
||||
<Compile Include="ApiClient\ServerEventArgs.cs" />
|
||||
<Compile Include="ApiClient\GeneralCommandEventArgs.cs" />
|
||||
<Compile Include="ApiClient\SessionUpdatesEventArgs.cs" />
|
||||
<Compile Include="Channels\ChannelItemQuery.cs" />
|
||||
<Compile Include="Channels\ChannelQuery.cs" />
|
||||
<Compile Include="Configuration\AutoOrganize.cs" />
|
||||
<Compile Include="Configuration\TvFileOrganizationOptions.cs" />
|
||||
<Compile Include="Configuration\BaseApplicationConfiguration.cs" />
|
||||
<Compile Include="Configuration\DlnaOptions.cs" />
|
||||
<Compile Include="Configuration\EncodingQuality.cs" />
|
||||
<Compile Include="Configuration\ImageOption.cs" />
|
||||
<Compile Include="Configuration\ImageSavingConvention.cs" />
|
||||
<Compile Include="Configuration\LiveTvOptions.cs" />
|
||||
<Compile Include="Configuration\MetadataPlugin.cs" />
|
||||
<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="Configuration\PathSubstitution.cs" />
|
||||
<Compile Include="Configuration\SendToUserType.cs" />
|
||||
<Compile Include="Configuration\ServerConfiguration.cs" />
|
||||
<Compile Include="Configuration\SubtitleOptions.cs" />
|
||||
<Compile Include="Configuration\UnratedItem.cs" />
|
||||
<Compile Include="Dlna\AudioOptions.cs" />
|
||||
<Compile Include="Dlna\CodecProfile.cs" />
|
||||
<Compile Include="Dlna\CodecType.cs" />
|
||||
<Compile Include="Dlna\ConditionProcessor.cs" />
|
||||
<Compile Include="Dlna\ContainerProfile.cs" />
|
||||
<Compile Include="Dlna\ContentFeatureBuilder.cs" />
|
||||
<Compile Include="Dlna\DeviceIdentification.cs" />
|
||||
<Compile Include="Dlna\DeviceProfile.cs" />
|
||||
<Compile Include="Dlna\DeviceProfileInfo.cs" />
|
||||
<Compile Include="Dlna\DeviceProfileType.cs" />
|
||||
<Compile Include="Dlna\DirectPlayProfile.cs" />
|
||||
<Compile Include="Dlna\DlnaFlags.cs" />
|
||||
<Compile Include="Dlna\DlnaMaps.cs" />
|
||||
<Compile Include="Dlna\DlnaProfileType.cs" />
|
||||
<Compile Include="Dlna\EventSubscription.cs" />
|
||||
<Compile Include="Dlna\Filter.cs" />
|
||||
<Compile Include="Dlna\HeaderMatchType.cs" />
|
||||
<Compile Include="Dlna\HttpHeaderInfo.cs" />
|
||||
<Compile Include="Dlna\MediaFormatProfile.cs" />
|
||||
<Compile Include="Dlna\MediaFormatProfileResolver.cs" />
|
||||
<Compile Include="Dlna\ProfileCondition.cs" />
|
||||
<Compile Include="Dlna\ProfileConditionType.cs" />
|
||||
<Compile Include="Dlna\ProfileConditionValue.cs" />
|
||||
<Compile Include="Dlna\ResponseProfile.cs" />
|
||||
<Compile Include="Dlna\SearchCriteria.cs" />
|
||||
<Compile Include="Dlna\SearchType.cs" />
|
||||
<Compile Include="Dlna\SortCriteria.cs" />
|
||||
<Compile Include="Dlna\StreamBuilder.cs" />
|
||||
<Compile Include="Dlna\StreamInfo.cs" />
|
||||
<Compile Include="Dlna\TranscodeSeekInfo.cs" />
|
||||
<Compile Include="Dlna\TranscodingProfile.cs" />
|
||||
<Compile Include="Dlna\VideoOptions.cs" />
|
||||
<Compile Include="Dlna\XmlAttribute.cs" />
|
||||
<Compile Include="Drawing\ImageOutputFormat.cs" />
|
||||
<Compile Include="Drawing\ImageSize.cs" />
|
||||
<Compile Include="Dto\BaseItemPerson.cs" />
|
||||
<Compile Include="Dto\ChapterInfoDto.cs" />
|
||||
<Compile Include="Dto\GameSystemSummary.cs" />
|
||||
@@ -94,26 +123,64 @@
|
||||
<Compile Include="Dto\ItemByNameCounts.cs" />
|
||||
<Compile Include="Dto\ItemCounts.cs" />
|
||||
<Compile Include="Dto\ItemIndex.cs" />
|
||||
<Compile Include="Dto\RatingType.cs" />
|
||||
<Compile Include="Dto\RecommendationDto.cs" />
|
||||
<Compile Include="Dto\MediaVersionInfo.cs" />
|
||||
<Compile Include="Dto\MediaSourceInfo.cs" />
|
||||
<Compile Include="Dto\RecommendationType.cs" />
|
||||
<Compile Include="Dto\SubtitleDownloadOptions.cs" />
|
||||
<Compile Include="Dto\VideoStreamOptions.cs" />
|
||||
<Compile Include="Entities\IsoType.cs" />
|
||||
<Compile Include="Entities\MediaInfo.cs" />
|
||||
<Compile Include="Entities\MediaStreamType.cs" />
|
||||
<Compile Include="Entities\PackageReviewInfo.cs" />
|
||||
<Compile Include="Entities\ProviderIdsExtensions.cs" />
|
||||
<Compile Include="Entities\ScrollDirection.cs" />
|
||||
<Compile Include="Entities\SortOrder.cs" />
|
||||
<Compile Include="Entities\VideoSize.cs" />
|
||||
<Compile Include="Events\GenericEventArgs.cs" />
|
||||
<Compile Include="FileOrganization\EpisodeFileOrganizationRequest.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizationResult.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizationQuery.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizationResultQuery.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizerType.cs" />
|
||||
<Compile Include="FileOrganization\FileSortingStatus.cs" />
|
||||
<Compile Include="Globalization\LocalizatonOption.cs" />
|
||||
<Compile Include="IO\FileSystemEntryType.cs" />
|
||||
<Compile Include="Library\PlayAccess.cs" />
|
||||
<Compile Include="LiveTv\BaseTimerInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ChannelInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ChannelQuery.cs" />
|
||||
<Compile Include="LiveTv\DayPattern.cs" />
|
||||
<Compile Include="LiveTv\GuideInfo.cs" />
|
||||
<Compile Include="LiveTv\LiveTvInfo.cs" />
|
||||
<Compile Include="LiveTv\LiveTvServiceStatus.cs" />
|
||||
<Compile Include="LiveTv\LiveTvTunerInfoDto.cs" />
|
||||
<Compile Include="LiveTv\LiveTvTunerStatus.cs" />
|
||||
<Compile Include="LiveTv\ProgramAudio.cs" />
|
||||
<Compile Include="LiveTv\ProgramInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ProgramQuery.cs" />
|
||||
<Compile Include="LiveTv\RecommendedProgramQuery.cs" />
|
||||
<Compile Include="LiveTv\RecordingGroupDto.cs" />
|
||||
<Compile Include="LiveTv\RecordingGroupQuery.cs" />
|
||||
<Compile Include="LiveTv\RecordingQuery.cs" />
|
||||
<Compile Include="LiveTv\RecordingStatus.cs" />
|
||||
<Compile Include="LiveTv\SeriesTimerInfoDto.cs" />
|
||||
<Compile Include="LiveTv\SeriesTimerQuery.cs" />
|
||||
<Compile Include="LiveTv\TimerInfoDto.cs" />
|
||||
<Compile Include="LiveTv\TimerQuery.cs" />
|
||||
<Compile Include="Logging\NullLogger.cs" />
|
||||
<Compile Include="MediaInfo\Constants.cs" />
|
||||
<Compile Include="MediaInfo\AudioCodec.cs" />
|
||||
<Compile Include="MediaInfo\Container.cs" />
|
||||
<Compile Include="MediaInfo\SubtitleFormat.cs" />
|
||||
<Compile Include="MediaInfo\TransportStreamTimestamp.cs" />
|
||||
<Compile Include="MediaInfo\VideoCodec.cs" />
|
||||
<Compile Include="News\NewsChannel.cs" />
|
||||
<Compile Include="News\NewsItem.cs" />
|
||||
<Compile Include="News\NewsQuery.cs" />
|
||||
<Compile Include="Notifications\NotificationRequest.cs" />
|
||||
<Compile Include="Notifications\NotificationServiceInfo.cs" />
|
||||
<Compile Include="Notifications\NotificationTypeInfo.cs" />
|
||||
<Compile Include="Providers\ExternalIdInfo.cs" />
|
||||
<Compile Include="Providers\ExternalUrl.cs" />
|
||||
<Compile Include="Providers\ImageProviderInfo.cs" />
|
||||
<Compile Include="Providers\RemoteImageInfo.cs" />
|
||||
<Compile Include="Dto\StudioDto.cs" />
|
||||
@@ -138,9 +205,11 @@
|
||||
<Compile Include="Notifications\NotificationQuery.cs" />
|
||||
<Compile Include="Notifications\NotificationResult.cs" />
|
||||
<Compile Include="Notifications\NotificationsSummary.cs" />
|
||||
<Compile Include="Providers\RemoteImageQuery.cs" />
|
||||
<Compile Include="Providers\RemoteImageResult.cs" />
|
||||
<Compile Include="Providers\RemoteSearchResult.cs" />
|
||||
<Compile Include="Providers\RemoteSubtitleInfo.cs" />
|
||||
<Compile Include="Querying\AllThemeMediaResult.cs" />
|
||||
<Compile Include="Querying\ArtistsQuery.cs" />
|
||||
<Compile Include="Querying\EpisodeQuery.cs" />
|
||||
<Compile Include="Querying\ItemCountsQuery.cs" />
|
||||
@@ -148,14 +217,24 @@
|
||||
<Compile Include="Entities\BaseItemInfo.cs" />
|
||||
<Compile Include="Querying\NextUpQuery.cs" />
|
||||
<Compile Include="Querying\QueryResult.cs" />
|
||||
<Compile Include="Querying\SeasonQuery.cs" />
|
||||
<Compile Include="Querying\SessionQuery.cs" />
|
||||
<Compile Include="Querying\SimilarItemsByNameQuery.cs" />
|
||||
<Compile Include="Querying\SimilarItemsQuery.cs" />
|
||||
<Compile Include="Querying\UpcomingEpisodesQuery.cs" />
|
||||
<Compile Include="Querying\UserQuery.cs" />
|
||||
<Compile Include="Search\SearchQuery.cs" />
|
||||
<Compile Include="Session\BrowseRequest.cs" />
|
||||
<Compile Include="Session\ClientCapabilities.cs" />
|
||||
<Compile Include="Session\GeneralCommand.cs" />
|
||||
<Compile Include="Session\GeneralCommandType.cs" />
|
||||
<Compile Include="Session\MessageCommand.cs" />
|
||||
<Compile Include="Session\PlaybackReports.cs" />
|
||||
<Compile Include="Session\PlaybackProgressInfo.cs" />
|
||||
<Compile Include="Session\PlaybackStartInfo.cs" />
|
||||
<Compile Include="Session\PlaybackStopInfo.cs" />
|
||||
<Compile Include="Session\PlayCommand.cs" />
|
||||
<Compile Include="Session\PlayerStateInfo.cs" />
|
||||
<Compile Include="Session\PlayMethod.cs" />
|
||||
<Compile Include="Session\PlayRequest.cs" />
|
||||
<Compile Include="Session\PlaystateCommand.cs" />
|
||||
<Compile Include="Logging\ILogManager.cs" />
|
||||
@@ -184,22 +263,25 @@
|
||||
<Compile Include="Net\NetworkShare.cs" />
|
||||
<Compile Include="Net\NetworkShareType.cs" />
|
||||
<Compile Include="Querying\PersonsQuery.cs" />
|
||||
<Compile Include="Querying\ThemeSongsResult.cs" />
|
||||
<Compile Include="Querying\ThemeMediaResult.cs" />
|
||||
<Compile Include="Search\SearchHint.cs" />
|
||||
<Compile Include="Search\SearchHintResult.cs" />
|
||||
<Compile Include="Serialization\IJsonSerializer.cs" />
|
||||
<Compile Include="Serialization\IXmlSerializer.cs" />
|
||||
<Compile Include="Session\PlaystateRequest.cs" />
|
||||
<Compile Include="Session\SessionCapabilities.cs" />
|
||||
<Compile Include="Session\SessionInfoDto.cs" />
|
||||
<Compile Include="Session\SessionUserInfo.cs" />
|
||||
<Compile Include="Session\UserDataChangeInfo.cs" />
|
||||
<Compile Include="Themes\AppTheme.cs" />
|
||||
<Compile Include="Themes\AppThemeInfo.cs" />
|
||||
<Compile Include="Themes\ThemeImage.cs" />
|
||||
<Compile Include="Updates\CheckForUpdateResult.cs" />
|
||||
<Compile Include="Updates\PackageTargetSystem.cs" />
|
||||
<Compile Include="Updates\InstallationInfo.cs" />
|
||||
<Compile Include="Updates\PackageType.cs" />
|
||||
<Compile Include="Updates\PackageVersionClass.cs" />
|
||||
<Compile Include="Entities\RequestResult.cs" />
|
||||
<Compile Include="Entities\EmptyRequestResult.cs" />
|
||||
<Compile Include="Configuration\UserConfiguration.cs" />
|
||||
<Compile Include="Drawing\DrawingUtils.cs" />
|
||||
<Compile Include="Dto\UserItemDataDto.cs" />
|
||||
|
||||
8
MediaBrowser.Model/MediaInfo/AudioCodec.cs
Normal file
8
MediaBrowser.Model/MediaInfo/AudioCodec.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class AudioCodec
|
||||
{
|
||||
public const string AAC = "AAC";
|
||||
public const string MP3 = "MP3";
|
||||
}
|
||||
}
|
||||
@@ -34,11 +34,4 @@ namespace MediaBrowser.Model.MediaInfo
|
||||
/// <value>The chapters.</value>
|
||||
public List<double> Chapters { get; set; }
|
||||
}
|
||||
|
||||
public enum TransportStreamTimestamp
|
||||
{
|
||||
None,
|
||||
Zero,
|
||||
Valid
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class Container
|
||||
{
|
||||
public const string MP4 = "MP4";
|
||||
}
|
||||
|
||||
public class AudioCodec
|
||||
{
|
||||
public const string AAC = "AAC";
|
||||
public const string MP3 = "MP3";
|
||||
}
|
||||
|
||||
public class VideoCodec
|
||||
{
|
||||
public const string H263 = "H263";
|
||||
public const string H264 = "H264";
|
||||
public const string H265 = "H265";
|
||||
public const string MPEG4 = "MPEG4";
|
||||
public const string MSMPEG4 = "MSMPEG4";
|
||||
public const string VC1 = "VC1";
|
||||
}
|
||||
|
||||
public class SubtitleFormat
|
||||
{
|
||||
public const string SRT = "SRT";
|
||||
}
|
||||
}
|
||||
8
MediaBrowser.Model/MediaInfo/Container.cs
Normal file
8
MediaBrowser.Model/MediaInfo/Container.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class Container
|
||||
{
|
||||
public const string MP4 = "MP4";
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user