Kodi Community Forum

Full Version: [Windows] UDPLauncher
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey everyone

I just finished my UDPLauncher, a little project I designed in order to start applications on my machine such as XBMC with a network-package.

Update
The project was completely redone, now with an easier GUI.
As of yet you can start/stop the listener and configure the settings via the GUI. The application runs with a try-icon, if you minimize the application you can restore it via the icon in the tray.
It is a little rough around the edges and no logging is yet visible. If there is something wrong: Report back to me, I'll look into it.

Get it here:
http://tbueter.com/?page_id=382
This seems like it would be useful for automating XBMC library updates for those people that aren't using MySQL databases. Good work!
Thanks Smile

I will add some features this week, you'll be able to also fire XBMC-HTTP-Events with the Launcher at that point (such as "UpdateLibrary").
Added a new version of my app with more functionality, enjoy!
I thought of a question for you. Is it possible to make it only launch XBMC, and not shut it down if already running?
that is possible now Smile Look at the first post, if you set "ExitIfOpen" to "False", XBMC will not be closed if it is running...
henry hi,
thanks for a great tool.

is there anyway to make it run silently?
i wish to run it on startup

thanks
I created a silent version for you...

No Window will show upon start of the prog.
But keep in mind that you - if you want to close it - have to close it via taskmanager.

Edit: Just checked... doesn't work for me. I'll try find another solution.

Edit2: Found the solution. Here you go:
http://www.datafilehost.com/download-2a4d07a5.html
HenryFord Wrote:I created a silent version for you...

No Window will show upon start of the prog.
But keep in mind that you - if you want to close it - have to close it via taskmanager.

Edit: Just checked... doesn't work for me. I'll try find another solution.

Edit2: Found the solution. Here you go:
http://www.henryford.tk/UDPLauncher_Silent.rar
http://www.datafilehost.com/download-2a4d07a5.html

WOW
Thank you so much.

edit: i just checked it, works great, i'm gonna try to run it as a service.
Winserv should do the trick:
http://www.sw4me.com/wiki/Winserv

I found it's very easy to use, never got it quite working with sc.exe from MS.
HenryFord Wrote:Winserv should do the trick:
http://www.sw4me.com/wiki/Winserv

I found it's very easy to use, never got it quite working with sc.exe from MS.

thanks
i'll look in to it
I realize this is an old thread, but I wanted to express my Big Grin for this app. My only problem is that it seems to crash every day. I'm running the silent mode exe. Has there been any further development with this? I think the XBMC team should take a serious look at this capability and maybe incorporate it into the next build.

My HTPC is on all the time, but I have XBMC exit app after 10 mins of inactivity to enable my screensaver. I also have 3 other PC's using XBMC with different settings. I use the XBMC remote for Android with my tablet and would like to be able to awake from sleep (which it does beautifully) AND open XBMC.exe if the machine is on, which this app does! but not reliably. (udplauncher.exe keeps crashing)

Any further dev?

Win 7 x64
8GB RAM
Athalon X6
Didn't do anything to the program in... like a year or something, but I'd be up to fix some things, if you want to Smile
Code is still at my disposal. Although - I can't think of a reason for the crashing, can you post a crash-log from the event-viewer in Windows? Did you try running the non-silent version? Probably some output would help determine the cause for the crash. Otherwise I'd built a version with some logging to get info on what's happening.

Edit:
Ah - it already logs, you should find a logfile in the same folder where the UDP-Launcher is located. Can you post the contents of it?
I'll also join in with thanks for this program. This is exactly what I'm looking for.

With that said (if Henry Ford is still around...) this seems to always want to kill XBMC. I thought this might be helped by the ExitIfOpen property so I set the following:

<setting name="ExitIfOpen" serializeAs="String">
<value>False</value>
</setting>

Now UDP launcher does indeed start XBMC in response to my WOL message, but it then immediately turns around and kills it:

Quote:C:\bin>UDPLauncher.exe
------ UDPLauncher Version 1.0 ------
****** Quit: CTRL + C ******
------ UDPLauncher Version 1.0 ------

Listening on port: 9
Launching Program: C:\Program Files\XBMC\XBMC.exe

Waiting for message...
We just received a Message.
Checking for: C:\Program Files\XBMC\XBMC.exe
Not Running...Launching!
Waiting for message...
We just received a Message.
Checking for: C:\Program Files\XBMC\XBMC.exe
We have a match, Program is running
Now we have to kill it, the ID is: 4120
Done!
Waiting for message...

I'm not sure what is driving that "Now we have to kill it" message. Has anyone run into this?

UPDATE: Just in case I tried installing the silent version. That one seems to respect the ExitIfOpen param, so XBMC works! The problem I have with this version is that UDPLauncher itself seems to exit after XMBC starts....
Could you post your logfile?
I indeed did only update the silent version, not the non-silent version, sorry for that. But the silent version should write a logfile out...
Pages: 1 2