MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins » Hot Plugins » My Lyrics Plugin


My Lyrics Plugin MediaPortal Lyrics Plugin

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-03-21, 12:16   #11 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Lausanne
Age: 27
Posts: 90
Thanks: 3
Thanked 2 Times in 2 Posts

Country:


Default

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?
cedric is offline   Reply With Quote
Old 2007-03-21, 13:59   #12 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by mackey View Post
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.
Quote:
Originally Posted by cedric View Post
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.
Gaukaren is offline   Reply With Quote
Old 2007-03-21, 14:31   #13 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Lausanne
Age: 27
Posts: 90
Thanks: 3
Thanked 2 Times in 2 Posts

Country:


Default

Hello Gaukaren,


Quote:
Originally Posted by Gaukaren View Post
Quote:
Originally Posted by cedric View Post
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
cedric is offline   Reply With Quote
Old 2007-03-21, 15:03   #14 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 241
Thanks: 7
Thanked 22 Times in 8 Posts

Country:


Default

Quote:
Originally Posted by cedric View Post
Hello Gaukaren,


Quote:
Originally Posted by Gaukaren View Post
Quote:
Originally Posted by cedric View Post
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
mackey is offline   Reply With Quote
Old 2007-03-21, 15:26   #15 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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.

Last edited by Gaukaren; 2007-03-21 at 15:32.
Gaukaren is offline   Reply With Quote
Old 2007-03-21, 17:29   #16 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Lausanne
Age: 27
Posts: 90
Thanks: 3
Thanked 2 Times in 2 Posts

Country:


Default

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 .

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.

Quote:
Originally Posted by idioteque View Post
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

Last edited by cedric; 2007-03-22 at 14:29.
cedric is offline   Reply With Quote
Old 2007-03-21, 17:56   #17 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by cedric View Post
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.
Gaukaren is offline   Reply With Quote
Old 2007-11-14, 08:14   #18 (permalink)
Portal Member
 
AlphaLima's Avatar
 
Join Date: Jun 2006
Location: Kalkar NRW
Age: 41
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

--------------------------------------------------------------------------------

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
AlphaLima is offline   Reply With Quote
Old 2007-11-14, 08:53   #19 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Lausanne
Age: 27
Posts: 90
Thanks: 3
Thanked 2 Times in 2 Posts

Country:


Default

Quote:
Originally Posted by AlphaLima View Post
--------------------------------------------------------------------------------

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
cedric is offline   Reply With Quote
Reply

Bookmarks

Tags
017, mylyrics

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyLyrics 0.15 - Comments and bug reporting mackey My Lyrics Plugin 22 2007-03-03 11:28
MyLyrics 0.14 - Comments and bug reporting mackey My Lyrics Plugin 27 2007-02-22 05:53
MyLyrics 0.13 - Comments and bug reporting mackey My Lyrics Plugin 17 2007-02-04 12:11
MyLyrics 0.12 McBee Plugins/Erweiterungen 6 2007-02-01 14:14
MyLyrics sync with .lrc files faleloncio Plugins 3 2006-09-23 09:40


All times are GMT +1. The time now is 23:51.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress