diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-22 11:14:15 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-22 11:14:15 +0100 |
| commit | 27396bffc6d2cc0595ffba4dd400a9e5bbfafc0f (patch) | |
| tree | 662a7189e9c96d80df9a1d51babe2b23207c2946 /MediaBrowser.Controller/LiveTv | |
| parent | d156e04c9a2b16d38aede38f0de773a4d128e48f (diff) | |
Handle 5002, 5003 and add caches
Diffstat (limited to 'MediaBrowser.Controller/LiveTv')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs b/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs new file mode 100644 index 0000000000..496a2c4c55 --- /dev/null +++ b/MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs @@ -0,0 +1,17 @@ +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.LiveTv; + +/// <summary> +/// Provides Schedules Direct specific operations. +/// </summary> +public interface ISchedulesDirectService +{ + /// <summary> + /// 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); +} |
