Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
1hitsong 2022-09-18 12:39:07 -04:00 committed by GitHub
parent 636835f73a
commit baf07ddbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ public class LrcLyricProvider : ILyricProvider
lyricList.Add(new Controller.Lyrics.Lyric(sortedLyricData[i].Text, ticks));
}
if (fileMetaData.Any())
if (fileMetaData.Count != 0)
{
// Map metaData values from LRC file to LyricMetadata properties
LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData);