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:
-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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Adding lyrics-websites on Now Playing - by murko on 09-06-2008 at 11:53 AM
RE: Adding lyrics-websites on Now Playing - by Spunky on 09-06-2008 at 11:55 AM
RE: Adding lyrics-websites on Now Playing - by murko on 09-06-2008 at 01:20 PM
RE: Adding lyrics-websites on Now Playing - by -dt- on 09-06-2008 at 01:48 PM
RE: Adding lyrics-websites on Now Playing - by murko on 09-06-2008 at 01:58 PM
RE: Adding lyrics-websites on Now Playing - by ShawnZ on 09-06-2008 at 03:00 PM
RE: RE: Adding lyrics-websites on Now Playing - by murko on 09-06-2008 at 04:00 PM


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