Enable search using duration
Opened this issue · 3 comments
Let us get the results in lrclib.net after entering the duration.
Example
-
I want to get the lyrics of the second song with runtime 3:06. I searched for 'Numb 3:06' but got no results
Please let us get results by using runtime
Tip : also include results for 'Numb 3:05' and 'Numb 3:07' when searched for 'Numb 3:06'
As per the API
Note: The provided duration is crucial. LRCLIB will attempt to provide the lyrics only when the duration matches the record in LRCLIB's database, or at least with a difference of ±2 seconds in duration.
So it should probably show any result within ±2 seconds
As per the API
Note: The provided duration is crucial. LRCLIB will attempt to provide the lyrics only when the duration matches the record in LRCLIB's database, or at least with a difference of ±2 seconds in duration.
So it should probably show any result within ±2 seconds
even ±2 seconds will do if it means I'll get the lyrics easily.
Yeah, it's the same thing as what you suggested in the Tip at the end of your original post, just a bit more tolerant and consistent with the LibLRC API.