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

Closed Thread
 
Thread Tools Display Modes
Old 2007-01-23, 13:26   #201 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Pohlheim
Age: 44
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Hi Mackay,

it's very easy to implement the lyrics from mp3-files. All you need is in the MediaPortal libraries included.

Look:

using MediaPortal.TagReader;

if (Filetyp = "MP3")
{
MusicTag tag = TagReader.TagReader.ReadTag("d:\my music\Queen\The miracle.mp3");
String lyrics = tag.Lyrics;
}

Tom
tklapettek is offline  
Old 2007-01-23, 19:42   #202 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by tklapettek View Post
Hi Mackay,

it's very easy to implement the lyrics from mp3-files. All you need is in the MediaPortal libraries included.

Look:

using MediaPortal.TagReader;

if (Filetyp = "MP3")
{
MusicTag tag = TagReader.TagReader.ReadTag("d:\my music\Queen\The miracle.mp3");
String lyrics = tag.Lyrics;
}

Tom
Holy s***. I didn't knew that the new tagreader supported lyrics! I believe I in some thread had read that the lyric tag still wasn't supported, but I guess that news was updated, or not related to the new tagreader.. Hmm, cannot believe I didn't knew this.

Anyhow, it's great news! (at least for me... hehe) and thanks a bunch for letting me know. I have already made the few necessary changes and tested with success for both mp3s and wma's. LRC-formatted content in the lyrics-tag will likewise be supported.

In addition I fixed the incompatible-issue with the latter SVN's, so the next release will once again be compatible with the daily SVN's.
mackey is offline  
Old 2007-01-24, 13:21   #203 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 46
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Hi Mackey so a 0.12 version for this week-end !!

Some other things that go with this possibility to read tags :
-be able to choose to save the found lyrics inside the MP3
-be able to search the internet also for lrc files

Continue your good work, we're enjoying !
MEGA180 is offline  
Old 2007-01-24, 13:56   #204 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,698
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

Quote:
Originally Posted by MEGA180 View Post
Some other things that go with this possibility to read tags :
-be able to choose to save the found lyrics inside the MP3
read != write
__________________
rtv is offline  
Old 2007-01-24, 15:15   #205 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by MEGA180 View Post
Hi Mackey so a 0.12 version for this week-end !!

Some other things that go with this possibility to read tags :
-be able to choose to save the found lyrics inside the MP3
-be able to search the internet also for lrc files

Continue your good work, we're enjoying !
As rtv points out it's is not possible at the moment to write lyrics to tags. It is a much rather complicated matter than you should think, and due to the work required it isn't my top-focus at the moment. At some point it might be relevant to look at one of the unmanaged tag libraries that have, but the time isn't now.

It is most interesting to look at a couple of lrc-sites that at the possibilities to fetch the lrc-data from these. Especially without the use of the google webservice, that the fetching of the currently supported ordinary lyrics sites - except lyricwiki.org - is relying heavily on.

thanks for your comment.
mackey is offline  
Old 2007-01-24, 19:39   #206 (permalink)
Portal Member
 
Join Date: Nov 2006
Location: Durban
Age: 28
Posts: 212
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

I noticed there are quite a few songs with no lyrics? Is that due to the default search site not being up to date? I tried to get a google license and i get this message:

We are no longer issuing new API keys for the SOAP Search API. (Developers with existing SOAP Search API keys will not be affected.) Depending on your application, the AJAX Search API may be a better choice for you instead. It tends to be better suited for search-based web applications and supports additional features like Video, News, Maps, and Blog search results.

Should i get a AJAX search API key? I am a leetle confused about this whole thing
Bobb25 is offline  
Old 2007-01-24, 20:20   #207 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by Bobb25 View Post
I noticed there are quite a few songs with no lyrics? Is that due to the default search site not being up to date? I tried to get a google license and i get this message:

We are no longer issuing new API keys for the SOAP Search API. (Developers with existing SOAP Search API keys will not be affected.) Depending on your application, the AJAX Search API may be a better choice for you instead. It tends to be better suited for search-based web applications and supports additional features like Video, News, Maps, and Blog search results.

Should i get a AJAX search API key? I am a leetle confused about this whole thing
The plugin is most effective if you was lucky enough to get a google licence key before they stopped issuing them. It is quite obvious that you stand stronger if you have a key and can use all of the 9 supported sites and not "just" lyricwiki which content is accessable using a web service. Also the lyricwiki webservice isn't that stable as you could wish.

I ran a test on my setup the other day with 100 songs made by famous artists like Eminem, Anastacia, Coldplay, Radiohead and alike. Of the 100 randomly picked tracks 93 was found. Five of the remaining seven had some info in the tag-line that might be the cause for a suitable lyrics not to be found, and the last two just couldn't found. So when running with a license key the hit ratio isn't that bad (and still improving from release to release!). Lyrics for titles by lesser known artists are not often to be found by a lyric sites, and is natural also not that often returned by the MyLyrics plugin.

