refactor to unify data fetching and define abstract API for re-use
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Plugin.SRFPlay.Api.Models;
|
||||
using Jellyfin.Plugin.SRFPlay.Configuration;
|
||||
using Jellyfin.Plugin.SRFPlay.Services.Interfaces;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.SRFPlay.Services;
|
||||
@@ -13,7 +14,7 @@ namespace Jellyfin.Plugin.SRFPlay.Services;
|
||||
/// <summary>
|
||||
/// Service for resolving stream URLs from media composition resources.
|
||||
/// </summary>
|
||||
public class StreamUrlResolver : IDisposable
|
||||
public class StreamUrlResolver : IStreamUrlResolver, IDisposable
|
||||
{
|
||||
private readonly ILogger<StreamUrlResolver> _logger;
|
||||
private readonly HttpClient _httpClient;
|
||||
|
||||
Reference in New Issue
Block a user