MyLyrics 0.17 (1 Viewer)

cedric

Portal Pro
October 28, 2006
127
4
44
Lausanne
Home Country
Switzerland Switzerland
Hello Mackey,

Very good plugin, but I've still have a problem with it, i'm swiss french and there is problem with special french letters like "é" "è" "à" etc..

Do you think It's possible to do anything with this issue?
 

Gaukaren

Portal Member
January 23, 2007
41
0
However, I don't know much about SQLite so cannot say if that would have been a better approach. You are welcome to enlighting me.
Thanks for the info. My first thought when you said 'binary database' was that you had transferred to an SQL-based system for managing the data when ditching the XML-file. When I realized you hadn't and the code wasn't in the latest release, I just figured I'd ask. As for SQLite as the engine: It's small, fast, embedded, and already in the codebase, thus it would have been my choice for a project such as this.
Hello Mackey,Do you think It's possible to do anything with this issue?
I'm not him, but it depends. For some lyrics, an option to override the character-encoding could fix the lyric, but for others (lots of songs from Lyricwiki, for example) it has already been 'destroyed' by using the wrong charset when it was imported/harvested to the site from which My Lyrics is getting it.
 

cedric

Portal Pro
October 28, 2006
127
4
44
Lausanne
Home Country
Switzerland Switzerland
Hello Gaukaren,


Hello Mackey,Do you think It's possible to do anything with this issue?
I'm not him, but it depends. For some lyrics, an option to override the character-encoding could fix the lyric, but for others (lots of songs from Lyricwiki, for example) it has already been 'destroyed' by using the wrong charset when it was imported/harvested to the site from which My Lyrics is getting it.


I explain better the problem.

The import of lyricks from web site works. But it erease some special letters.
For example

Initial text:
"Pourquoi j'ai mangé mon père"

In my lyricks
"Pourquoi j'ai mang mon pre"

Sometimes it's realy difficult to read the lyricks.

If it's possible i propose to change special french letters to normal letters, like
é -> e
è -> e
à -> a

Thanks .

Cédric
 

