Comment 3 for bug 618182

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote : Re: [Bug 618182] Re: Roman Numerals with LyricsWikia

search speed is not a problem, slowdown depends on internet connection speed
what it does:
1. downloads all songs of the artist using lyrics.wikia API
2. generates a dictionary using song titles hash as key, hash algorithm is
taken from lyrics.mirkforce.net, basically it converts to lower case,
removes punctuation, spaces, things like '(bonus track)', etc.
this is done only once, thats why it is a little bit slower when downloading
song list for the first time, after that dictionary is saved in memory for
later usage, to save memory it saves only 10 artists, others are cached in
/tmp and recovered when/if required (this is fast), for the artist name same
hash algorithm is used, but it removes 'The' at the begining, so that 'The
Rolling Stones' and 'Rolling Stones' are matched the same
after that the plugin takes the link from dictionary and acts the same as
previous plugin, downloads the page and extracts lyrics

On Sat, Oct 30, 2010 at 10:56 PM, ENigma885 <email address hidden>wrote:

> Alexandr, I totally agree. CG automatically capitalizes the 1st letter of
> each word in song titles like the lyrics at
> http://lyrics.wikia.com/My_Dying_Bride:The_Wreckage_Of_My_Flesh are
> displayed although the song's title is "The Wreckage of My Flesh" and not
> "The Wreckage Of My Flesh".
> Which explains why GC only have a problem with Roman numerals, acronym, or
> other artist and song names using unusual combinations of capital letters
> like ShamRain for example.
> Another thing, could u elaborate with more details upon the new Wikia
> plugin u have made in case I can help by a means or another in formulating
> an idea with faster search.
>
> --
> Roman Numerals with LyricsWikia
> https://bugs.launchpad.net/bugs/618182
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for CoverGloobus.
>
> Status in CoverGloobus: Fix Committed
>
> Bug description:
> **Problem:-
> Track titles with Roman numbers like I, II, IV don't link to the proper
> lyrics page.
> _____________
>
> **Details:-
> - An example can clarify; a track title "A Collapse of Faith Part III"
> cannot link to the lyrics page @
> http://lyrics.wikia.com/October_Falls:A_Collapse_Of_Faith_Part_III. It
> links to "
> http://lyrics.wikia.com/October_Falls:A_Collapse_Of_Faith_Part_Iii" which
> doesn't display any lyrics.
> _____________
>
> **Possible Solution:-
> - Roman numerals should be recognized by CG not to change the case of the
> second+ digit like III to Iii.
> ______________
> Note:-
> A redirect page was made for the above example. So, the second link will
> display the original lyrics.
>
>
>
>