Is it possible to run a script or external command when XMBC is switching profiles?
My plan is to make several OpenRGB profiles and call via command line to switch them according to the active XMBC profile (for various tasks).
The only problem right now is that I can't see any option which would allow me to call a cmd file or execute any windows commands when a profile is enabled.
Suggestions appreciated.
How to run external commands/scripts when XMBC profile is activated?
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Re: How to run external commands/scripts when XMBC profile is activated?
Urm, no its probably not right now..... , But its a great idea and I can see for those with RGB configs, that could be a great little indicator/helper, so I'll see what I can do.....
I cant promise anything quickly but it will be added to the list!
I cant promise anything quickly but it will be added to the list!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Re: How to run external commands/scripts when XMBC profile is activated?
I've added support for this in to 2.20 Beta 9... On the profile options tab, you can now specify a script/command to run when the profile becomes active. You can do this on a per-profile basis. I hope that works for you, seems to be good here (although I don't personally have any RGB type devices to mess with!)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)