From 169e0dcb113ac92d36f939002a1715d28ee0c545 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Wed, 28 Feb 2024 17:29:44 -0700 Subject: Save embedded lyrics when probing audio --- MediaBrowser.Controller/Lyrics/ILyricManager.cs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/Lyrics/ILyricManager.cs b/MediaBrowser.Controller/Lyrics/ILyricManager.cs index f4376a1ee..1e71b87eb 100644 --- a/MediaBrowser.Controller/Lyrics/ILyricManager.cs +++ b/MediaBrowser.Controller/Lyrics/ILyricManager.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Entities; @@ -69,12 +70,22 @@ public interface ILyricManager CancellationToken cancellationToken); /// - /// Upload new lyrics. + /// Saves new lyrics. /// /// The audio file the lyrics belong to. - /// The lyric response. + /// The lyrics format. + /// The lyrics. /// A representing the asynchronous operation. - Task UploadLyricAsync(Audio audio, LyricResponse lyricResponse); + Task SaveLyricAsync(Audio audio, string format, string lyrics); + + /// + /// Saves new lyrics. + /// + /// The audio file the lyrics belong to. + /// The lyrics format. + /// The lyrics. + /// A representing the asynchronous operation. + Task SaveLyricAsync(Audio audio, string format, Stream lyrics); /// /// Get the remote lyrics. -- cgit v1.2.3