View Full Version : Doesn't the equalizer for JRMC work?
Mastiff
May 22nd, 2006, 08:56 AM
I can't seem to control the equalizer of JRMC. Is there a repoarted problem there? This concerns both the PPC and Win32 version, and JRMC 11 and 11.1 on several different computers in my house. It sems like it shows the correct settings for the eq, but nothing happens when I push the sliders.
jwilson56
May 22nd, 2006, 12:11 PM
I am using an old version of NR and JRMC 11 and I had problems with just the highest frequency slider not working.... I do not have the time to mess with all this right now so I live with that bug... not sure it ever got fixed and it sounds like maybe it got worse.
John
Ben S
May 22nd, 2006, 01:27 PM
Can you send me the same CCF you are using so I can replicate and resolve? I don't use EQ's in my standard or test ccf's but these should still work. When did you notice it stop working?
Mastiff
May 22nd, 2006, 10:39 PM
You've got mail.
Ben S
May 24th, 2006, 06:07 PM
Thanks Mastiff. The problem is that the slider thumb is now a component, not just an ID tag. The feedback registration is -also- a component, and you can't have two "components" on one button.
I've fixed this so you can register them via...
mb = NetRemote.GetPlugin('MediaBridge');
for i = 0,10
NetRemote.RegisterVariableWatch('MP.EQBand'..i,mb)
end;
Which doesn't work in build 68, but will in build 69.
Mastiff
May 24th, 2006, 11:04 PM
Thanks, O Wicked One (you don't think I'll ever forget my old friend the Wicked Ewok, do you?)! So I add that code to a Lua file in the Lua directory, or will that also be added to the release? Or is this code I have to add to each of the sliders?
Ben S
May 25th, 2006, 04:47 PM
If it were me, I'd add it to the top of your interface's lua file.
Mastiff
May 26th, 2006, 01:40 PM
OK, another stupid question: Is that the full code, or do I have to do code for each of the bands? :blush: (Oh, and where's the list of emoticons? I can't find it here!)
Ben S
May 27th, 2006, 11:31 AM
Not a stupid question. That's the full code. It loops through and registers all 10+1 eq bands.
Regarding the emoticons, you have to change to advanced mode.
Mastiff
May 27th, 2006, 04:33 PM
Thanks! And I did go advanced, but I still don't see any. Except for the Post Icons, and those aren't what I'm looking for. Where should I see them? Maybe it's because I use Maxthon instead of plain IE? :D
Ben S
May 27th, 2006, 08:22 PM
I see them both on the right side -> :)
And in a picklist on th top ^ :D
I just noticed that the actual smiles don't necessarily correspond with the ones I chose, though.
Mastiff
May 28th, 2006, 12:04 PM
Found it! It was the options, I had it set to the simplest interface... :rolleyes: Anyway, it's really stupid that you have to click anything first before you can click go advanced or just write an answer in the quick reply box. Is that possible to change?
Jlee
May 29th, 2006, 12:43 AM
Can I just clarify - to make the EQ work again do I just have to add that code to my Lua file or do I also need to edit the actions / ID tags on the sliders?
Ben S
May 29th, 2006, 05:29 AM
You'll just have to add that bit of Lua. No need to edit the sliders.
Hmmm. If enough people are using the EQ's, I could register them for feedback automatically, like I do with Volume, Track Position, etc.
Mastiff
May 29th, 2006, 01:46 PM
That would be nice! :)
Ben S
May 29th, 2006, 04:09 PM
Done in latest release (reuploaded as 2.0.0.69)
Mastiff
May 30th, 2006, 04:01 AM
Good man! :D Thanks!
Jlee
May 30th, 2006, 09:06 AM
I installed the latest release and feedback is working again on the EQ sliders. However, when I click one of the sliders and try to drag it, it instantly moves to the bottom of the slider bar and cannot be moved up it. Can anyone recreate this? If not I guess the settings are wrong on my slider components, though this is part of my CCF that was working before and hasn't been touched in ages.
Ben S
May 30th, 2006, 09:11 AM
Is this your standard CCF? I went through and did a full EQ test before uploading the new version. Is this on both Windows and PPC?
Jlee
May 30th, 2006, 10:55 AM
It happens on Windows & PPC. My latest CCF is on my FTP site but I tried with OpusNR2 also and that hasn't been touched in ages. Same result. I'm using the latest beta of JRMC 11.1.
swampcat
May 30th, 2006, 11:11 AM
I have the same results as JLee. Sometimes if i move one slider, another would move then if i shift it up, it would go to the bottom and stay there.
Mastiff
May 30th, 2006, 11:22 PM
I had that on first attempt. Then I restarted MediaBridge, JRMC and NetRemote, and it has been working since.
Jlee
May 31st, 2006, 12:12 AM
Tor, Please can you try it with OpusNR2 available from my web site and let me know what happens.
Mastiff
May 31st, 2006, 01:33 PM
"%&#¤"%&#¤!&%"¤!!!!!!! :( OK, I'm beat again! I don't know if it was your CCF or whatever, but suddenly the EQ doesn't work on any of my two JRMC computers! I'll have to reboot them both tomorrow (it's late) and see again. On Win32 the EQ didn't react, and I got crashes on exit every time, and on the PPC the slider jumped straight to the bottom when I used the eq. Something's funky here...
Ben S
May 31st, 2006, 05:27 PM
There is definitely an issue here, and it -may- be related to a double registration of the feedback. I'm guessing (but am going to verify) that if you open this CCF in NRD and just save it that it will now work.
Ben S
May 31st, 2006, 06:27 PM
When I said "may" I meant - there is 0 chance that could be the problem.
There were a few issues here, most notably that a vertical EQ wouldn't work right in almost all cases (It would work okay if (like in one of my tests) the EQ was the height of the window).
Also, if you went from a page with an explicit registration of MP.EQBand[0-10] to one with an implicit registration or use of the Lua registration, it would become unregistered. That's also been corrected.
Both fixes will be available in the next release (tomorrow evening, I believe).
Mastiff
May 31st, 2006, 09:35 PM
You're a star, Ben! :) I noticed that the same weirdness was happening with vertical volume and track position sliders, btw. I'm sure that's fixed in the same way.
Jlee
June 1st, 2006, 10:26 AM
Thanks Ben!
Now then TOR.... how could you possibly suggest it was my CCF at fault! Shame on you. Especially since the EQ in my CCF came from your CCF a long long time ago :-)
Mastiff
June 1st, 2006, 12:02 PM
Hey, everything that goes from Scandinavia to the UK goes downhill. Just look at the swedish manager on your national team! ;)
jwilson56
August 26th, 2006, 04:11 PM
Ok you lost me.... bit rusty at this stuff... where do I add that code?
Here is my lua file:
function OnVariableChange()
local pn = NetRemote.GetVariable("CIDEvent")
if (pn=="Incoming") then
NetRemote.ExecuteAction(-999,4,1,"C:\\Nowplaying\\MonitorCtrl.exe MON")
NetRemote.SetVariable("CIDEvent", "")
end;
end;
function ToggleMenu()
NetRemote.ExecuteAction(-999,4,1,"C:\\Nowplaying\\MonitorCtrl.exe TOGGLEMENU")
end;
function GoZone(zone)
local czone = NetRemote.GetVariable('MP.Zone');
if (czone == zone) then
--no need to switch
else
--clear the variables
NetRemote.SetVariable('MP.Track','');
NetRemote.SetVariable('MP.Artist','');
NetRemote.SetVariable('MP.Album','');
NetRemote.SetVariable('MP.Comment','');
NetRemote.SetVariable('MP.TrackPosition','');
NetRemote.SetVariable('MP.TrackLength','');
NetRemote.SetVariable('MP.PlaylistLength','');
NetRemote.SetVariable('MP.PlaylistPosition','');
NetRemote.SetVariable('Track #','');
NetRemote.SetVariable('MP.Last Played','');
NetRemote.SetVariable('MP.Number Plays','');
NetRemote.ExecuteAction(-10,2,255,'S MP.Zone '..zone,0);
NetRemote.SetVariable('MP.Zone',zone);
end;
end;
I looked for some newer CCF skins to download but there doesn't seem to be any new enough to have this working right.
Thanks for any help
John
Rob H
August 27th, 2006, 02:13 AM
I have a feeling that was addressed to me as a response to another thread?
First of all, OnVariableChange is deprecated - you should use RegisterVariableWatch for that instead, it's faster and avoids the use of the if statement. The manual (accessible from NRD) has details of using RegisterVariableWatch (under NetRemote callbacks)
You can just add the calls to RegisterVariableWatch for your sliders to OnCCFLoad (or add a function RegisterSliders that does this and call that from OnCCFLoad).
jwilson56
August 28th, 2006, 04:35 AM
Ben I think the EQ sliders are not working. Others have also told me that theirs didn't work either. Could you check on this and maybe post a small example CCF that does work.
Thanks
John
Ben S
August 28th, 2006, 05:44 AM
Sorry folks - this broke with the true multizone stuff.
Example file (Tested working) attached, as well as a NetRemoteServer.exe with a patch. I'll release a new install soon.
jwilson56
August 28th, 2006, 06:14 AM
Thanks Ben for the quick fix... I hadn't played with NR2.0 for more than a few minutes and I already broke it on you... hahahaha
I will keep playing....
John
Edit: Just tried this in Now Playing by adding the LUA lines and changing the sever file... it all works great... thanks
Mastiff
August 28th, 2006, 11:10 PM
Very nice, sir! :) Thanks, Ben!
Ben S
August 30th, 2006, 06:04 PM
You betcha.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.