mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
updated nuget
This commit is contained in:
parent
0d605b8672
commit
b9b568de13
|
@ -52,55 +52,4 @@ namespace MediaBrowser.Controller.Channels
|
||||||
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ChannelItemType
|
|
||||||
{
|
|
||||||
Media = 0,
|
|
||||||
|
|
||||||
Category = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum ChannelMediaType
|
|
||||||
{
|
|
||||||
Audio = 0,
|
|
||||||
|
|
||||||
Video = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum ChannelMediaContentType
|
|
||||||
{
|
|
||||||
Clip = 0,
|
|
||||||
|
|
||||||
Podcast = 1,
|
|
||||||
|
|
||||||
Trailer = 2,
|
|
||||||
|
|
||||||
Movie = 3,
|
|
||||||
|
|
||||||
Episode = 4,
|
|
||||||
|
|
||||||
Song = 5
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ChannelMediaInfo
|
|
||||||
{
|
|
||||||
public string Path { get; set; }
|
|
||||||
|
|
||||||
public Dictionary<string, string> RequiredHttpHeaders { get; set; }
|
|
||||||
|
|
||||||
public string Container { get; set; }
|
|
||||||
public string AudioCodec { get; set; }
|
|
||||||
public string VideoCodec { get; set; }
|
|
||||||
|
|
||||||
public int? AudioBitrate { get; set; }
|
|
||||||
public int? VideoBitrate { get; set; }
|
|
||||||
public int? Width { get; set; }
|
|
||||||
public int? Height { get; set; }
|
|
||||||
public int? AudioChannels { get; set; }
|
|
||||||
|
|
||||||
public ChannelMediaInfo()
|
|
||||||
{
|
|
||||||
RequiredHttpHeaders = new Dictionary<string, string>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
12
MediaBrowser.Controller/Channels/ChannelItemResult.cs
Normal file
12
MediaBrowser.Controller/Channels/ChannelItemResult.cs
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public class ChannelItemResult
|
||||||
|
{
|
||||||
|
public List<ChannelItemInfo> Items { get; set; }
|
||||||
|
|
||||||
|
public TimeSpan CacheLength { get; set; }
|
||||||
|
}
|
||||||
|
}
|
9
MediaBrowser.Controller/Channels/ChannelItemType.cs
Normal file
9
MediaBrowser.Controller/Channels/ChannelItemType.cs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public enum ChannelItemType
|
||||||
|
{
|
||||||
|
Media = 0,
|
||||||
|
|
||||||
|
Category = 1
|
||||||
|
}
|
||||||
|
}
|
17
MediaBrowser.Controller/Channels/ChannelMediaContentType.cs
Normal file
17
MediaBrowser.Controller/Channels/ChannelMediaContentType.cs
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public enum ChannelMediaContentType
|
||||||
|
{
|
||||||
|
Clip = 0,
|
||||||
|
|
||||||
|
Podcast = 1,
|
||||||
|
|
||||||
|
Trailer = 2,
|
||||||
|
|
||||||
|
Movie = 3,
|
||||||
|
|
||||||
|
Episode = 4,
|
||||||
|
|
||||||
|
Song = 5
|
||||||
|
}
|
||||||
|
}
|
26
MediaBrowser.Controller/Channels/ChannelMediaInfo.cs
Normal file
26
MediaBrowser.Controller/Channels/ChannelMediaInfo.cs
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public class ChannelMediaInfo
|
||||||
|
{
|
||||||
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
public Dictionary<string, string> RequiredHttpHeaders { get; set; }
|
||||||
|
|
||||||
|
public string Container { get; set; }
|
||||||
|
public string AudioCodec { get; set; }
|
||||||
|
public string VideoCodec { get; set; }
|
||||||
|
|
||||||
|
public int? AudioBitrate { get; set; }
|
||||||
|
public int? VideoBitrate { get; set; }
|
||||||
|
public int? Width { get; set; }
|
||||||
|
public int? Height { get; set; }
|
||||||
|
public int? AudioChannels { get; set; }
|
||||||
|
|
||||||
|
public ChannelMediaInfo()
|
||||||
|
{
|
||||||
|
RequiredHttpHeaders = new Dictionary<string, string>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
9
MediaBrowser.Controller/Channels/ChannelMediaType.cs
Normal file
9
MediaBrowser.Controller/Channels/ChannelMediaType.cs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public enum ChannelMediaType
|
||||||
|
{
|
||||||
|
Audio = 0,
|
||||||
|
|
||||||
|
Video = 1
|
||||||
|
}
|
||||||
|
}
|
7
MediaBrowser.Controller/Channels/ChannelSearchInfo.cs
Normal file
7
MediaBrowser.Controller/Channels/ChannelSearchInfo.cs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public class ChannelSearchInfo
|
||||||
|
{
|
||||||
|
public string SearchTerm { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,6 @@
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Controller.Providers;
|
using MediaBrowser.Controller.Providers;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
@ -60,28 +59,4 @@ namespace MediaBrowser.Controller.Channels
|
||||||
/// <returns>IEnumerable{ImageType}.</returns>
|
/// <returns>IEnumerable{ImageType}.</returns>
|
||||||
IEnumerable<ImageType> GetSupportedChannelImages();
|
IEnumerable<ImageType> GetSupportedChannelImages();
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IChannelFactory
|
|
||||||
{
|
|
||||||
IEnumerable<IChannel> GetChannels();
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ChannelSearchInfo
|
|
||||||
{
|
|
||||||
public string SearchTerm { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class InternalChannelItemQuery
|
|
||||||
{
|
|
||||||
public string CategoryId { get; set; }
|
|
||||||
|
|
||||||
public User User { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class ChannelItemResult
|
|
||||||
{
|
|
||||||
public List<ChannelItemInfo> Items { get; set; }
|
|
||||||
|
|
||||||
public TimeSpan CacheLength { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
9
MediaBrowser.Controller/Channels/IChannelFactory.cs
Normal file
9
MediaBrowser.Controller/Channels/IChannelFactory.cs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public interface IChannelFactory
|
||||||
|
{
|
||||||
|
IEnumerable<IChannel> GetChannels();
|
||||||
|
}
|
||||||
|
}
|
|
@ -12,11 +12,4 @@ namespace MediaBrowser.Controller.Channels
|
||||||
|
|
||||||
string OriginalImageUrl { get; set; }
|
string OriginalImageUrl { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IChannelMediaItem : IChannelItem
|
|
||||||
{
|
|
||||||
bool IsInfiniteStream { get; set; }
|
|
||||||
|
|
||||||
ChannelMediaContentType ContentType { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
9
MediaBrowser.Controller/Channels/IChannelMediaItem.cs
Normal file
9
MediaBrowser.Controller/Channels/IChannelMediaItem.cs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public interface IChannelMediaItem : IChannelItem
|
||||||
|
{
|
||||||
|
bool IsInfiniteStream { get; set; }
|
||||||
|
|
||||||
|
ChannelMediaContentType ContentType { get; set; }
|
||||||
|
}
|
||||||
|
}
|
11
MediaBrowser.Controller/Channels/InternalChannelItemQuery.cs
Normal file
11
MediaBrowser.Controller/Channels/InternalChannelItemQuery.cs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
using MediaBrowser.Controller.Entities;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Channels
|
||||||
|
{
|
||||||
|
public class InternalChannelItemQuery
|
||||||
|
{
|
||||||
|
public string CategoryId { get; set; }
|
||||||
|
|
||||||
|
public User User { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -17,18 +17,4 @@ namespace MediaBrowser.Controller.Dlna
|
||||||
Headers = new Dictionary<string, string>();
|
Headers = new Dictionary<string, string>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ControlResponse
|
|
||||||
{
|
|
||||||
public IDictionary<string, string> Headers { get; set; }
|
|
||||||
|
|
||||||
public string Xml { get; set; }
|
|
||||||
|
|
||||||
public bool IsSuccessful { get; set; }
|
|
||||||
|
|
||||||
public ControlResponse()
|
|
||||||
{
|
|
||||||
Headers = new Dictionary<string, string>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
18
MediaBrowser.Controller/Dlna/ControlResponse.cs
Normal file
18
MediaBrowser.Controller/Dlna/ControlResponse.cs
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Dlna
|
||||||
|
{
|
||||||
|
public class ControlResponse
|
||||||
|
{
|
||||||
|
public IDictionary<string, string> Headers { get; set; }
|
||||||
|
|
||||||
|
public string Xml { get; set; }
|
||||||
|
|
||||||
|
public bool IsSuccessful { get; set; }
|
||||||
|
|
||||||
|
public ControlResponse()
|
||||||
|
{
|
||||||
|
Headers = new Dictionary<string, string>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -86,24 +86,4 @@ namespace MediaBrowser.Controller.Drawing
|
||||||
/// <returns>Task{System.String}.</returns>
|
/// <returns>Task{System.String}.</returns>
|
||||||
Task<string> GetEnhancedImage(IHasImages item, ImageType imageType, int imageIndex);
|
Task<string> GetEnhancedImage(IHasImages item, ImageType imageType, int imageIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class ImageProcessorExtensions
|
|
||||||
{
|
|
||||||
public static string GetImageCacheTag(this IImageProcessor processor, IHasImages item, ImageType imageType)
|
|
||||||
{
|
|
||||||
return processor.GetImageCacheTag(item, imageType, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string GetImageCacheTag(this IImageProcessor processor, IHasImages item, ImageType imageType, int imageIndex)
|
|
||||||
{
|
|
||||||
var imageInfo = item.GetImageInfo(imageType, imageIndex);
|
|
||||||
|
|
||||||
if (imageInfo == null)
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return processor.GetImageCacheTag(item, imageInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
25
MediaBrowser.Controller/Drawing/ImageProcessorExtensions.cs
Normal file
25
MediaBrowser.Controller/Drawing/ImageProcessorExtensions.cs
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
using MediaBrowser.Controller.Entities;
|
||||||
|
using MediaBrowser.Model.Entities;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Drawing
|
||||||
|
{
|
||||||
|
public static class ImageProcessorExtensions
|
||||||
|
{
|
||||||
|
public static string GetImageCacheTag(this IImageProcessor processor, IHasImages item, ImageType imageType)
|
||||||
|
{
|
||||||
|
return processor.GetImageCacheTag(item, imageType, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string GetImageCacheTag(this IImageProcessor processor, IHasImages item, ImageType imageType, int imageIndex)
|
||||||
|
{
|
||||||
|
var imageInfo = item.GetImageInfo(imageType, imageIndex);
|
||||||
|
|
||||||
|
if (imageInfo == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return processor.GetImageCacheTag(item, imageInfo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,5 +1,4 @@
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace MediaBrowser.Controller.Library
|
namespace MediaBrowser.Controller.Library
|
||||||
|
@ -23,19 +22,4 @@ namespace MediaBrowser.Controller.Library
|
||||||
/// <returns>IEnumerable{System.String}.</returns>
|
/// <returns>IEnumerable{System.String}.</returns>
|
||||||
IEnumerable<string> GetAllIntroFiles();
|
IEnumerable<string> GetAllIntroFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class IntroInfo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the path.
|
|
||||||
/// </summary>
|
|
||||||
/// <value>The path.</value>
|
|
||||||
public string Path { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the item id.
|
|
||||||
/// </summary>
|
|
||||||
/// <value>The item id.</value>
|
|
||||||
public Guid? ItemId { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -333,20 +333,4 @@ namespace MediaBrowser.Controller.Library
|
||||||
/// <returns>IEnumerable{BaseItem}.</returns>
|
/// <returns>IEnumerable{BaseItem}.</returns>
|
||||||
IEnumerable<BaseItem> ReplaceVideosWithPrimaryVersions(IEnumerable<BaseItem> items);
|
IEnumerable<BaseItem> ReplaceVideosWithPrimaryVersions(IEnumerable<BaseItem> items);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class LibraryManagerExtensions
|
|
||||||
{
|
|
||||||
public static Task DeleteItem(this ILibraryManager manager, BaseItem item)
|
|
||||||
{
|
|
||||||
return manager.DeleteItem(item, new DeleteOptions
|
|
||||||
{
|
|
||||||
DeleteFileLocation = true
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
public static BaseItem GetItemById(this ILibraryManager manager, string id)
|
|
||||||
{
|
|
||||||
return manager.GetItemById(new Guid(id));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
14
MediaBrowser.Controller/Library/IMetadataFileSaver.cs
Normal file
14
MediaBrowser.Controller/Library/IMetadataFileSaver.cs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
using MediaBrowser.Controller.Entities;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Library
|
||||||
|
{
|
||||||
|
public interface IMetadataFileSaver : IMetadataSaver
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the save path.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="item">The item.</param>
|
||||||
|
/// <returns>System.String.</returns>
|
||||||
|
string GetSavePath(IHasMetadata item);
|
||||||
|
}
|
||||||
|
}
|
|
@ -31,14 +31,4 @@ namespace MediaBrowser.Controller.Library
|
||||||
/// <returns>Task.</returns>
|
/// <returns>Task.</returns>
|
||||||
void Save(IHasMetadata item, CancellationToken cancellationToken);
|
void Save(IHasMetadata item, CancellationToken cancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IMetadataFileSaver : IMetadataSaver
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the save path.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="item">The item.</param>
|
|
||||||
/// <returns>System.String.</returns>
|
|
||||||
string GetSavePath(IHasMetadata item);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
19
MediaBrowser.Controller/Library/IntroInfo.cs
Normal file
19
MediaBrowser.Controller/Library/IntroInfo.cs
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Library
|
||||||
|
{
|
||||||
|
public class IntroInfo
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the path.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The path.</value>
|
||||||
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the item id.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The item id.</value>
|
||||||
|
public Guid? ItemId { get; set; }
|
||||||
|
}
|
||||||
|
}
|
22
MediaBrowser.Controller/Library/LibraryManagerExtensions.cs
Normal file
22
MediaBrowser.Controller/Library/LibraryManagerExtensions.cs
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using MediaBrowser.Controller.Entities;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Library
|
||||||
|
{
|
||||||
|
public static class LibraryManagerExtensions
|
||||||
|
{
|
||||||
|
public static Task DeleteItem(this ILibraryManager manager, BaseItem item)
|
||||||
|
{
|
||||||
|
return manager.DeleteItem(item, new DeleteOptions
|
||||||
|
{
|
||||||
|
DeleteFileLocation = true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public static BaseItem GetItemById(this ILibraryManager manager, string id)
|
||||||
|
{
|
||||||
|
return manager.GetItemById(new Guid(id));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -24,13 +24,4 @@ namespace MediaBrowser.Controller.Library
|
||||||
Users = new List<User>();
|
Users = new List<User>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PlaybackStopEventArgs : PlaybackProgressEventArgs
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets a value indicating whether [played to completion].
|
|
||||||
/// </summary>
|
|
||||||
/// <value><c>true</c> if [played to completion]; otherwise, <c>false</c>.</value>
|
|
||||||
public bool PlayedToCompletion { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
11
MediaBrowser.Controller/Library/PlaybackStopEventArgs.cs
Normal file
11
MediaBrowser.Controller/Library/PlaybackStopEventArgs.cs
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
namespace MediaBrowser.Controller.Library
|
||||||
|
{
|
||||||
|
public class PlaybackStopEventArgs : PlaybackProgressEventArgs
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a value indicating whether [played to completion].
|
||||||
|
/// </summary>
|
||||||
|
/// <value><c>true</c> if [played to completion]; otherwise, <c>false</c>.</value>
|
||||||
|
public bool PlayedToCompletion { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
namespace MediaBrowser.Controller.LiveTv
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class LiveTvConflictException.
|
||||||
|
/// </summary>
|
||||||
|
public class LiveTvConflictException : LiveTvException
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -8,11 +8,4 @@ namespace MediaBrowser.Controller.LiveTv
|
||||||
public class LiveTvException : Exception
|
public class LiveTvException : Exception
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Class LiveTvConflictException.
|
|
||||||
/// </summary>
|
|
||||||
public class LiveTvConflictException : LiveTvException
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,60 +40,4 @@ namespace MediaBrowser.Controller.LiveTv
|
||||||
Tuners = new List<LiveTvTunerInfo>();
|
Tuners = new List<LiveTvTunerInfo>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LiveTvTunerInfo
|
|
||||||
{
|
|
||||||
/// <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 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 LiveTvTunerInfo()
|
|
||||||
{
|
|
||||||
Clients = new List<string>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
61
MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.cs
Normal file
61
MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.cs
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using MediaBrowser.Model.LiveTv;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.LiveTv
|
||||||
|
{
|
||||||
|
public class LiveTvTunerInfo
|
||||||
|
{
|
||||||
|
/// <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 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 LiveTvTunerInfo()
|
||||||
|
{
|
||||||
|
Clients = new List<string>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -71,18 +71,28 @@
|
||||||
<Compile Include="Channels\ChannelCategoryItem.cs" />
|
<Compile Include="Channels\ChannelCategoryItem.cs" />
|
||||||
<Compile Include="Channels\ChannelInfo.cs" />
|
<Compile Include="Channels\ChannelInfo.cs" />
|
||||||
<Compile Include="Channels\ChannelItemInfo.cs" />
|
<Compile Include="Channels\ChannelItemInfo.cs" />
|
||||||
|
<Compile Include="Channels\ChannelItemResult.cs" />
|
||||||
|
<Compile Include="Channels\ChannelItemType.cs" />
|
||||||
|
<Compile Include="Channels\ChannelMediaContentType.cs" />
|
||||||
|
<Compile Include="Channels\ChannelMediaInfo.cs" />
|
||||||
|
<Compile Include="Channels\ChannelMediaType.cs" />
|
||||||
|
<Compile Include="Channels\ChannelSearchInfo.cs" />
|
||||||
<Compile Include="Channels\IChannel.cs" />
|
<Compile Include="Channels\IChannel.cs" />
|
||||||
|
<Compile Include="Channels\IChannelFactory.cs" />
|
||||||
<Compile Include="Channels\IChannelManager.cs" />
|
<Compile Include="Channels\IChannelManager.cs" />
|
||||||
<Compile Include="Channels\IChannelItem.cs" />
|
<Compile Include="Channels\IChannelItem.cs" />
|
||||||
<Compile Include="Channels\ChannelAudioItem.cs" />
|
<Compile Include="Channels\ChannelAudioItem.cs" />
|
||||||
<Compile Include="Channels\ChannelVideoItem.cs" />
|
<Compile Include="Channels\ChannelVideoItem.cs" />
|
||||||
<Compile Include="Channels\Channel.cs" />
|
<Compile Include="Channels\Channel.cs" />
|
||||||
|
<Compile Include="Channels\IChannelMediaItem.cs" />
|
||||||
|
<Compile Include="Channels\InternalChannelItemQuery.cs" />
|
||||||
<Compile Include="Chapters\ChapterSearchRequest.cs" />
|
<Compile Include="Chapters\ChapterSearchRequest.cs" />
|
||||||
<Compile Include="Chapters\IChapterProvider.cs" />
|
<Compile Include="Chapters\IChapterProvider.cs" />
|
||||||
<Compile Include="Chapters\ChapterResponse.cs" />
|
<Compile Include="Chapters\ChapterResponse.cs" />
|
||||||
<Compile Include="Collections\CollectionCreationOptions.cs" />
|
<Compile Include="Collections\CollectionCreationOptions.cs" />
|
||||||
<Compile Include="Collections\ICollectionManager.cs" />
|
<Compile Include="Collections\ICollectionManager.cs" />
|
||||||
<Compile Include="Dlna\ControlRequest.cs" />
|
<Compile Include="Dlna\ControlRequest.cs" />
|
||||||
|
<Compile Include="Dlna\ControlResponse.cs" />
|
||||||
<Compile Include="Dlna\DlnaIconResponse.cs" />
|
<Compile Include="Dlna\DlnaIconResponse.cs" />
|
||||||
<Compile Include="Dlna\EventSubscriptionResponse.cs" />
|
<Compile Include="Dlna\EventSubscriptionResponse.cs" />
|
||||||
<Compile Include="Dlna\IContentDirectory.cs" />
|
<Compile Include="Dlna\IContentDirectory.cs" />
|
||||||
|
@ -91,6 +101,7 @@
|
||||||
<Compile Include="Drawing\IImageProcessor.cs" />
|
<Compile Include="Drawing\IImageProcessor.cs" />
|
||||||
<Compile Include="Drawing\ImageFormat.cs" />
|
<Compile Include="Drawing\ImageFormat.cs" />
|
||||||
<Compile Include="Drawing\ImageProcessingOptions.cs" />
|
<Compile Include="Drawing\ImageProcessingOptions.cs" />
|
||||||
|
<Compile Include="Drawing\ImageProcessorExtensions.cs" />
|
||||||
<Compile Include="Dto\IDtoService.cs" />
|
<Compile Include="Dto\IDtoService.cs" />
|
||||||
<Compile Include="Entities\AdultVideo.cs" />
|
<Compile Include="Entities\AdultVideo.cs" />
|
||||||
<Compile Include="Entities\Audio\IHasAlbumArtist.cs" />
|
<Compile Include="Entities\Audio\IHasAlbumArtist.cs" />
|
||||||
|
@ -135,12 +146,16 @@
|
||||||
<Compile Include="FileOrganization\IFileOrganizationService.cs" />
|
<Compile Include="FileOrganization\IFileOrganizationService.cs" />
|
||||||
<Compile Include="Library\DeleteOptions.cs" />
|
<Compile Include="Library\DeleteOptions.cs" />
|
||||||
<Compile Include="Library\ILibraryPostScanTask.cs" />
|
<Compile Include="Library\ILibraryPostScanTask.cs" />
|
||||||
|
<Compile Include="Library\IMetadataFileSaver.cs" />
|
||||||
<Compile Include="Library\IMetadataSaver.cs" />
|
<Compile Include="Library\IMetadataSaver.cs" />
|
||||||
<Compile Include="Library\IMusicManager.cs" />
|
<Compile Include="Library\IMusicManager.cs" />
|
||||||
|
<Compile Include="Library\IntroInfo.cs" />
|
||||||
<Compile Include="Library\ItemUpdateType.cs" />
|
<Compile Include="Library\ItemUpdateType.cs" />
|
||||||
<Compile Include="Library\IUserDataManager.cs" />
|
<Compile Include="Library\IUserDataManager.cs" />
|
||||||
|
<Compile Include="Library\LibraryManagerExtensions.cs" />
|
||||||
|
<Compile Include="Library\PlaybackStopEventArgs.cs" />
|
||||||
<Compile Include="Library\UserDataSaveEventArgs.cs" />
|
<Compile Include="Library\UserDataSaveEventArgs.cs" />
|
||||||
<Compile Include="LiveTv\EventArgs.cs" />
|
<Compile Include="LiveTv\RecordingStatusChangedEventArgs.cs" />
|
||||||
<Compile Include="LiveTv\ILiveTvRecording.cs" />
|
<Compile Include="LiveTv\ILiveTvRecording.cs" />
|
||||||
<Compile Include="LiveTv\LiveStreamInfo.cs" />
|
<Compile Include="LiveTv\LiveStreamInfo.cs" />
|
||||||
<Compile Include="LiveTv\LiveTvAudioRecording.cs" />
|
<Compile Include="LiveTv\LiveTvAudioRecording.cs" />
|
||||||
|
@ -148,8 +163,10 @@
|
||||||
<Compile Include="LiveTv\ChannelInfo.cs" />
|
<Compile Include="LiveTv\ChannelInfo.cs" />
|
||||||
<Compile Include="LiveTv\ILiveTvManager.cs" />
|
<Compile Include="LiveTv\ILiveTvManager.cs" />
|
||||||
<Compile Include="LiveTv\ILiveTvService.cs" />
|
<Compile Include="LiveTv\ILiveTvService.cs" />
|
||||||
|
<Compile Include="LiveTv\LiveTvConflictException.cs" />
|
||||||
<Compile Include="LiveTv\LiveTvException.cs" />
|
<Compile Include="LiveTv\LiveTvException.cs" />
|
||||||
<Compile Include="LiveTv\LiveTvServiceStatusInfo.cs" />
|
<Compile Include="LiveTv\LiveTvServiceStatusInfo.cs" />
|
||||||
|
<Compile Include="LiveTv\LiveTvTunerInfo.cs" />
|
||||||
<Compile Include="LiveTv\StreamResponseInfo.cs" />
|
<Compile Include="LiveTv\StreamResponseInfo.cs" />
|
||||||
<Compile Include="LiveTv\LiveTvProgram.cs" />
|
<Compile Include="LiveTv\LiveTvProgram.cs" />
|
||||||
<Compile Include="LiveTv\LiveTvVideoRecording.cs" />
|
<Compile Include="LiveTv\LiveTvVideoRecording.cs" />
|
||||||
|
|
|
@ -32,5 +32,11 @@ namespace MediaBrowser.Model.Chapters
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The chapter count.</value>
|
/// <value>The chapter count.</value>
|
||||||
public int? ChapterCount { get; set; }
|
public int? ChapterCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the name of the three letter iso language.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The name of the three letter iso language.</value>
|
||||||
|
public string ThreeLetterISOLanguageName { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace MediaBrowser.Model.Providers
|
||||||
{
|
{
|
||||||
public class RemoteSubtitleInfo
|
public class RemoteSubtitleInfo
|
||||||
{
|
{
|
||||||
public string Language { get; set; }
|
public string ThreeLetterISOLanguageName { get; set; }
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
public string ProviderName { get; set; }
|
public string ProviderName { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
|
@ -259,7 +259,7 @@ namespace MediaBrowser.Providers.Subtitles
|
||||||
DownloadCount = int.Parse(i.SubDownloadsCnt, _usCulture),
|
DownloadCount = int.Parse(i.SubDownloadsCnt, _usCulture),
|
||||||
Format = i.SubFormat,
|
Format = i.SubFormat,
|
||||||
ProviderName = Name,
|
ProviderName = Name,
|
||||||
Language = i.SubLanguageID,
|
ThreeLetterISOLanguageName = i.SubLanguageID,
|
||||||
|
|
||||||
Id = i.SubFormat + "-" + i.SubLanguageID + "-" + i.IDSubtitleFile,
|
Id = i.SubFormat + "-" + i.SubLanguageID + "-" + i.IDSubtitleFile,
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>MediaBrowser.Common.Internal</id>
|
<id>MediaBrowser.Common.Internal</id>
|
||||||
<version>3.0.365</version>
|
<version>3.0.366</version>
|
||||||
<title>MediaBrowser.Common.Internal</title>
|
<title>MediaBrowser.Common.Internal</title>
|
||||||
<authors>Luke</authors>
|
<authors>Luke</authors>
|
||||||
<owners>ebr,Luke,scottisafool</owners>
|
<owners>ebr,Luke,scottisafool</owners>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description>
|
<description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description>
|
||||||
<copyright>Copyright © Media Browser 2013</copyright>
|
<copyright>Copyright © Media Browser 2013</copyright>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="MediaBrowser.Common" version="3.0.365" />
|
<dependency id="MediaBrowser.Common" version="3.0.366" />
|
||||||
<dependency id="NLog" version="2.1.0" />
|
<dependency id="NLog" version="2.1.0" />
|
||||||
<dependency id="SimpleInjector" version="2.5.0" />
|
<dependency id="SimpleInjector" version="2.5.0" />
|
||||||
<dependency id="sharpcompress" version="0.10.2" />
|
<dependency id="sharpcompress" version="0.10.2" />
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>MediaBrowser.Common</id>
|
<id>MediaBrowser.Common</id>
|
||||||
<version>3.0.365</version>
|
<version>3.0.366</version>
|
||||||
<title>MediaBrowser.Common</title>
|
<title>MediaBrowser.Common</title>
|
||||||
<authors>Media Browser Team</authors>
|
<authors>Media Browser Team</authors>
|
||||||
<owners>ebr,Luke,scottisafool</owners>
|
<owners>ebr,Luke,scottisafool</owners>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>MediaBrowser.Server.Core</id>
|
<id>MediaBrowser.Server.Core</id>
|
||||||
<version>3.0.365</version>
|
<version>3.0.366</version>
|
||||||
<title>Media Browser.Server.Core</title>
|
<title>Media Browser.Server.Core</title>
|
||||||
<authors>Media Browser Team</authors>
|
<authors>Media Browser Team</authors>
|
||||||
<owners>ebr,Luke,scottisafool</owners>
|
<owners>ebr,Luke,scottisafool</owners>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<description>Contains core components required to build plugins for Media Browser Server.</description>
|
<description>Contains core components required to build plugins for Media Browser Server.</description>
|
||||||
<copyright>Copyright © Media Browser 2013</copyright>
|
<copyright>Copyright © Media Browser 2013</copyright>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="MediaBrowser.Common" version="3.0.365" />
|
<dependency id="MediaBrowser.Common" version="3.0.366" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
|
|
Loading…
Reference in a new issue