how get i start xbmc (windows version) from the the buton "power on"???
it only says "Make sure XBMC webserver is enabled and xbmc is running"
is there a way to start xbmc from the phone?
(the remote works if i start manually xbmc from pc)
thx...great application
kris2k
Member Posts: 60 Joined: Nov 2009 Reputation: 0 |
2010-07-31 14:16
Post: #1
|
| find quote |
the_alien
Team-XBMC Android Remote Developer Posts: 422 Joined: May 2008 Reputation: 0 |
2010-07-31 14:37
Post: #2
Listen to the configured WOL port and start XBMC when a package arrives. Don't know what tool you could use on Windows, sorry.
XBMCLive Dharma beta 2 running on an ASRock ION 330 HT |
| find quote |
ezpl
Junior Member Posts: 1 Joined: Aug 2010 Reputation: 0 |
2010-08-17 14:34
Post: #3
the_alien Wrote:Listen to the configured WOL port and start XBMC when a package arrives. Don't know what tool you could use on Windows, sorry. Does anybody have a concrete suggestion how to achieve this? Any recommended windows utility that could be used? Thx ![]() ezpl |
| find quote |
Jarny
Member Posts: 72 Joined: Mar 2009 Reputation: 0 Location: Germany |
2010-08-18 21:49
Post: #4
ezpl Wrote:Does anybody have a concrete suggestion how to achieve this? Any recommended windows utility that could be used?I use the commandline tool wake.exe from http://masterbootrecord.de/english/wakeup.php Example: wake.exe 31-62-19-91-14-45 192.168.1.255 Just replace it with your MAC-Address and Broadcast-IP. You can write this command in a batch file or include the call in tools like totalcommander etc. for a easy and comfortable use. regards Jarny Hardware: 1) PointOfView Intel Atom 330 Mainboard 2) Scenic-PC (2.9 GHz) with onboard Intel-Graphic 915g |
| find quote |
iLurk
Member Posts: 82 Joined: Sep 2008 Reputation: 0 |
2010-08-20 11:31
Post: #5
When pressing the "power button", I think that it could be as easy as...
Code: if xbmc_is_running thenBut my coding skills are very limited so maybe it's not as easy as that. |
| find quote |
the_alien
Team-XBMC Android Remote Developer Posts: 422 Joined: May 2008 Reputation: 0 |
2010-08-20 11:58
Post: #6
Ok... and how should the "start xbmc" happen? On linux you could open a ssh connection.. if ssh is installed and we know it is linux. What if now ssh server is installed? What if it is Windows? Connect through remote desktop? How should we determine if the host is up and running? Through ping? Most firewalls drop imcp requests...
No, that would be a total mess. Noone would understand the settings and people will start complaining why it wont start the app. XBMCLive Dharma beta 2 running on an ASRock ION 330 HT |
| find quote |
iLurk
Member Posts: 82 Joined: Sep 2008 Reputation: 0 |
2010-08-20 19:32
Post: #7
Point taken. Like I said, I'm not very knowledgeable when it comes to this stuff
![]() Still a great app though
|
| find quote |
Sainty
Junior Member Posts: 8 Joined: Nov 2009 Reputation: 0 |
I guess I cheat a little but it works, I just use wake on lan to start the pc with the power on in remote from off or standby position and as soon as it startsup and goes into windows Ive put xbmc in startup folder in windows so it starts automatically.
You need to have wake on lan enabled in bios and on your network card in windows |
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2010-08-26 00:14
Post: #9
i guess i could write 3rd party xbmc launcher for windows for u guys (and me too
)i have just question for devs: lets say i would do something like this - open listening socket on the same port like xbmc http api - after client connected i would immidiately close connection and launch xbmc - how would remote react on such thing - i mean fake xbmc http server that will close as soon as some1 will connect to it? --edit ok, done rly quick & dirty windows app that do what i wrote above and it works but its kinda ugly ![]() - xbmclauncher (as i quickly called it) will have to run in background all the time (if ppl would be interested in this, maybe i would rewrote it as windows service if its possible) - when xbmc remote tries to connect to xbmc host, it actually connect first to xbmclauncher. connection is closed, xbmc remote is displaying message "connection refused" and real xbmc is launched. now just retry connection in xbmc remote and we can use it ![]() just need some time to make editable settings - right now my settings (which are 1. path to xbmc.exe 2. port of xbmc http api) are hardcoded ![]() question for devs - the thing with connection refused is kinda ugly - if ppl would be interested in this maybe we could define some signature that xbmclauncher would send when remote is connecting to it, so the remote instead of refused connection would display "xbmc is launching, please wait"?
(This post was last modified: 2010-08-26 13:44 by pieh.)
|
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2010-08-26 23:23
Post: #10
Ok,
this is answer to the first post in this thread - how to start XBMC from phone while windows is running but XBMC isn't. This is application that will run XBMC when phone will try to remotely connect to XBMC. This application however must be running all the time in background (it doesn't have any user interface, so it won't be even noticed). It's good idea to put shell link (windows shortcut) to this application in autostart menu. How to configure application:
I would also like to add that i realise that You guys would not want to use application from random guy with 4 posts on forum - so I also include source code of this application so You can check and build this application from source on Your own. It's in C# .NET 2.0 (maybe even 1.1 but VS 2010 doesn't even allow to build such applications). Also i would appreciate someone from XBMC team to inspect it, build it and place it here so people could use it without worries about malware software from random guy (me )Files:
(This post was last modified: 2010-08-26 23:26 by pieh.)
|
| find quote |



)
Search
Help