Conversation
This adds the syllable_lyrics endpoint for ttml and prefers those over the lyrics in the metadata, if available. It falls back to the metadata lyrics if they are not.
|
Would it be possible to have the option of embedding line-synced lyrics in the audio file, whilst having syllable-lyrics download in an external .ttml file? If no syllable-lyrics exist for the given track , it should just skip the external file. Great work on this PR, hopefully it gets merged ASAP. |
|
Embedding might be better as a separate PR with a command line option to embed? I for one need to download all the lyrics files available as separate files... |
Agreed, an option in the config file would be the best approach. |
|
Let me know what options you would like to see. |
|
Im not sure if this is too complicated to code as I have no experience but here is what I think is a good approach. 2 lyrics parameters, one for "embedded lyrics format" and another for "external lyrics format. Both would have the following options to choose from:
Thanks! |
|
My use case was easy, get the best (word-synced > line-synced > unsynced) lyrics available as ttml, write to file and embed. So this was easy to solve, just request the best available and write that to file and embed into the audio file. Other use cases seem to make things more complicated:
|
|
Completely understandable. My issue with only having the .ttml format is that most media players do not support it. Unsynced and line-synced .lrc is widely compatible. TTML really only makes for syllable-level lyrics as thats the only format that can properly do them. However, I do understand that it is the native apple format. An option to have an external .ttml file with no embedded lyrics in the audio file itself would be more than enough. Thanks! The following project might help as it achieves this: https://github.com/zhaarey/apple-music-downloader |
This adds the syllable_lyrics endpoint for ttml and prefers those over the lyrics in the metadata, if available. It falls back to the metadata lyrics if they are not.