2015-03-23, 17:13
Firstly, thanks for this utility which I’m finding really useful in my HTPC setup.
All is working well, except that I get a “cannot connect to remote server” dialog in Kodi when it executed following a suspend state. This doesn’t happen when Kodi is executed after a log-on.
I disabled the Kodi Video Library setting “update library on start-up” and the dialog doesn’t appear after resuming from suspend so I suspect that Kodi is trying to connect to the internet before the internet connection is re-established.
I looked at the source for Launcher4Kodi.ahk and saw that the code related to executing Kodi after log-on was:
If (StartKodiOnWinLogon = 1 and ReloadLauncher4Kodi = 0)
{
Sleep %StartupDelay%
LaunchApplication(KodiPath)
WinWait,Kodi,,2 ; wait 2 seconds
WinActivate, ahk_class Kodi ; activate and bring to front.
}
Whilst (I think) the code related to executing Kodi after suspend was:
Sleep %StartupDelay%
;WinWait,Kodi,,6 ; wait 6 seconds
WinActivate, ahk_class Kodi ; activate and bring to front.
LaunchApplication(KodiPath)
Could this cause my problem? Any help appreciated.
The messages in the log related to the dialog message are:
15:01:52 T:4228 ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
15:01:52 T:4228 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:01:52 T:4228 ERROR: ADDON::CScraper::Run: Unable to parse web site
15:01:52 T:4828 ERROR: Win32DllLoader::Load: Failed to load "atiadlxx.dll" with error 126: "The specified module could not be found.
"
15:01:52 T:4828 ERROR: LoadLibrary('atiadlxx.dll') failed
15:01:52 T:4828 ERROR: Win32DllLoader::Load: Failed to load "atiadlxy.dll" with error 126: "The specified module could not be found.
"
15:01:52 T:4828 ERROR: LoadLibrary('atiadlxy.dll') failed
All is working well, except that I get a “cannot connect to remote server” dialog in Kodi when it executed following a suspend state. This doesn’t happen when Kodi is executed after a log-on.
I disabled the Kodi Video Library setting “update library on start-up” and the dialog doesn’t appear after resuming from suspend so I suspect that Kodi is trying to connect to the internet before the internet connection is re-established.
I looked at the source for Launcher4Kodi.ahk and saw that the code related to executing Kodi after log-on was:
If (StartKodiOnWinLogon = 1 and ReloadLauncher4Kodi = 0)
{
Sleep %StartupDelay%
LaunchApplication(KodiPath)
WinWait,Kodi,,2 ; wait 2 seconds
WinActivate, ahk_class Kodi ; activate and bring to front.
}
Whilst (I think) the code related to executing Kodi after suspend was:
Sleep %StartupDelay%
;WinWait,Kodi,,6 ; wait 6 seconds
WinActivate, ahk_class Kodi ; activate and bring to front.
LaunchApplication(KodiPath)
Could this cause my problem? Any help appreciated.
The messages in the log related to the dialog message are:
15:01:52 T:4228 ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
15:01:52 T:4228 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:01:52 T:4228 ERROR: ADDON::CScraper::Run: Unable to parse web site
15:01:52 T:4828 ERROR: Win32DllLoader::Load: Failed to load "atiadlxx.dll" with error 126: "The specified module could not be found.
"
15:01:52 T:4828 ERROR: LoadLibrary('atiadlxx.dll') failed
15:01:52 T:4828 ERROR: Win32DllLoader::Load: Failed to load "atiadlxy.dll" with error 126: "The specified module could not be found.
"
15:01:52 T:4828 ERROR: LoadLibrary('atiadlxy.dll') failed