mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 06:25:10 +00:00
feat(music): add shared LRC and SRT lyric helpers to core music
This commit is contained in:
@@ -199,9 +199,10 @@ Each subclass adds its own required fields on top of `id_` and `service`:
|
||||
read: `album_artist`, `release_type`, `total_tracks`, `total_discs`, `genre`,
|
||||
`explicit`, `isrc`, `upc`, `copyright`, `label`, `lyrics`, `synced_lyrics`,
|
||||
`lyrics_suffix`, and `artwork_url`. Read the class for the current list. Give `lyrics` as
|
||||
plain text: the tagger embeds it as is. With `synced_lyrics` (timed LRC or TTML) and
|
||||
`lyrics_suffix` (`".lrc"`, `".ttml"`), unshackle also saves the timed lyrics beside the
|
||||
final audio file under that suffix.
|
||||
plain text: the tagger embeds it as is. With `synced_lyrics` (timed LRC, SRT or TTML) and
|
||||
`lyrics_suffix` (`".lrc"`, `".srt"`, `".ttml"`), unshackle also saves the timed lyrics beside the
|
||||
final audio file under that suffix. To make LRC or SRT text from millisecond times, use
|
||||
`lrc_stamp`, `cues_to_lrc`, `lrc_to_cues` and `cues_to_srt` from `unshackle.core.music`.
|
||||
You can set these fields in `get_tracks()` too, and a remote client gets them back.
|
||||
|
||||
For a playlist whose songs keep the tags of their own album, give `position` (a positive integer,
|
||||
|
||||
Reference in New Issue
Block a user