aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/IIndexableChannel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Channels/IIndexableChannel.cs')
-rw-r--r--MediaBrowser.Controller/Channels/IIndexableChannel.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Channels/IIndexableChannel.cs b/MediaBrowser.Controller/Channels/IIndexableChannel.cs
new file mode 100644
index 000000000..0b52585e8
--- /dev/null
+++ b/MediaBrowser.Controller/Channels/IIndexableChannel.cs
@@ -0,0 +1,16 @@
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Controller.Channels
+{
+ public interface IIndexableChannel
+ {
+ /// <summary>
+ /// Gets all media.
+ /// </summary>
+ /// <param name="query">The query.</param>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <returns>Task{ChannelItemResult}.</returns>
+ Task<ChannelItemResult> GetAllMedia(InternalAllChannelMediaQuery query, CancellationToken cancellationToken);
+ }
+} \ No newline at end of file