aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-02-25 14:51:53 +0100
committerShadowghost <Ghost_of_Stone@web.de>2026-02-25 14:51:53 +0100
commitb7da5c18605c2f953204645005dc9bd6729b6921 (patch)
tree7787c9835431be3d329af35cc42305aa2b36b9c5 /MediaBrowser.Controller
parent100d6bb38c5f7c24ea2a8d520add63d71948077f (diff)
Apply review suggestions
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs b/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs
index 496a2c4c55..a33b4422b2 100644
--- a/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs
+++ b/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs
@@ -1,3 +1,4 @@
+using System.IO;
using System.Threading;
using System.Threading.Tasks;
@@ -12,6 +13,12 @@ public interface ISchedulesDirectService
/// Gets the available countries from the Schedules Direct API, using a file cache.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>The raw JSON response bytes.</returns>
- Task<byte[]> GetAvailableCountries(CancellationToken cancellationToken);
+ /// <returns>A stream containing the raw JSON response.</returns>
+ Task<Stream> GetAvailableCountries(CancellationToken cancellationToken);
+
+ /// <summary>
+ /// Gets a value indicating whether the Schedules Direct daily image download limit is currently active.
+ /// </summary>
+ /// <returns><c>true</c> if the image limit has been hit and has not yet reset; otherwise <c>false</c>.</returns>
+ bool IsImageDailyLimitActive();
}