The mentioned AJAX search feature is only useful for webform or Internet based application and do not (as far as I could understand), and cannot be used directly in a windows application to access the google search engine, as the google webservice does. Quite a pity.

But hopefully it will be possible in the future to support various lyrics/lrc-sites without the use and dependency of the google ws. In that way all users will be able to search multiple lyric sites in a clear contrast to now.
mackey is offline  
Old 2007-01-24, 21:55   #208 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: The Netherlands
Age: 22
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to trojkolka
Default

maybe the http://evillabs.sk/mylyrics/ site will work for that... searching for lyrics on this page is quite easy and i dont think crawling the lyric will be that hard. The database contains a bit more than 140.000 lyrics.
Every lyric can be found at its personal link formatted like this: http://www.evillabs.sk/lyrics/Styx+-+Shooz
http://www.evillabs.sk/lyrics/Audios...Me+How+To+Live etc.
I'm no programmer what so ever... just have a look and maybe it can help this awesome plugin.
__________________
Trojkolka

Last edited by trojkolka; 2007-01-24 at 21:57. Reason: added format info
trojkolka is offline  
Old 2007-01-24, 22:38   #209 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by trojkolka View Post
maybe the http://evillabs.sk/mylyrics/ site will work for that... searching for lyrics on this page is quite easy and i dont think crawling the lyric will be that hard. The database contains a bit more than 140.000 lyrics.
Every lyric can be found at its personal link formatted like this: http://www.evillabs.sk/lyrics/Styx+-+Shooz
http://www.evillabs.sk/lyrics/Audios...Me+How+To+Live etc.
I'm no programmer what so ever... just have a look and maybe it can help this awesome plugin.
Yes, it indeed looks like the evillabs-site will be very useable due to the predictive urls they are working with. It's the only second site that I have seen which can be used for direct access without first searching Google for a working url. The other site was LyricWiki which then released a web service to search the site (Since the webservice isn't always that stable I might use both the ws and the fetching function for lyricwiki to get better performance).

Back to evillabs... due to the easy to predict address of a title, it will be quite simple to fetch lyrics from the site, so it has been added to my list, and hopefully be implemented not so long from now.

Thanks for the tip, and please, don't hesitate to mention similar syntaxed site-addresses here, so we can get past the Google-dependence of MyLyrics.
mackey is offline  
Old 2007-01-25, 12:05   #210 (permalink)
Portal Member
 
Join Date: Nov 2006
Location: Durban
Age: 28
Posts: 212
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by mackey View Post
Quote:
Originally Posted by Bobb25 View Post
I noticed there are quite a few songs with no lyrics? Is that due to the default search site not being up to date? I tried to get a google license and i get this message:

We are no longer issuing new API keys for the SOAP Search API. (Developers with existing SOAP Search API keys will not be affected.) Depending on your application, the AJAX Search API may be a better choice for you instead. It tends to be better suited for search-based web applications and supports additional features like Video, News, Maps, and Blog search results.

Should i get a AJAX search API key? I am a leetle confused about this whole thing
The plugin is most effective if you was lucky enough to get a google licence key before they stopped issuing them. It is quite obvious that you stand stronger if you have a key and can use all of the 9 supported sites and not "just" lyricwiki which content is accessable using a web service. Also the lyricwiki webservice isn't that stable as you could wish.

I ran a test on my setup the other day with 100 songs made by famous artists like Eminem, Anastacia, Coldplay, Radiohead and alike. Of the 100 randomly picked tracks 93 was found. Five of the remaining seven had some info in the tag-line that might be the cause for a suitable lyrics not to be found, and the last two just couldn't found. So when running with a license key the hit ratio isn't that bad (and still improving from release to release!). Lyrics for titles by lesser known artists are not often to be found by a lyric sites, and is natural also not that often returned by the MyLyrics plugin.

The mentioned AJAX search feature is only useful for webform or Internet based application and do not (as far as I could understand), and cannot be used directly in a windows application to access the google search engine, as the google webservice does. Quite a pity.

But hopefully it will be possible in the future to support various lyrics/lrc-sites without the use and dependency of the google ws. In that way all users will be able to search multiple lyric sites in a clear contrast to now.
Ok, Great. Thought i was missing something somewhere! I only checked a handful of songs and my hit rate didnt seem too good with lyricwiki... could have just been bad choice of songs
Bobb25 is offline  
Closed Thread

Bookmarks

Tags
lyrics, original, plugin, thread

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
About: My Lyrics Plugin mackey My Lyrics Plugin 10 2008-11-28 21:50
(original thread) MCE Replacement Plugin v1.0.0 and-81 MCE Replacement Plugin 532 2007-02-24 00:24
(original thread) MP-TVSeries Inker My TVSeries 666 2007-02-21 22:15
Lyrics Plugin Anonymous Improvement Suggestions 0 2004-05-07 19:09


All times are GMT +1. The time now is 09:38.


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
Advertisement System V2.6 By   Branden