mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 12:16:49 +01:00
Handle 5002, 5003 and add caches
This commit is contained in:
17
MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs
Normal file
17
MediaBrowser.Controller/LiveTv/ISchedulesDirectService.cs
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user