aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Channels
diff options
context:
space:
mode:
authorstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
committerstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
commit48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch)
tree8dae77a31670a888d733484cb17dd4077d5444e8 /MediaBrowser.Model/Channels
parentc32d8656382a0eacb301692e0084377fc433ae9b (diff)
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'MediaBrowser.Model/Channels')
-rw-r--r--MediaBrowser.Model/Channels/AllChannelMediaQuery.cs61
-rw-r--r--MediaBrowser.Model/Channels/ChannelFeatures.cs85
-rw-r--r--MediaBrowser.Model/Channels/ChannelFolderType.cs17
-rw-r--r--MediaBrowser.Model/Channels/ChannelInfo.cs30
-rw-r--r--MediaBrowser.Model/Channels/ChannelItemQuery.cs52
-rw-r--r--MediaBrowser.Model/Channels/ChannelItemSortField.cs13
-rw-r--r--MediaBrowser.Model/Channels/ChannelMediaContentType.cs23
-rw-r--r--MediaBrowser.Model/Channels/ChannelMediaType.cs11
-rw-r--r--MediaBrowser.Model/Channels/ChannelQuery.cs47
9 files changed, 0 insertions, 339 deletions
diff --git a/MediaBrowser.Model/Channels/AllChannelMediaQuery.cs b/MediaBrowser.Model/Channels/AllChannelMediaQuery.cs
deleted file mode 100644
index 920f3e4b2b..0000000000
--- a/MediaBrowser.Model/Channels/AllChannelMediaQuery.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using System.Collections.Generic;
-using MediaBrowser.Model.Entities;
-using MediaBrowser.Model.Querying;
-
-namespace MediaBrowser.Model.Channels
-{
- public class AllChannelMediaQuery
- {
- /// <summary>
- /// Gets or sets the channel ids.
- /// </summary>
- /// <value>The channel ids.</value>
- public string[] ChannelIds { get; set; }
-
- /// <summary>
- /// Gets or sets the user identifier.
- /// </summary>
- /// <value>The user identifier.</value>
- public string UserId { get; set; }
-
- /// <summary>
- /// Skips over a given number of items within the results. Use for paging.
- /// </summary>
- /// <value>The start index.</value>
- public int? StartIndex { get; set; }
-
- /// <summary>
- /// The maximum number of items to return
- /// </summary>
- /// <value>The limit.</value>
- public int? Limit { get; set; }
-
- /// <summary>
- /// Gets or sets the content types.
- /// </summary>
- /// <value>The content types.</value>
- public ChannelMediaContentType[] ContentTypes { get; set; }
-
- /// <summary>
- /// Gets or sets the extra types.
- /// </summary>
- /// <value>The extra types.</value>
- public ExtraType[] ExtraTypes { get; set; }
- public TrailerType[] TrailerTypes { get; set; }
-
- public AllChannelMediaQuery()
- {
- ChannelIds = new string[] { };
-
- ContentTypes = new ChannelMediaContentType[] { };
- ExtraTypes = new ExtraType[] { };
- TrailerTypes = new TrailerType[] { };
-
- Filters = new ItemFilter[] { };
- Fields = new ItemFields[]{};
- }
-
- public ItemFilter[] Filters { get; set; }
- public ItemFields[] Fields { get; set; }
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelFeatures.cs b/MediaBrowser.Model/Channels/ChannelFeatures.cs
deleted file mode 100644
index 39b40cabc4..0000000000
--- a/MediaBrowser.Model/Channels/ChannelFeatures.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using System.Collections.Generic;
-
-namespace MediaBrowser.Model.Channels
-{
- public class ChannelFeatures
- {
- /// <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 a value indicating whether this instance can search.
- /// </summary>
- /// <value><c>true</c> if this instance can search; otherwise, <c>false</c>.</value>
- public bool CanSearch { get; set; }
-
- /// <summary>
- /// Gets or sets the media types.
- /// </summary>
- /// <value>The media types.</value>
- public ChannelMediaType[] MediaTypes { get; set; }
-
- /// <summary>
- /// Gets or sets the content types.
- /// </summary>
- /// <value>The content types.</value>
- public ChannelMediaContentType[] ContentTypes { get; set; }
-
- /// <summary>
- /// Represents the maximum number of records the channel allows retrieving at a time
- /// </summary>
- public int? MaxPageSize { get; set; }
-
- /// <summary>
- /// Gets or sets the automatic refresh levels.
- /// </summary>
- /// <value>The automatic refresh levels.</value>
- public int? AutoRefreshLevels { get; set; }
-
- /// <summary>
- /// Gets or sets the default sort orders.
- /// </summary>
- /// <value>The default sort orders.</value>
- public ChannelItemSortField[] DefaultSortFields { get; set; }
-
- /// <summary>
- /// Indicates if a sort ascending/descending toggle is supported or not.
- /// </summary>
- public bool SupportsSortOrderToggle { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether [supports latest media].
- /// </summary>
- /// <value><c>true</c> if [supports latest media]; otherwise, <c>false</c>.</value>
- public bool SupportsLatestMedia { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance can filter.
- /// </summary>
- /// <value><c>true</c> if this instance can filter; otherwise, <c>false</c>.</value>
- public bool CanFilter { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether [supports content downloading].
- /// </summary>
- /// <value><c>true</c> if [supports content downloading]; otherwise, <c>false</c>.</value>
- public bool SupportsContentDownloading { get; set; }
-
- public ChannelFeatures()
- {
- MediaTypes = new ChannelMediaType[] { };
- ContentTypes = new ChannelMediaContentType[] { };
-
- DefaultSortFields = new ChannelItemSortField[] { };
- }
- }
-}
diff --git a/MediaBrowser.Model/Channels/ChannelFolderType.cs b/MediaBrowser.Model/Channels/ChannelFolderType.cs
deleted file mode 100644
index 7c97afd023..0000000000
--- a/MediaBrowser.Model/Channels/ChannelFolderType.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace MediaBrowser.Model.Channels
-{
- public enum ChannelFolderType
- {
- Container = 0,
-
- MusicAlbum = 1,
-
- PhotoAlbum = 2,
-
- MusicArtist = 3,
-
- Series = 4,
-
- Season = 5
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelInfo.cs b/MediaBrowser.Model/Channels/ChannelInfo.cs
deleted file mode 100644
index 36e3c17d98..0000000000
--- a/MediaBrowser.Model/Channels/ChannelInfo.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-
-namespace MediaBrowser.Model.Channels
-{
- public class ChannelInfo
- {
- /// <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 home page URL.
- /// </summary>
- /// <value>The home page URL.</value>
- public string HomePageUrl { get; set; }
-
- /// <summary>
- /// Gets or sets the features.
- /// </summary>
- /// <value>The features.</value>
- public ChannelFeatures Features { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Channels/ChannelItemQuery.cs b/MediaBrowser.Model/Channels/ChannelItemQuery.cs
deleted file mode 100644
index 909d35b38e..0000000000
--- a/MediaBrowser.Model/Channels/ChannelItemQuery.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using System;
-using System.Collections.Generic;
-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 FolderId { 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 ItemFilter[] Filters { get; set; }
- public ItemFields[] Fields { get; set; }
- public Tuple<string, SortOrder>[] OrderBy { get; set; }
-
- public ChannelItemQuery()
- {
- Filters = new ItemFilter[] { };
- Fields = new ItemFields[] { };
- OrderBy = new Tuple<string, SortOrder>[] { };
- }
- }
-
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelItemSortField.cs b/MediaBrowser.Model/Channels/ChannelItemSortField.cs
deleted file mode 100644
index 6b5015b774..0000000000
--- a/MediaBrowser.Model/Channels/ChannelItemSortField.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace MediaBrowser.Model.Channels
-{
- public enum ChannelItemSortField
- {
- Name = 0,
- CommunityRating = 1,
- PremiereDate = 2,
- DateCreated = 3,
- Runtime = 4,
- PlayCount = 5,
- CommunityPlayCount = 6
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs b/MediaBrowser.Model/Channels/ChannelMediaContentType.cs
deleted file mode 100644
index efb5021c01..0000000000
--- a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-namespace MediaBrowser.Model.Channels
-{
- public enum ChannelMediaContentType
- {
- Clip = 0,
-
- Podcast = 1,
-
- Trailer = 2,
-
- Movie = 3,
-
- Episode = 4,
-
- Song = 5,
-
- MovieExtra = 6,
-
- TvExtra = 7,
-
- GameExtra = 8
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelMediaType.cs b/MediaBrowser.Model/Channels/ChannelMediaType.cs
deleted file mode 100644
index 102cb66447..0000000000
--- a/MediaBrowser.Model/Channels/ChannelMediaType.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace MediaBrowser.Model.Channels
-{
- public enum ChannelMediaType
- {
- Audio = 0,
-
- Video = 1,
-
- Photo = 2
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Channels/ChannelQuery.cs b/MediaBrowser.Model/Channels/ChannelQuery.cs
deleted file mode 100644
index b63d797f43..0000000000
--- a/MediaBrowser.Model/Channels/ChannelQuery.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using MediaBrowser.Model.Entities;
-using MediaBrowser.Model.Querying;
-
-namespace MediaBrowser.Model.Channels
-{
- public class ChannelQuery
- {
- /// <summary>
- /// Fields to return within the items, in addition to basic information
- /// </summary>
- /// <value>The fields.</value>
- public ItemFields[] Fields { get; set; }
- public bool? EnableImages { get; set; }
- public int? ImageTypeLimit { get; set; }
- public ImageType[] EnableImageTypes { get; set; }
-
- /// <summary>
- /// Gets or sets the user identifier.
- /// </summary>
- /// <value>The user identifier.</value>
- public string UserId { get; set; }
-
- /// <summary>
- /// Skips over a given number of items within the results. Use for paging.
- /// </summary>
- /// <value>The start index.</value>
- public int? StartIndex { get; set; }
-
- /// <summary>
- /// The maximum number of items to return
- /// </summary>
- /// <value>The limit.</value>
- public int? Limit { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether [supports latest items].
- /// </summary>
- /// <value><c>true</c> if [supports latest items]; otherwise, <c>false</c>.</value>
- public bool? SupportsLatestItems { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is favorite.
- /// </summary>
- /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
- public bool? IsFavorite { get; set; }
- }
-}