Fix: Handle nullable Duration in lyrics endpoint

This commit is contained in:
2026-01-30 02:10:25 -05:00
parent f8969bea8d
commit e12851e9ca

View File

@@ -994,7 +994,7 @@ public class JellyfinController : ControllerBase
song.Title, song.Title,
song.Artist ?? "", song.Artist ?? "",
song.Album ?? "", song.Album ?? "",
song.Duration); song.Duration ?? 0);
if (lyrics == null) if (lyrics == null)
{ {