2016-05-29, 16:32
Thanks to @vania70 for the -app part. I am having a few issues in my environment with the scripts but have come to a solution that works. I have Windows 10 and were having issues as follows:
1. Could only get IE to open fullscreen.
2. IE does not play Netflix in 64-bit version (that comes with WIndows 10).
3. CPU usage is at 25% generally within Kodi when waiting for script to return (the 'loop' part).
So here is what I did:
A. Corrected built in script for chrome. It seems chrome in .cmd files only needs a single '-' and not the '--' to work.
B. Removed the entire 'loop' part.
C. Added the '-app' command line script argument.
So my chrome.cmd is now simply:
if %PROCESSOR_ARCHITECTURE%==x86 (
"%ProgramFiles%\Google\Chrome\Application\chrome.exe" -start-maximized -disable-translate -disable-new-tab-first-run -no-default-browser-check -no-first-run -kiosk -app=%1
) else (
"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" -start-maximized -disable-translate -disable-new-tab-first-run -no-default-browser-check -no-first-run -kiosk -app=%1
)
There is an error popup in Kodi indicating it could not update the play count but I can live with that!
1. Could only get IE to open fullscreen.
2. IE does not play Netflix in 64-bit version (that comes with WIndows 10).
3. CPU usage is at 25% generally within Kodi when waiting for script to return (the 'loop' part).
So here is what I did:
A. Corrected built in script for chrome. It seems chrome in .cmd files only needs a single '-' and not the '--' to work.
B. Removed the entire 'loop' part.
C. Added the '-app' command line script argument.
So my chrome.cmd is now simply:
if %PROCESSOR_ARCHITECTURE%==x86 (
"%ProgramFiles%\Google\Chrome\Application\chrome.exe" -start-maximized -disable-translate -disable-new-tab-first-run -no-default-browser-check -no-first-run -kiosk -app=%1
) else (
"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" -start-maximized -disable-translate -disable-new-tab-first-run -no-default-browser-check -no-first-run -kiosk -app=%1
)
There is an error popup in Kodi indicating it could not update the play count but I can live with that!