On Tue, Feb 15, 2011 at 6:20 PM, Matias Gea <mati...@gmail.com> wrote:
> Hi.
>
> I found very annoying that the lyrics fetched from Terra.br were
> terribly formatted, so I modified TerraParser.py to delete those
> annoying white spaces (actually, tabs) and line breaks before and
> after the title and artist. Here is the patch code (for version 0.13.1
> of Rhythmbox):
>
> 103,105d102
> <               rx = re.compile('^(\t|\n)+',re.M | re.S)
> <               artistitle = rx.sub('', artistitle)
> <
> 110c107
> <               lyrics = unescape_entities(artistitle) + "\n" + 
> unescape_entities(lyrics)
> ---
>>               lyrics = unescape_entities(artistitle) + 
>> unescape_entities(lyrics)

Wonderful !

I will take your patch and submit by the usual way

Thank you Matias !


-- 
Hardy Beltran Monasterios
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel@gnome.org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to