using System.Threading;
using System.Threading.Tasks;
using Jellyfin.Plugin.Jellypod.Models;
namespace Jellyfin.Plugin.Jellypod.Services;
///
/// Service for fetching and parsing podcast RSS feeds.
///
public interface IRssFeedService
{
///
/// Fetches and parses a podcast from an RSS feed URL.
///
/// The RSS feed URL.
/// Cancellation token.
/// The parsed podcast with episodes, or null if parsing failed.
Task FetchPodcastAsync(string feedUrl, CancellationToken cancellationToken = default);
}