<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 05/01/2024 10:30, Jan Hambrecht via mythtv-users wrote:</p>
<blockquote type="cite" cite="mid:6002981.lOV4Wx5bFT@delle">
<pre class="moz-quote-pre" wrap="">Am Freitag, 5. Januar 2024, 08:42:55 CET schrieb Timothy Witham:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On 1/4/24 15:54, Jan Hambrecht via mythtv-users wrote:
</pre>
<span style="white-space: pre-wrap">The lyrics come from python grabbers, one for each source that might</span></blockquote>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">have lyrics. Genius is tried early and finds a string like "9
Contributors" which stops the search. Lately I get good results only
from lyrics.com by manually selecting it from the list.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Yeah I noticed the Genius issue too.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Probably most of the grabbers need updates due to source site changes.
We could change the order to list more successful grabbers first, but
even this changes over time as sites break the grabbers.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Is the order configrable somewhere or is it hard-coded?
Ciao Jan
</pre>
</blockquote>
<p><br>
</p>
<p>The order is determined by the __priority__ number at the top of
each grabber eg.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/MythTV/mythtv/blob/master/mythtv/programs/scripts/metadata/Music/lyrics/alsong.py#L19">https://github.com/MythTV/mythtv/blob/master/mythtv/programs/scripts/metadata/Music/lyrics/alsong.py#L19</a></p>
<p><br>
</p>
<p>The grabbers where originally modified versions of the KODI
lyrics grabber from here :- <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://gitlab.com/ronie/script.cu.lrclyrics/">https://gitlab.com/ronie/script.cu.lrclyrics/</a></p>
<p><br>
</p>
<p>More specifically the grabbers from here :-</p>
<p><a class="moz-txt-link-freetext" href="https://gitlab.com/ronie/script.cu.lrclyrics/-/tree/master/lib/culrcscrapers">https://gitlab.com/ronie/script.cu.lrclyrics/-/tree/master/lib/culrcscrapers</a></p>
<p><br>
</p>
<p>It just needs someone with the time and enthusiasm to re-sync
ours with theirs. Shouldn't be a hard job.</p>
<p><br>
</p>
<p>Paul H. <br>
</p>
</body>
</html>