2013-06-25, 08:17
Hi here is a little mod to start boblight with xbmc only and close it after you will close XBMC. It will also hide the cmd screen.
So the modified .bat file will look similar to:
Also create a file called XBMC.vbs in the same directory with content:
Now run the XBMC.vbs to start XBMC. You can of course make a shortcut to XBMC.vbs on desktop and if you want change an icon so it will have an icon from XBMC.
So the modified .bat file will look similar to:
Code:
MODE COM8:115200,N,8,1 >NUL
clear
tasklist /FI "IMAGENAME eq boblightd.exe" 2>NUL | find /I /N "boblightd.exe">NUL
if "%ERRORLEVEL%"=="0" goto running
C:\boblightd\boblightd.exe -c c:\boblightd\boblight.conf -f
ping 1.1.1.1 -n 1 -w 3000 > nul
"C:\Program Files (x86)\XBMC\XBMC.exe" -p
taskkill /f /im boblightd.exe
Also create a file called XBMC.vbs in the same directory with content:
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "start.bat", 0
Now run the XBMC.vbs to start XBMC. You can of course make a shortcut to XBMC.vbs on desktop and if you want change an icon so it will have an icon from XBMC.