-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of overwriting the lyrics file, which may have been locally modified after download, skip processing if the lyrics file is already present. ``` Skipping 06 Vengeance Venom, lyrics file exists: /opt/docker-data/jellyfin/media/music/Leaves' Eyes/King of Kings (Deluxe Version)/06 Vengeance Venom.lrc [exact_search] requesting: http://lrclib.net/api/get?track_name=09+Haraldskv%C3%A6di&artist_name=Leaves%27+Eyes&album_name=King+of+Kings+%28Deluxe+Version%29&duration=204 ```
- Loading branch information
Showing
5 changed files
with
106 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
### Lyrics getter | ||
# Lyrics getter | ||
|
||
Huge thanks to https://github.com/tranxuanthang/lrclib ofc. | ||
Huge thanks to <https://github.com/tranxuanthang/lrclib> ofc. | ||
|
||
Uses lrclib.net to get lyrics for my Jellyfin library. Does /get, if unavailable tried to do /search | ||
|
||
Is very much dependant on having the Jellyfin suggested music library structure. (Artist/Album/Song). | ||
Is very much dependent on having the Jellyfin suggested music library structure. (Artist/Album/Song). | ||
|
||
To run go `lyricsrs <music_directory>` or clone the repo and `cargo run <music_directory>`. | ||
|
||
Will overwrite any .lrc files you already have with the existing name. | ||
Will not overwrite any .lrc files you already have with the existing name by default. | ||
|
||
Only does synced lyrics because they are cool. | ||
Only does synced lyrics by default because they are cool. | ||
|
||
## Flags | ||
|
||
`lyricsrs` accepts command-line flags to change its behaviour: | ||
|
||
- `--overwrite`: Overwrite lyrics files, if present, with lyrics from lrclib | ||
- `--allow-plain`: Allow writing plain lyrics if no synced lyrics are available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[00:36.00] Humppa negala | ||
[00:38.50] Humppa negala | ||
[00:39.25] Humppa negala | ||
[00:41.00] Venismechah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters