INTERACT FORUM
More => Old Versions => JRiver Media Center 25 for Windows => Topic started by: GadgetBoy on August 10, 2019, 01:32:37 pm
-
I have a home automation event that runs a script that calls the media center executable and sends commands to media center.
Whenever media center is upgraded, I have to re-setup my events. Can I just rename the executable after I upgrade to a generic filename (like MC.exe) and save me the hassle of the edits?
Thanks,
Jim
-
I would recommend you copy it, and not rename it, since MC itself accesses it for a few functions as well. But otherwise I don't see why that wouldn't work.
-
I would recommend you copy it, and not rename it, since MC itself accesses it for a few functions as well. But otherwise I don't see why that wouldn't work.
Wouldn't that potentially run 2 instances of the application? If I am running MC.exe and it calls for MC25.exe, it will try to launch MC25.exe, correct?
That's how it surfaced on my PC that runs media center. I had started MC25.exe and then my script called MC24.exe and launched an instance of the prior version.
-
Use MCcl.exe instead:
https://blog.glynor.com/mccl
-
Use MCcl.exe instead:
https://blog.glynor.com/mccl
This is awesome. Thank you very much!
-
Use MCcl.exe instead:
https://blog.glynor.com/mccl
My antivirus application is preventing me from running...
-
My antivirus application is preventing me from running...
That's because it is unknown and it looks dangerous because it shells out commands. It happens. I wrote it and swear it has nothing bad so you could just set it to trust. All it does is lookup the current version from COM (when you use the --update flag), saves the version number to a data file (%AppData%\Roaming\glynor\MCcl\MCcl.opt), and then passes everything else to MC##.exe replacing ## with the saved version number.
But if you don't like it, the copy/paste/rename method Hendrik suggested works too. This is just an easier way to update it more quickly, really.