Roman Numerals with LyricsWikia

Bug #618182 reported by ENigma885
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CoverGloobus
Fix Committed
Low
Alexandr Grigorcea

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.

description: updated
Changed in covergloobus:
assignee: nobody → Alexandr Grigorcea (cahr-gr)
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

the problem is not only with roman numerals
lyrics.wikia needs camel cased titles, thats why case convertion is required, this transforms IIV in Iiiv, but lyrics.wikia uses a case sensitive search , so the search fails with roman numerals, but also with song names like SPORT (an acronym)
I've made another plugin, lyricswikia2, it downloads all artist song title from lyrics.wikia and uses its own case insensitive search, but may be a little bit slower when downloading song list for the first time

Changed in covergloobus:
status: Confirmed → Fix Committed
Revision history for this message
ENigma885 (enigma-pentagram) 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.

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.
>
>
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.