mackey

Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    Hello Gaukaren,


    Hello Mackey,Do you think It's possible to do anything with this issue?
    I'm not him, but it depends. For some lyrics, an option to override the character-encoding could fix the lyric, but for others (lots of songs from Lyricwiki, for example) it has already been 'destroyed' by using the wrong charset when it was imported/harvested to the site from which My Lyrics is getting it.


    I explain better the problem.

    The import of lyricks from web site works. But it erease some special letters.
    For example

    Initial text:
    "Pourquoi j'ai mangé mon père"

    In my lyricks
    "Pourquoi j'ai mang mon pre"

    Sometimes it's realy difficult to read the lyricks.

    If it's possible i propose to change special french letters to normal letters, like
    é -> e
    è -> e
    à -> a

    Thanks .

    Cédric

    Hi Cédric. Please throw me a couple (the more the better) links to lyrics that is formatted incorrectly. Alternatively the artistname, title and site. Then I'll give it a look. thanks
     

    Gaukaren

    Portal Member
    January 23, 2007
    41
    0
    Cédric,

    I understand what you're saying.

    The problems you're experiencing with umlauts accents or other special characters are, as I mentioned, due to the lyric being transferred using the wrong character encoding or due to having been stored on the website using said wrong character encoding. The first issue can potentially be fixed within My Lyrics, the latter reasonably cannot.

    Not to get into the intricacies of unicode and whatnot, but you could look up one of the troublesome lyrics on the sites supported by the plugin. Does it look OK - or you can make it look OK by manipulating the character encoding settings - in your browser? If yes, then it could possibly be fixed. If not, like may lyrics from Lyricwiki, then you're SOL for now and will have to edit the lyric yourself (or possibly wait until My Lyrics can support harvesting lyrics from a site that has a consistent backend giving you an undamaged version using the proper encoding).

    The reason for this happening is probably that many lyrics sites have used a similar method to My Lyrics to populate their sites: I.e. a spider grabbing stuff from elsewhere on the net. This may not have been done properly and so [somesite.com] could have ended up with different text-encodings in their databases without a system in place to convert the strings or send the correct header for proper decoding by the browser when queried on the web.

    Then [someothersite.com] (or My Lyrics) comes along and asks for a lyric. The server on [somesite.com] says (for example) that the lyric is in the charset UTF-8, while the text is in fact using the charset ISO-8859-1. At this point the data will be interpreted wrong and some characters in the lyric will be garbled. Now, [someothersite.com] or My Lyrics could try to auto detect the correct encoding or allow for a manual override (like the menu in your browser) to ensure that [somesite.com] isn't giving bad information, at which point it is possible to get the correct characters back. However, My Lyrics does not currently do this, and apparently neither did Lyricwiki (aka. [someothersite.com]) and the lyric consequently get stored with garbled or stripped characters instead of the proper ones.
     

    cedric

    Portal Pro
    October 28, 2006
    127
    4
    44
    Lausanne
    Home Country
    Switzerland Switzerland
    Ok, I searched on the different web sites of lyrics an example. I think the problem comes from the lyrics sites and not the plugin :oops: .

    I searched for this example:

    My Lyrics

    Si tu es n dans une cit HLM
    Je te ddicace ce pome

    lyricwiki

    Si tu es n� dans une cit� HLM
    Je te d�dicace ce po'me

    lyricsondemand

    Si tu es n dans une cit HLM
    Je te ddicace ce pome

    lyrics007

    Si tu es né dans une cité HLM
    Je te dédicace ce poème

    hotlyrics

    Si tu es né dans une cité HLM
    Je te dédicace ce poème

    The only good lyric comes from hotlyrics and it's probably chance, with an other song it's not the same.

    So I agree with Idioteque, to add a manuel mode in the config wich you can accept the lyric or search an other better.

    Great news mackey !!! I love the plugin.

    Another thing that would be great is a accept and reject button in the my lyrics GUI.

    If My Lyrics finds a lyric I can, in the gui choose whether to accept the lyric from this particular website or not and continue to search, for example if the lyrics are wrong or the formatting is all bad :)

    THx for the great suppport !!

    Cédric
     

    Gaukaren

    Portal Member
    January 23, 2007
    41
    0
    The only good lyric comes from hotlyrics and it's probably chance, with an other song it's not the same.
    The lyric from lyrics007 is an example of a lyric that can possibly be salvaged. It is presented as ISO-8859-1 while the correct encoding is UTF-8. Try to make this change in your browser an you'll see that it turns correct (while other text get garbled). It is possible to attempt to auto detect this or allow for a similar 'manual override' also in My Lyrics/Mediaportal, although I don't know whether it would be worth it to implement.

    Probably better to come up with some ingenious way to include more (and higher quality) sources accessible by the plugin.
     

    AlphaLima

    Portal Member
    June 4, 2006
    13
    0
    58
    Kalkar NRW
    Home Country
    Germany Germany
    --------------------------------------------------------------------------------

    Hi,
    what a fantastic plugin!
    But when playing a song via Last.FM it is possible to open MyLyrics. The display shows the current playing song, but it does not search for the lyric. Is this not supported until now, am I wrong or is it a bug?
    regards
    AL
     

    cedric

    Portal Pro
    October 28, 2006
    127
    4
    44
    Lausanne
    Home Country
    Switzerland Switzerland
    --------------------------------------------------------------------------------

    Hi,
    what a fantastic plugin!
    But when playing a song via Last.FM it is possible to open MyLyrics. The display shows the current playing song, but it does not search for the lyric. Is this not supported until now, am I wrong or is it a bug?
    regards
    AL

    Hello,
    It's not supported, the plugin use the musicdatabase, so it's not possible to use it with last.Fm.

    I don't know if you write your question in the worng thread (lyrics V0.17) or if you use this version but the last version is 0.22.

    Cédric
     

    Users who are viewing this thread

    Top Bottom