Delay XBMC startup?
#1
Hi,

Im running Windows 7 and XBMC on my INTEL NUC computer that his hocked up to a Sound Blaster 5.1 Pro USB(to get optic out).

XBMC is placed in the startup folder to automaticly start it when Windows starts. The problem is that the soundcard is not fully loaded when XBMC starts and this means that the audio settings will revert back to audio over HDMI to TV.

If I restart XBMC it will find the drivers and I can set it manually in settings.

So how could this be solved? Can we get XBMC to start after all drivers is loaded?

It seems to be the same problem with mapped networks drivers but that is a different story.
Reply
#2
You can try XBMCLauncher. I've no problem with it so far.

http://forum.xbmc.org/showthread.php?tid=136798

Might not be direct solution but works for me.
Reply
#3
and why not just do the most easiest was by adding "-d 5"?

http://wiki.xbmc.org/?title=XBMC_for_Win...th_a_delay


searching before asking might limit the questions you have
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
(2013-03-28, 19:03)Martijn Wrote: and why not just do the most easiest was by adding "-d 5"?

http://wiki.xbmc.org/?title=XBMC_for_Win...th_a_delay


searching before asking might limit the questions you have

Nice, thanks! That solved the problem.
Reply
#5
(2013-03-28, 21:05)snowjim Wrote:
(2013-03-28, 19:03)Martijn Wrote: and why not just do the most easiest was by adding "-d 5"?

http://wiki.xbmc.org/?title=XBMC_for_Win...th_a_delay


searching before asking might limit the questions you have

Nice, thanks! That solved the problem.

a few years ago this worked for me. with the current kodi version and windows 10 it suddenly doesn't work anymore... can someone help?
Reply
#6
(2013-03-28, 19:03)Martijn Wrote: and why not just do the most easiest was by adding "-d 5"?

http://wiki.xbmc.org/?title=XBMC_for_Win...th_a_delay


searching before asking might limit the questions you have


it seems this does not work with kodi 18.2 x64/windows10. can anyone confirm/help?
Reply
#7
(2019-05-25, 10:43)Ed76 Wrote: it seems this does not work with kodi 18.2 x64/windows10. can anyone confirm/help?
I tired every which way to get it to work without success, but; I'm using portable mode for all my installs and perhaps stacking the -p instruction is the proverbial fly in the ointment. Could be a work-round or another solution, why do you want a delay?
Reply
#8
so it seems this feature is broken with kodi 18. is someone able to fix this?
Reply
#9
(2019-05-29, 18:57)Ed76 Wrote: someone able to fix this?
I'm sure there is, but without a trac in the bug tracker, it's not like anyone knows.
Reply
#10
Well i was looking for an answer for this problem and was pointed to this thread as it is a know bug.

So here is a work around until we here it is fixed.

Create a bat file to launch kodi with the commands you are now using. Just add a delay in the bat file before you start kodi

@echo OFF
rem
rem Wait 120 seconds
ping -n 120 127.0.0.1 > nul
rem
E:\
cd Kodi18
start E:\Kodi18\kodi.exe -p
exit
Reply
#11
(2019-09-14, 22:35)Rainey222 Wrote: Well i was looking for an answer for this problem and was pointed to this thread as it is a know bug.

So here is a work around until we here it is fixed.

Create a bat file to launch kodi with the commands you are now using. Just add a delay in the bat file before you start kodi

@echo OFF
rem
rem Wait 120 seconds
ping -n 120 127.0.0.1 > nul
rem
E:\
cd Kodi18
start E:\Kodi18\kodi.exe -p
exit
You may find that kodi dose not have focus after started this way.
in that case you have to add another command to switch focus to kodi.
I found this to work from another site just add this line right after the line that starts kodi.

rem 2 second delay to let kodi start up
ping -n 2 127.0.0.1 > nul
call C:\scripts\sendkey.bat "kodi" ""

You have to get the sendkey script from the link on this site and change the command above to point to the path where you saved it on your PC.
https://stackoverflow.com/questions/3598...cus-on-app
Sendkey.bat link just under the first question, top of first answer
or you can get it direct with the below link
https://github.com/npocmaka/batch.script...ndKeys.bat
Reply

Logout Mark Read Team Forum Stats Members Help
Delay XBMC startup?0