mirror of
https://github.com/Felitendo/jellyfin-plugin-lyrics.git
synced 2026-11-01 09:13:26 +01:00
21 lines
524 B
C#
21 lines
524 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Jellyfin.Plugin.Lyrics.Models;
|
|
|
|
/// <summary>
|
|
/// Persisted retry and cursor state for lyric task runs.
|
|
/// </summary>
|
|
public class LyricsRetryState
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the next start cursor in the library query.
|
|
/// </summary>
|
|
public int Cursor { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets retry entries by track id.
|
|
/// </summary>
|
|
public Dictionary<string, LyricsRetryEntry> Entries { get; } = new(StringComparer.Ordinal);
|
|
}
|