Look up lyrics without exposing a concrete provider to the frontend. More...
Inherits Protocol.
Public Member Functions | |
| LyricsResultIf|None | get_lyrics (self, *str track_name, str artist_name, str album_name="", int duration_ms=0) |
| Return synchronized or plain lyrics for one track. | |
Look up lyrics without exposing a concrete provider to the frontend.
| LyricsResultIf | None frontends.tk.media.spotify_services_if.LyricsProviderIf.get_lyrics | ( | self, | |
| *str | track_name, | ||
| str | artist_name, | ||
| str | album_name = "", |
||
| int | duration_ms = 0 |
||
| ) |
Return synchronized or plain lyrics for one track.
| track_name | Track title used for the lyrics lookup. |
| artist_name | Artist name used for the lyrics lookup. |
| album_name | Optional album name used to improve lookup accuracy. |
| duration_ms | Optional track duration in milliseconds used to improve matching. |