> and thereby I have a (maybe stupid, hrrm) question. Is the new class an
> entire new file or is it just code in an already existing file? Which
> one?
You can add it to the JavaScript already in that file. Something like
SqueezeJS.UI.Lyrics = Ext.extend(SqueezeJS.UI.Component, {
onPlayerStateChange : function(result){
// your code here to update the lyrics or whatever
...
...
}
});
> I think it will be best to store the bios as .txt files somewhere and
> then get the appropriate text and "paste" it into "nowplaying". See
> example file in #93
>
> What do you think about that?
You can't store the biographies, lyrics etc. in that page, or you would have to
create a different page for every artist/track, right?
But you could eg. store it in the tracks COMMENT tags, then use this tag (it's
read by SC) to display your content.
--
Michael
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss