View Full Version : Help! - Displaying JRMC Lyrics in NR
May 19th, 2004, 03:41 AM
I another thread you said you liked my ccf and have modified it to include lyrics and comments. I too would like to do this but I realise that it's not going to be as easy as just downloading your modified version of my ccf. I would really appreciate some step by step help.
I'm using Girder 3.2.9. so I know that the first step will be to fork out for the latest version. If I do will all of the other plug ins still be there and still work or will I need new versions (USBUIRT, XP OSD, Internet Event Server etc).
I also expect that I'll need another plug in (httpd?) to handle lyrics. Where can I get this and what do I do with it?
A short step by step guide would be really useful.
May 19th, 2004, 08:42 AM
You will need to upgrade girder to 3.3.
I got some files from Marcel. He sent me some html files, gml file and http server. I can gather these up and zip them and email them if you like.
I modified the lau script from Marcel to get the fields that I wanted from Media Center. I use "Bios" field for a review of the album from www.allmusic.com and I added "Artistinfo" field for a review of the artist from the same website. If you use atagger plugin, it will download and add this info for you songs to Media Center's database. I can gather these up and zip them and email them if you like.
You can PM me with your address and I'll email you them.
Also, if you exit Media Center and restart it you need to also restart girder. Otherwise the lyrics don't work. It has something to do with the connection between girder and Media Center.
May 19th, 2004, 10:00 AM
Thanks for your help. PM on way.
May 20th, 2004, 12:50 PM
I put all the files in the right places and modified the ccf to show the correct IP address and port but I'm getting nowhere. The lyrics page on NR just stays blank. I don't think the script is getting the lyrics from mc.
When I hit F5 in girder on the getlyrics command and check the variable for lyrics it says 'no lyrics found' even though MC is playing a track with lyrics on it. Also when I fire up the test.html page it returns an error saying it can't create the object. It's failing at line 10:
var mcio = new ActiveXObject("MCIOServer.MediaCentreInsideOutServer");
Any ideas what I'm doing wrong? These are the girder plugins I have running:
Lua events 1.0
Lua socket library 1.0
May 23rd, 2004, 03:40 AM
My latest stuff is here :
see readme.txt for installation instructions.
* It should now allow you to stop/start JRMC without having to restart girder.
* it uses girder instead of gacscheme to get the JRMC artist list AND album list which is quite a lot faster.
* Only works with NR >= .996 !!!
* It only works on win32 unless you remove all references to the various com objects in tonto (see readme.txt)
May 23rd, 2004, 04:23 PM
What did you change so that it should now allow you to stop/start JRMC without having to restart girder?
May 23rd, 2004, 04:26 PM
Very simple :
In the version that you are using, I connect to JRMC once when girder is started. and re-use that connection for every further request (this was designed for performance reasons).
Now, I connect to JRMC every time I do any request and disconnect when it's done.
I don't see a noticable difference in speed
May 23rd, 2004, 04:38 PM
I see in your new version in "Get Lyrics" you have a function MediaCenter.MCGetLyrics()
In your old version you had a script where the media center lua functions are initialized.
I can't find that in your new verion.
May 24th, 2004, 01:56 AM
Sorry, I don't know what you mean by that ?
all the lua code is in Mediacenter.lua (see readme.txt)
May 24th, 2004, 08:29 AM
I understand now. For example, the get lyrics in the girder gml file is calling the external file mediacenter.lua. In your old version of the gml file, the function get lyrics was in another part of the gml file.
May 24th, 2004, 08:40 AM
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.