Try to parse lyrics files in txt files, fixes #582
This commit is contained in:
@@ -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.
|
_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
|
## 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
|
## Keyboard shortcuts
|
||||||
* Play/pause: <kbd>Space</kbd>
|
* Play/pause: <kbd>Space</kbd>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace lms::metadata
|
|||||||
{
|
{
|
||||||
std::span<const std::filesystem::path> getSupportedLyricsFileExtensions()
|
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;
|
return fileExtensions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user