Try to parse lyrics files in txt files, fixes #582

This commit is contained in:
emeric
2025-01-05 21:14:44 +01:00
parent 1f6398b5b4
commit 06a4db51f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ $setmulti(albumartistssort,%_albumartists_sort%)
_LMS_ supports playlist files in `m3u` and `m3u8` formats. These playlists are synced during the scan process and are available as public shared playlists.
## Lyrics support
_LMS_ supports lyrics in `lrc` files and embedded track metadata. Both synchronized and unsynchronized lyrics are supported.
_LMS_ supports lyrics in `lrc` files, `txt` files, and embedded track metadata. Both synchronized and unsynchronized lyrics are supported.
## Keyboard shortcuts
* Play/pause: <kbd>Space</kbd>
+1 -1
View File
@@ -28,7 +28,7 @@ namespace lms::metadata
{
std::span<const std::filesystem::path> getSupportedLyricsFileExtensions()
{
static const std::array<std::filesystem::path, 1> fileExtensions{ ".lrc" }; // TODO handle ".txt" and ".elrc"
static const std::array<std::filesystem::path, 2> fileExtensions{ ".lrc", ".txt" }; // TODO handle ".elrc"
return fileExtensions;
}