mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
Auto stash before merge of "lyric-lrc-file-support" and "origin/lyric-lrc-file-support"
This commit is contained in:
@@ -13,6 +13,7 @@ using MediaBrowser.Controller.Dto;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Audio;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Lyrics;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Entities;
|
||||
@@ -414,8 +415,8 @@ namespace Jellyfin.Api.Controllers
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
// Super nieve implementation. I would suggest building a lyric service of some sort and doing this there.
|
||||
foreach (var provider in _lyricProviders)
|
||||
var result = MediaBrowser.Controller.Lyrics.LyricInfo.GetLyricData(_lyricProviders, item);
|
||||
if (result is not null)
|
||||
{
|
||||
provider.Process(item);
|
||||
if (provider.HasData)
|
||||
|
||||
Reference in New Issue
Block a user