What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Adding lyrics-websites on Now Playing

Adding lyrics-websites on Now Playing
Author: Message:
murko
Junior Member
**

Avatar

Posts: 26
55 / Male / Flag
Joined: Aug 2007
O.P. Adding lyrics-websites on Now Playing
Am using Matt -dt-īs script Now PLaying v. 1.3.4 on my computer and many of my songs in playlist cant be found on those three inbuilt pages

Now I have found a couple of great sites that I would like to implement in the script. Is this something I can do myself? (call me noob =)) or do I have to send in a requesrt for it to be built in in comming versions?

In that case, this is a request....
lyricwiki.org, is a page I would like to add..... for starters. If this is actually something I could add myself (WITH TUTORIAL AND/OR HELP) I be glad to add even more sites myself later on


Thanx in advance

/michael
09-06-2008 11:53 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Adding lyrics-websites on Now Playing
As the script needs to extract the lyrics from the website, I think it's something -dt- would need to implement himself
<Eljay> "Problems encountered: shit blew up" :zippy:
09-06-2008 11:55 AM
Profile PM Find Quote Report
murko
Junior Member
**

Avatar

Posts: 26
55 / Male / Flag
Joined: Aug 2007
O.P. RE: Adding lyrics-websites on Now Playing
Lets hope he sees this then =)

if not, I guess I have to bother him with a PM
09-06-2008 01:20 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Adding lyrics-websites on Now Playing
you can create them with a little programming knowledge there's a folder called lyric_parsers in the Now Playing script folder you'll find examples there

the script will auto load any file in there, just make sure you follow the correct lyric file syntax

eg

custom.lyrics.js
code:
var name = "custom lyrics"; //name shown
var className = "lp_custom"; //the object name

var lp_custom = function(){}

lp_custom.prototype = {
"getList" : function(title, artist, callback){
    /*do whatever you have to do with the title and artist, then call the callback and pass an array of objects with the format of

{id : "", artist : "", title : ""}

*/

  },


getLyrics : function(id, callback){
/*
    id is the id you provide in the above function
    once you get the lyrics, call the callback with the lyrics as a string
*/
}
}


[Image: dt2.0v2.png]      Happy Birthday, WDZ
09-06-2008 01:48 PM
Profile PM Web Find Quote Report
murko
Junior Member
**

Avatar

Posts: 26
55 / Male / Flag
Joined: Aug 2007
O.P. RE: Adding lyrics-websites on Now Playing
ok. will check that out. But really dont expect me to pull it off =)
09-06-2008 01:58 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Adding lyrics-websites on Now Playing
unzip this to "c:\program files\messenger plus! live\scripts\now playing\lyric_parsers":


[Image: lyricwikiscriptyr7.jpg]


btw dt, now playing doesn't work with 64-bit wmp :<

.zip File Attachment: Lyricwiki.lyrics.zip (761 bytes)
This file has been downloaded 148 time(s).

This post was edited on 09-06-2008 at 03:18 PM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
09-06-2008 03:00 PM
Profile PM Web Find Quote Report
murko
Junior Member
**

Avatar

Posts: 26
55 / Male / Flag
Joined: Aug 2007
O.P. RE: RE: Adding lyrics-websites on Now Playing
quote:
Originally posted by ShawnZ
unzip this to "c:\program files\messenger plus! live\scripts\now playing\lyric_parsers":




Wow. ShawnZ! Thanx a million. I will remember you when I want to add a couple of more sites ;)
09-06-2008 04:00 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On