Posts: 87
Joined: Oct 2008
Reputation:
1
Just wanted to say what a great little app. this is, very helpful and keeps my 4 boys from wondering around the server :-)
Thanks baijuxavior
HP N54L server with 6GB Memory and 10TB storage
Freenas server
HD Homerun twin HD network tuners (awesome)
2 x Pi 512 (B)
Posts: 67
Joined: Oct 2012
Reputation:
1
Great, this does exactly what I need, restores XBMC to full screen and gets rid of the windows bar at the top of the screen. Previously, I had the HTPC hooked up to my receiver, but when the receiver was off, the system showed no monitor two and XBMC went to monitor one. I then hooked the HTPC directly to the TV and the computer always sees the TV, even when off, so there is no trouble. Can your launcher take care of this so if XBMC is running on monitor one when the computer doesn't see monitor 2, that XBMC is sent to monitor two when the HTPC sees it.
One problem I have is that I can log into my HTPC via VNC to use my home automation software. However, then I lose control, I assume because the launcher is stealing the focus from VNC. I'll also have to look out for resource utilization as someone posted that their system was running a lot after they installed the launcher.
Thanks,
E
Kodi On HTPC: Dell Vostro slim 200 with W7 SP1, core 2 duo 1.6, 3G RAM, ASUS 6570 slim 1G with catalyst drivers. Synology NAS.
Duplicate displays: Dell 22" led monitor and Epson 5010 projector.
Kodi on Amazon fire stick.
Posts: 1,836
Joined: Jan 2012
Reputation:
48
Regarding the two monitor query, it may be possible using autohotkey but I don't have a second monitor as of now to test the script.
You can enable focus only once to disable focus forcing. Set a time after which to send the focus command and it will run only once.
If you find the resource utilization to be high, then edit the script to include only the features you need.
Posts: 4,061
Joined: Oct 2007
Reputation:
90
zag
Team-Kodi Member
Posts: 4,061
Thanks for this, fixed my focus problems in windows.
Posts: 10
Joined: Oct 2012
Reputation:
0
2012-11-21, 23:43
(This post was last modified: 2012-11-22, 10:30 by rumpleforeskin.)
Thanks for this, it's a great one stop solution for almost all the small problems I have had with xbmc.
If I could make a suggestion for a future release, would it be possible to add a new option to the delay start function.
Instead of a time delay setting, start xbmc once the pc has an ip address.
Many people use the delay to give time for Wi-Fi to connect, so a start upon ip address would be great.
Edit: syntax and grammar corrections
Posts: 1,836
Joined: Jan 2012
Reputation:
48
^^. Thanks for the suggestion. I will give it a try.
Posts: 10
Joined: Oct 2012
Reputation:
0
2012-11-23, 13:43
(This post was last modified: 2012-11-23, 14:26 by rumpleforeskin.)
The local address would be the better option, as this will determine that you have connected to the router.
Would it need an exact address to know the connection has been established? many people will leave the router to dynamically allocate their local IP. Though it is relatively easy to assign a static address to a machine.
EDIT: Actually I think it maybe the easier method to detect if the WI-FI has connected would be to check the ping time to the router once per second.
RunWait %ComSpec% /C Ping -n 1 -w 1000 192.168.0.1,, Hide
Connected := NOT ErrorLevel
If Connected
;launch xbmc or other functions that xbmc launcher would normally carry out
else
; keep looping script a predetermined number of time
I dont have AHK and am not overly familar with it so this maybe useless!
I set the ping address as 19.168.0.1 as this is the most common router address, but it may be worth making it a varible to accomodate other hardware
best not to ping the router more than once a second incase it thinks its getting DDOS :/
Maybe a good idea to set a max number of retries before loading XBMC anyway? (could be user selectable as "max time to wait to WI-FI before connecting"
just some thoughts.
Posts: 3
Joined: Nov 2012
Reputation:
0
NIce. I have a AHK exe that just goes "If XBMC is not active window then focus XBMC, sleep 5 seconds, repeat" with check to disable focus if XBMC is windowed.
You have spent a little more effort than me.
Posts: 945
Joined: Oct 2011
Reputation:
64
gibxxi
Posting Freak
Posts: 945
I would think that most routers would only suspect a DDoS attack to originate from an external IP, on the other hand some routers may get bogged down if they are pinged too often, then degrading performance for other devices connected. I would personally set a minimum 5 second interval if I were coding for this. At the end of the day a 5 second delay is practically nothing in terms of waiting time.
Posts: 1,836
Joined: Jan 2012
Reputation:
48
I don't have much idea about networking. When i run an autohotkey command MsgBox %A_IPAddress1% it will show the message 127.0.0.1 if my router is off and 192.168.1.100 when it is on.
Posts: 10
Joined: Oct 2012
Reputation:
0
192.168.1.100 is the address assigned to your pc by your router.
127.0.0.1 is a loop back address (anything sent to this address comes back to you)
I'm not familiar with ahk, but it seems when it has no address assigned from the router it reverts it's ip address to the local host (127.0.0.1)
Posts: 66
Joined: Nov 2011
Reputation:
0
Hello,
How do you do with Advanced Launcher ?
The game launch in window screen and XBMC return in first ground after some seconds.
Thanks