Added OPML support
🚀 Release Plugin / build-and-release (push) Successful in 2m3s
🏗️ Build Plugin / build (push) Successful in 2m0s
🧪 Test Plugin / test (push) Successful in 59s

This commit is contained in:
2025-12-16 20:31:46 +01:00
parent b4275837bc
commit 003a8754a6
9 changed files with 645 additions and 1 deletions
@@ -0,0 +1,42 @@
namespace Jellyfin.Plugin.Jellypod.Models;
/// <summary>
/// Represents an outline element from an OPML file.
/// </summary>
public class OpmlOutline
{
/// <summary>
/// Gets or sets the outline title (text attribute).
/// </summary>
public string? Text { get; set; }
/// <summary>
/// Gets or sets the outline title (title attribute).
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets or sets the RSS feed URL (xmlUrl attribute).
/// </summary>
public string? XmlUrl { get; set; }
/// <summary>
/// Gets or sets the website URL (htmlUrl attribute).
/// </summary>
public string? HtmlUrl { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Gets or sets the category.
/// </summary>
public string? Category { get; set; }
/// <summary>
/// Gets the display title (prefers Title over Text).
/// </summary>
public string DisplayTitle => Title ?? Text ?? "Unknown";
}