PDA

View Full Version : Wrapper for XBMC



SophT
07-10-2009, 08:56 PM
Edit 11.01.29

This below is for Camelot release of XBMC, for Dharma launcher please see here (http://www.iyware.com/2011/01/29/xbmc-dharma-program-launcher/). I will still answer HS specific integration questions here.

----------
Well I got tired of waiting for them to write a program launcher for XBMC - I simply wanted to be able to add HyperSpin to my 'My Programs' folder - but it can only launch python scripts.

So I decided to figure out how to launch programs with Python, and in doing so I figured how to just bypass the 'my games' 'my programs' menus within XBMC and just directly launch HyperSpin using a wrapper I wrote - and another I wrote for the exiting HyperSpin that relaunches XBMC - all in a nice black gui so you don't see your desktop/windows flashing.

Anyways, Here's a Picture of how it looks with the Aeon Stark skin, I've also scripted it into the MediaStream skin.

http://img132.imageshack.us/img132/4923/preview.png

if there's any interest in it let me know and I'll post the scripts - don't even know if anyone's using XBMC besides me, but I know a lot of people have HyperSpin running on HTPCs

Lashek
07-10-2009, 09:32 PM
I'm interested in this... :)

koolbrez67
07-10-2009, 09:33 PM
Ok So you are launching Hyperspin from XBMC. That is great I would love to see the scripts. I use hyperspin as the main system and launch my media center within Hyperspin.

koolbrez67
07-10-2009, 09:35 PM
I worked alot with XBMC early on alot . I wish I had access to the plugins that XBMC has as that is what mine is lacking in.

Buliwfy
07-10-2009, 09:43 PM
I'm really interested in this. :)

What skin are you using and plugins if you don't mind sharing?

SophT
07-10-2009, 10:07 PM
Aeon Stark skin (I also have Aeon Auriga) with about 4.5gb of 1080HD backdrops in uncompressed Bitmap form. Not really running any plugins other than Apple Trailers, and this little python script I made (which is more of a script than a plugin)

Buliwfy
07-10-2009, 10:11 PM
Ah thanks SophT.

Loving the Aeon theme alot.

SophT
07-10-2009, 11:15 PM
Edit 11.01.29 - the below is for Camelot release of XBMC, for Dharma version please see here (http://www.iyware.com/2011/01/29/xbmc-dharma-program-launcher/).

----------

Ok here's a quick writeup on how to mod your XBMC to launch HyperSpin directly from the Home menu. This WILL disable your 'my programs' submenu entirely. Though I'm sure you could mod it differently I wanted this to replace the 'My Programs / My Games' on the Aeon Stark skin because all the other settings menus remain in tact, meaning you can still setup backdrops without making any additional mods.

This mod consists of 4 basic things

1) Home Menu edit
2) Python script
3) AHK Hyperspin launcher
4) AHK XBMC launcher

First I will explain a little bit about why I scripted things the way I did.

The primary reason was to minimize cpu/memory use.

The second was that I have read that Hyperspin / XBMC don't like to play nice together and that there can be some issues when trying to run both programs simultaneously.

The final reason is to make it easily customizable for each users needs - if you want to launch / close extra programs, you can.

The following is a basic flowchart of how this wrapper works:



Run XBMC
- Click 'HyperSpin'
- Run Python Script
- Run Hyperspin Launcher
- Close Python Script
- Close XBMC
- Run HyperSpin
- Run other programs if desired
- Close HyperSpin Launcher
- Exit HyperSpin
- Run XBMC Launcher
- Close other programs if opened previously
- Run XBMC
- Exit XBMC Launcher
- Exit XBMC


--------------------
PART 1: Python Script (launcher.py)

The Following is assuming that you have XBMC installed in it's default location of

C:\Program Files\XBMC\

From here out referred to as 'XBMC root'



import os, subprocess

subprocess.Popen(["c:\Program Files\XBMC\spinner.exe"], shell=False)


Copy the above code to notepad and save it in the XBMC root as launcher.py If necessary edit the path to your XBMC root.

---------------
PART 2: HyperSpin AHK Script (spinner.ahk)

This script also goes in the XBMC root directory.



#SingleInstance force

;----------SET PATHS----------;
XBMC = "C:\Program Files\XBMC\XBMC.exe"
HyperSpin= "E:\HyperSpin\HyperSpin.exe"
;-----------------------------;


blockinput, on
SetTitleMatchMode, 2
Gui, Color, 000000
Gui, -Caption +ToolWindow +AlwaysOnTop
Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight%,
process, close, xbmc.exe
run, %HyperSpin%,, UseErrorLevel
if ErrorLevel
{
run, %XBMC% -fs -p,, UseErrorLevel
if Errorlevel = ERROR
{
gui, destroy
blockinput, off
msgbox, 0, ERROR, neither %XBMC% or %HyperSpin% was found - Make sure you have correct paths, 4
ExitApp
}
WinWait, XBMC, , 5
IfWinNotActive, XBMC, , WinActivate, XBMC,
WinWaitActive, XBMC, , 5
if ErrorLevel
{
gui, destroy
blockinput, off
ExitApp
}
sleep, 5000
gui, destroy
blockinput, off
ExitApp
}
WinWait, HyperSpin, , 3
IfWinNotActive, HyperSpin, , WinActivate, HyperSpin,
WinWaitActive, HyperSpin
sleep, 3000
gui, destroy
blockinput, off
ExitAPP


At the very beginning of the script you will see an area to set paths to your programs. adjust them accordingly.

The numbers in green are the timeouts that the script will run while waiting for the respective program to 1)launch 2)gain focus. You can lengthen / shorten these according to your system specs. The defaults seem to work well.

If the script cannot find HyperSpin.exe it will relaunch XBMC.exe and exit the script. IF it cannot find XBMC.exe to relaunch - it will throw an error asking if your paths are correct. Check, and recompile.

compile this script as spinner.exe (which the python script was looking for)

* If you want to run another program I would add the 'run' command right before the final 'sleep, 3000' and before the 'gui, destroy' lines.

---------------
PART 3: XBMC Launcher AHK Script (Xlauncher.ahk)

This script also goes in the root xbmc directory



#SingleInstance force

;----------SET PATHS----------;
XBMC = "C:\Program Files\XBMC\XBMC.exe"
;-----------------------------;


blockinput, on
SetTitleMatchMode, 2
Gui, Color, 000000
Gui, -Caption +ToolWindow +AlwaysOnTop
Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight%,
run, %XBMC% -fs -p,, UseErrorLevel
if ErrorLevel
{
gui, destroy
blockinput, off
msgbox, 0, ERROR, %XBMC% was not found - Make sure you have correct paths, 4
ExitApp
}
WinWait, XBMC, , 5
IfWinNotActive, XBMC, , WinActivate, XBMC,
WinWaitActive, XBMC, , 5
if ErrorLevel
{

sleep, 5000
gui, destroy
blockinput, off
ExitApp
}
sleep, 5000
gui, destroy
blockinput, off
ExitAPP


again, edit your path to XBMC - if it isn't the default - and adjust the timeouts in green if necessary.

If you have any programs you want to close (Xpadder, Ledblinky...)

use 'process, close,' right before the 'run, %xbmc%' line.

Compile and save as Xlauncher.exe

Open HyperHQ and set this program as the program you want to run on exit.

*it technically isn't necessary for this to be in the XBMC root - just makes it easier to find.

----------

PART 4: SKINS

++++++++++
AEON STARK

find the following file

'Includes_mainmenu.xml'

by default it will be under

\skin\Aeon\720p\

from your XBMC root directory.

Open it in your favourite text editor and find the following:



<item id="2">
<label>31011</label>
<onclick>XBMC.ActivateWindow(MyPrograms)</onclick>
<visible>!Skin.HasSetting(noprograms)</visible>
</item>


replace it with the following:



<item id="2">
<label>HyperSpin</label>
<onclick>XBMC.RunScript(C:\program files\XBMC\launcher.py)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
</item>


Make sure the path to your python script (launcher.py) is correct. Save and exit.

++++++++++

Media Stream

Find the file 'home.xml'

by default under

\skin\MediaStream\720p\

from the XBMC root

open it and find the following:



<item id="4">
<description>My Programs Menu</description>
<label> $LOCALIZE[31004] </label>
<label2> $LOCALIZE[31014] </label2>
<visible>!Skin.HasSetting(HidePrograms)</visible>
<onclick>XBMC.ActivateWindow(1)</onclick>
</item>


and replace it with:



<item id="4">
<description>My Programs Menu</description>
<label>HyperSpin</label>
<label2>Launch</label2>
<visible>!Skin.HasSetting(HidePrograms)</visible>
<onclick>XBMC.RunScript(C:\program files\XBMC\launcher.py)</onclick>
</item>


Check that the path to the python script (launcher.py) is correct and save.

----------

well that's it - I know it's a long post, but it's mostly just checking that paths are correct.

NOTES:

The wrapper will work best if your desktop / XBMC / Hyperspin all are set to the same resolution.

KNOWN ISSUES:

the python script will NOT work on windows7 RC1 x64, I don't know if it's a windows7 thing or a 64bit thing. I am assuming it's a 64bit things - but until I can test more I won't know.

Please leave feedback / comments / requests below.

//bonus points if you guess my RSS feed in my screen shot.

koolbrez67
07-10-2009, 11:30 PM
Dude this is sweet.

SophT
07-15-2009, 02:10 PM
updated launcher script after looking a little bit into a better way to use the subprocess.() fuction in Python. Maybe this will work for x64 OS'es ? I'll test soon.

Check the mini-guide for update

jeepguy81
07-16-2009, 07:25 AM
would that be a FARK feed?

jonscrazy
03-25-2010, 08:38 AM
SophT I saw your post over on XBMC forums and followed you over here. Thank you. Extremely excited about getting this set up.

jonscrazy
03-25-2010, 07:12 PM
Ok got the to work on windows 7 x64.

One weird hiccup. When I exit hyperspin it launches xbmc but it loses all my settings. It comes back with default skin and no libraries.

I am using aeon auriga and it went to confluence. Once I switched it it now boots to aeon auriga but doesn't have my libraries or backdrops ect.

Any ideas?

recap: If I launch xbmc its normal. I can then launch hyper spin and exit fine. Then xbmc comes back but it boots to xbmc with default config.
I can switch the settings and they save but it is diffrent from if i launch xbmc myself. It is looking for app data in xbmc root instead of windows user folder.

EDIT: Solution, if I just remove the -fs and -p from the last script it works fine. Not sure why this happened as the -p is supposed to make it use the app data in windows.

SophT
03-25-2010, 09:56 PM
One weird hiccup. When I exit hyperspin it launches xbmc but it loses all my settings. It comes back with default skin and no libraries.


I was gonna say- remove the -p. -p means "portable", i.e. it does NOT use the app data folder.

glad you got it figured out, enjoy :D

illmatic
04-02-2010, 08:17 AM
Can anyone confirm this working in windows 7 64bit? I tried it and when I click on Hyperspin in the main menu nothing happens.

SophT
04-02-2010, 04:21 PM
I have it on Windows7 32bit.

illmatic
04-02-2010, 10:10 PM
What version of python do I need to run the script with xbmc?

SophT
04-02-2010, 11:42 PM
What version of python do I need to run the script with xbmc?


you shouldn't need a standalone instance of python b/c XBMC has python included with it.

illmatic
04-03-2010, 05:34 AM
The ahk scripts run fine outside of xbmc. For some reason I can't get the python script to work when I click the Hyperspin main menu option.

This is the entry I made for my Includes_MainMenu.xml:
<item id="1">
<label>31010</label>
<onclick>XBMC.ActivateWindow(MyMusic)</onclick>
<visible>!Skin.HasSetting(nomusic)</visible>
</item>
<item id="2">
<label>HyperSpin</label>
<onclick>XBMC.RunScript(C:\program files\XBMC\launcher.py)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
</item>
<item id="5">
<label>31012</label>
<onclick>XBMC.ActivateWindow(MyPictures)</onclick>
<visible>!Skin.HasSetting(nopictures)</visible>
</item>

Any help would be appreciated.

SophT
04-03-2010, 06:49 AM
did you copy the contents of launcher.py exactly?

python is white-space sensitive.

can you post the contents of you xbmc log?

illmatic
04-03-2010, 07:27 AM
launcher.py
import os, subprocess

subprocess.Popen(["c:\program files\xbmc\spinner.exe"], shell=False)

xbmc log
09:23:57 T:780 M:4294967295 NOTICE: -----------------------------------------------------------------------
09:23:57 T:780 M:4294967295 NOTICE: Starting XBMC, Platform: Windows build 7600. Built on Mar 27 2010 (SVN:28898, compiler 1500)
09:23:57 T:780 M:4294967295 NOTICE: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
09:23:57 T:780 M:4294967295 NOTICE: Desktop Resolution: 1280x1024 32Bit at 75Hz
09:23:57 T:780 M:4294967295 NOTICE: Running with restricted rights
09:23:57 T:780 M:4294967295 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
09:23:57 T:780 M:4294967295 NOTICE: special://masterprofile/ is mapped to: C:\Program Files\XBMC\userdata
09:23:57 T:780 M:4294967295 NOTICE: special://home/ is mapped to: C:\Program Files\XBMC
09:23:57 T:780 M:4294967295 NOTICE: special://temp/ is mapped to: C:\Program Files\XBMC\cache
09:23:57 T:780 M:4294967295 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
09:23:57 T:780 M:4294967295 NOTICE: Log File is located: C:\Program Files\XBMC\xbmc.log
09:23:57 T:780 M:4294967295 NOTICE: -----------------------------------------------------------------------
09:23:57 T:780 M:4294967295 NOTICE: Setup SDL
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 67.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 67.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 67.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x350 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 67.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 640x480 @ 85.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 29.97 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 29.97 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 29.97 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 30.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 30.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 30.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x480 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 25.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 25.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 25.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 50.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 720x576 @ 85.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 800x600 @ 56.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 800x600 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 800x600 @ 72.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 800x600 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 800x600 @ 85.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 852x480 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1024x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1024x768 @ 70.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1024x768 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1024x768 @ 85.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1152x864 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1152x864 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x720 @ 50.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x720 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x720 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x800 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x800 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x800 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x960 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x1024 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1280x1024 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1360x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1360x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1360x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1366x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1366x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1366x768 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1400x1050 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1440x900 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1440x900 @ 75.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1680x1050 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 25.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 29.97 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 30.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 60.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 50.00 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: Found mode: 1920x1080 @ 59.94 - Full Screen
09:23:57 T:780 M:4294967295 NOTICE: load settings...
09:23:57 T:780 M:4294967295 ERROR: Win32DllLoader::Load: Unable to load special://xbmc/system/players/dvdplayer/bcmDIL.dll (126)
09:23:57 T:780 M:4294967295 NOTICE: special://profile/ is mapped to: special://masterprofile/
09:23:57 T:780 M:4294967295 NOTICE: loading special://masterprofile/guisettings.xml
09:23:57 T:780 M:4294967295 ERROR: special://masterprofile/guisettings.xml, Line 0
Failed to open file
09:23:57 T:780 M:4294967295 ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
09:23:57 T:780 M:4294967295 ERROR: XFILE::CFile::Delete - Error deleting file C:\Program Files\XBMC\userdata\guisettings.xml
09:23:57 T:780 M:4294967295 ERROR: XFILE::CFile::Delete - Error deleting file special://masterprofile/guisettings.xml
09:23:57 T:780 M:4294967295 NOTICE: Getting hardware information now...
09:23:57 T:780 M:4294967295 NOTICE: Checking resolution 12
09:23:57 T:780 M:4294967295 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
09:23:57 T:780 M:4294967295 NOTICE: Loaded playercorefactory configuration
09:23:57 T:780 M:4294967295 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
09:23:57 T:780 M:4294967295 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
09:23:57 T:780 M:4294967295 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
09:23:57 T:780 M:4294967295 NOTICE: Default DVD Player: dvdplayer
09:23:57 T:780 M:4294967295 NOTICE: Default Video Player: dvdplayer
09:23:57 T:780 M:4294967295 NOTICE: Default Audio Player: paplayer
09:23:57 T:780 M:4294967295 NOTICE: Loading media sources from special://masterprofile/sources.xml
09:23:58 T:780 M:4294967295 NOTICE: initializing playlistplayer
09:23:58 T:780 M:4294967295 NOTICE: DONE initializing playlistplayer
09:23:58 T:780 M:4294967295 NOTICE: load default skin:[Confluence]
09:24:01 T:780 M:4294967295 NOTICE: initialize done
09:24:01 T:780 M:4294967295 NOTICE: Running the application...
09:24:01 T:780 M:4294967295 NOTICE: ES: Starting event server
09:24:01 T:3716 M:4294967295 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
09:24:01 T:3716 M:4294967295 NOTICE: UDP: Listening on port 9777
09:25:24 T:780 M:4294967295 NOTICE: Storing total System Uptime
09:25:24 T:780 M:4294967295 NOTICE: Saving settings
09:25:24 T:780 M:4294967295 NOTICE: stop all
09:25:24 T:780 M:4294967295 NOTICE: ES: Stopping event server
09:25:24 T:3716 M:4294967295 NOTICE: ES: UDP Event server stopped
09:25:24 T:780 M:4294967295 NOTICE: stop sap announcement listener
09:25:24 T:780 M:4294967295 NOTICE: clean cached files!
09:25:24 T:780 M:4294967295 NOTICE: unload skin
09:25:24 T:780 M:4294967295 NOTICE: stop python
09:25:24 T:780 M:4294967295 NOTICE: stopped
09:25:24 T:780 M:4294967295 NOTICE: destroy
09:25:24 T:780 M:4294967295 NOTICE: unload sections

SophT
04-03-2010, 05:19 PM
weird, I don't even see in your log where you tried to launch it.

Here's what I'll do- I'll find my .py, rename it .txt and attach it here for you so you can download it, and then rename the extension to .py and run it.

what I mean by "whitespace" is important, is that



launcher.py
import os, subprocess


is different to python than


launcher.py
import os, subprocess


see the 2 spaces?

illmatic
04-04-2010, 07:41 PM
Found the problem in the log file

23:36:11 T:4940 M:4294967295 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::OnKey: 61453 pressed, action is Select
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:11 T:4940 M:4294967295 ERROR: Could not find addon: C:\program files\XBMC\launcher.py
23:36:11 T:4940 M:4294967295 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::OnKey: 61453 pressed, action is Select
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:11 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:11 T:4940 M:4294967295 ERROR: Could not find addon: C:\program files\XBMC\launcher.py
23:36:12 T:4940 M:4294967295 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
23:36:12 T:4940 M:4294967295 DEBUG: CApplication::OnKey: 61453 pressed, action is Select
23:36:12 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:12 T:4940 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(C:\program files\XBMC\launcher.py)
23:36:12 T:4940 M:4294967295 ERROR: Could not find addon: C:\program files\XBMC\launcher.py
23:36:14 T:4940 M:4294967295 DEBUG: CWinEventsWin32::WndProcWindow is active
23:36:14 T:4940 M:4294967295 DEBUG: CWinEventsWin32::WndProcWindow lost focus
23:36:18 T:6128 M:4294967295 DEBUG: Thread 6128 terminating (autodelete)
23:36:18 T:5656 M:4294967295 DEBUG: Thread 5656 terminating (autodelete)
23:36:19 T:2644 M:4294967295 DEBUG: FileCurl::Close(08F5FC6C) http://www.google.com/

SophT
04-05-2010, 12:00 AM
looks like you don't have launcher.py saved in C:\program files\XBMC\

illmatic
04-05-2010, 02:55 AM
The file is there, its not recognizing it for some reason. Doesn't matter where I put the file and change the path to I get the same error.

sneakily1
04-06-2010, 08:54 PM
This is awesome bro! One quick question though...in the XML is it possible to just add it as another item instead of making it "Item 2" and thus getting rid of the programs? It would be sweet to make that "Video Games" in the menu and still have the "Programs" option. I guess I could just try it myself and find out the hard way :)
I like this a lot better than using the old Launcher plug-in. Nice work!

SophT
04-07-2010, 12:07 AM
This is awesome bro! One quick question though...in the XML is it possible to just add it as another item instead of making it "Item 2" and thus getting rid of the programs?


yes in 9.11 you can go to "add new Menu Item" in XBMC and point it at the python script.

donnei1979
05-12-2010, 12:38 PM
Sopht this is great work!! i was looking for this since i now have my htpc running been searching alot on google and found it right here thanks i'm gonna try it out

donnei1979
05-12-2010, 01:09 PM
it launches but is wont load Xbmc when i quit, i compiled my Xlauncer script with the above script but it won't launch anyone?

SophT
05-23-2010, 02:53 AM
are you sure you have the script set to run on HS exit (via hyperhq)?

donnei1979
05-23-2010, 12:06 PM
are you sure you have the script set to run on HS exit (via hyperhq)?

Yep i tried some things.
When i keep xmbc running in the taskbar and then quit hyperspin it will launch the XBMC menu on to the screen again but....when i do it the normal way it wont launch and i see a black screen for 10 sec and then it closes, but i see xbmc in my task manager but theres something different when i launch XBMC normal see the picture below

Pic 1: when i exit Hyperspin
Pic 2: when i do a normal launch of XBMC
http://img231.imageshack.us/img231/6057/customwheeleditcopykopi.png (http://img231.imageshack.us/i/customwheeleditcopykopi.png/)

Log File

10:14:33 PM | HyperSpin Started
10:14:33 PM | Going FullScreen
10:14:33 PM | Checking for updates
10:14:34 PM | Update Check Complete
10:14:34 PM | Startup program unavailable
10:14:34 PM | Error intializing joysticks
10:14:34 PM | Menu Mode is multi
10:14:34 PM | Loading Main Menu.xml
10:14:34 PM | Main Menu.xml successfully loaded
10:14:35 PM | Main Menu wheel loaded successfully
10:14:38 PM | Exit program: Xlauncher.exe
10:14:38 PM | Exit params not set
10:14:38 PM | Working directory: C:\Program Files\XBMC\
10:14:38 PM | Window State: NORMAL
10:14:38 PM | Launching Xlauncher.exe
10:14:38 PM | Command Line is Xlauncher.exe
10:14:38 PM | Quiting Hyperspin
10:14:38 PM | Bye!

donnei1979
06-06-2010, 06:12 AM
Anyone? still having problems with this

Diggerz
08-18-2010, 05:26 AM
hmmm i cant seem to get it working with xbmc and the aeon65 skin, if i enable the "file" menu and navigate to the .py script and run it it works but i cant get it to work when i select "games"(after editing the menue xml), or by adding it to favorites and then to the menu

Lailoken
08-18-2010, 11:13 AM
Sorry, I just have to point out that the RSS feed in the OP's screenshot says "...opportunistic gold-digging attention whore [Dumass]" That made me laugh.

Anyway, awesome job on this. :)

Diggerz
08-20-2010, 11:47 PM
This is really bugging me now, ive got the wrapper working, however ive made my own ahk script as a shell, all it does is run xbmc and xpadder. i want xpadder to launch with xbmc to allow me to controll xbmc with my wireless xbox360 joypad. When i run the shell and launch hyperspin from xbmc, xbmc quits but all i get is a black screen, i can hear hyperspin launching in the background but it never takes focus and spinner.exe remains running in the processors list. However if i edit my shell to only run xbmc and not xpadder as well the wrapper works perfectly.

SophT
08-25-2010, 04:35 AM
edit your script to launch xpadder, and then hyperspin - sounds like xpadder is stealing the focus & AHK is waiting for HS to come into focus so that it can remove the black GUI. OR make sure that Xpadder is set to run in hidden mode.

donnei1979
08-25-2010, 08:05 AM
Nice to see you back dude. can you help me out check a few post above thanks man

SophT
08-26-2010, 09:07 PM
try removing the xpadder launching from the scripts entirely and see if it works. it's a focus issue.

OTOH - I'm gonna rewrite this (hopefully) to be a native plugin with the Dharma branch.

donnei1979
08-27-2010, 05:30 AM
Thanks dude will try this

JamisonWorkshop
09-05-2010, 09:56 PM
Back to the top.

I am having the same issue the other user had where I can launch spinner and xlauncher outside XBMC no problem and it seems to be doing as it should. XBMC launches upon exit of Hyperspin as well.

I have launcher.py in my XBMC main menu. Go to launch in XBMC and it says Error script failed.

It is typed in the script just as listed. It is placed in the same root folder as the others.

Any help appreciated. Almost there.
Like to get these guys linked up and finish this layout up.

JamisonWorkshop
09-07-2010, 06:55 PM
Alright after some research and python learning. I did get my issue squared away.
My drive I use is X: drive for all my stuff. Cant have X after a \ in python. Just added an \\ instead and all is well.

I do have another issue now though. When I launch Xlauncher it takes me to XBMC just fine, but it is a default Aeon skin with hyperspin in menu. (No pics, no visualization nothing). If I launch the XBMC.exe it is pointing too no problems. Only when launched from Hyperspin or Xlauncher direct. Any ideas. Seems to be some use data not loading or something.

illmatic
09-29-2010, 07:15 PM
No more need for a wrapper if you use the Dharma beta of XBMC. It allows you to add up to 7 items to the main menu. Just make sure you get the add on executor which will launch hyperspin and act as a wrapper.

nate1579
10-17-2010, 06:06 PM
Okay this was working find but now i got a problem and dont know how to fix it i had this running with out being shelled and it worked fine but when i used instantsheller when i got to launch hyperpspin spinner.exe takes the focus away from hyperspin it appears anyways any advice

SophT
10-20-2010, 01:57 AM
yes - I've been waiting for the final version of dharma to come out before releasing an updated guide but i'll give you a hint:




xbmc.execwait();


:D

donnei1979
11-25-2010, 07:13 AM
Sopht need your help buddy, i have all the scrips running and they work great only 1 thing.....im using dharma AeonMQ2 skin, which line do i edit to set Hyperspin to the main menu?
i tried several thing and nothings works i did get it running in the aeon stark skin, the AeonMq skin has a diffirent main menu xml

</focusedlayout>
<content>
<item id="8"><!--videos-->
<label>31015</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsVideo720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsVideo1080</include>
<onclick>Skin.Reset(Custom_background_mainmenu)</onclick>
<onclick>ActivateWindow(VideoFiles)</onclick>
<visible>!Skin.HasSetting(novideos)</visible>
</item>
<item id="1"><!--music-->
<label>31010</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsMusic720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsMusic1080</include>
<onclick>ActivateWindow(MyMusic,return)</onclick>
<visible>!Skin.HasSetting(nomusic)</visible>
</item>
<item id="6"><!--movies-->
<label>31013</label>
<include>Movie_Link</include>
<include condition="!Skin.HasSetting(HomeMovieFanartBackdrops) + Skin.HasSetting(no1080p)">BackgroundVarsMovies720</include>
<include condition="!Skin.HasSetting(HomeMovieFanartBackdrops) + !Skin.HasSetting(no1080p)">BackgroundVarsMovies1080</include>
<include condition="Skin.HasSetting(HomeMovieFanartBackdrops)">BackgroundVarsMovies2</include>
<onclick>SetFocus(5044)</onclick>
<onclick>Skin.SetBool(genres)</onclick>
<onclick>ActivateWindow(MyVideoLibrary,movietitles,return)</onclick>
<visible>!Skin.HasSetting(nomovies)</visible>
</item>
<item id="7"><!--tvshows-->
<label>31014</label>
<include>TV_Link</include>
<include condition="!Skin.HasSetting(HomeTVShowFanartBackdrops) + Skin.HasSetting(no1080p)">BackgroundVarsTV720</include>
<include condition="!Skin.HasSetting(HomeTVShowFanartBackdrops) + !Skin.HasSetting(no1080p)">BackgroundVarsTV1080</include>
<include condition="Skin.HasSetting(HomeTVShowFanartBackdrops)">BackgroundVarsTV2</include>
<onclick>SetFocus(5045)</onclick>
<onclick>ActivateWindow(MyVideoLibrary,tvshowtitles,return)</onclick>
<visible>!Skin.HasSetting(notvshows)</visible>
</item>
<item id="16"><!--musicvideos-->
<onclick>Skin.Reset(videotv)</onclick>
<label>31022</label>
<include condition="!Skin.HasSetting(HomeMusicVideoFanartBackdrops) + Skin.HasSetting(no1080p)">BackgroundVarsMusicVideos720</include>
<include condition="!Skin.HasSetting(HomeMusicVideoFanartBackdrops) + !Skin.HasSetting(no1080p)">BackgroundVarsMusicVideos1080</include>
<include condition="Skin.HasSetting(HomeMusicVideoFanartBackdrops)">BackgroundVarsMusicVideos2</include>
<onclick>SetFocus(5044)</onclick>
<onclick>Skin.SetBool(genres2)</onclick>
<onclick>Skin.SetBool(videomovies)</onclick>
<onclick>XBMC.ActivateWindow(VideoLibrary,musicvideotitles, return)</onclick>
<onclick>Skin.SetBool(videomovies)</onclick>
<visible>!Skin.HasSetting(nomusicvideos)</visible>
</item>
<item id="2"><!--games-->
<label>31011</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsGames720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsGames1080</include>
<onclick>Skin.SetBool(games)</onclick>
<onclick>ActivateWindow(MyPrograms)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
<visible>!Skin.HasSetting(launcherforgames)</visible>
</item>
<item id="2"><!--games (launcher)-->
<label>31011</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsGames720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsGames1080</include>
<onclick>Skin.SetBool(games)</onclick>
<onclick>ActivateWindow(10001, plugin://plugin.program.launcher/addon.py,return)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
<visible>Skin.HasSetting(launcherforgames)</visible>
</item>
<item id="5"><!--pictures-->
<label>31012</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsPictures720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsPictures1080</include>
<onclick>ActivateWindow(MyPictures)</onclick>
<visible>!Skin.HasSetting(nopictures)</visible>
</item>
<item id="11"><!--Playlist-->
<label>PLAYLIST</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsMusic720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsMusic1080</include>
<onclick>ActivateWindow(musicplaylist)</onclick>
<visible>Player.HasAudio</visible>
</item>
<item id="9"><!--settings-->
<label>31016</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsSettings720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsSettings1080</include>
<onclick>ActivateWindow(settings)</onclick>
<visible>!Skin.HasSetting(nosettings)</visible>
</item>
<item id="27"><!--style-->
<label>31026</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsStyle720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsStyle1080</include>
<onclick>ActivateWindow(604)</onclick>
<visible>!Skin.HasSetting(nostyle)</visible>
</item>
<item id="10"><!--weather-->
<label>31017</label>
<include condition="Skin.HasSetting(CustomWeather)">BackgroundVarsWeather2</include>
<include condition="!Skin.HasSetting(CustomWeather) + Skin.HasSetting(noWeatherSouthAmerica)">BackgroundVarsWeatherNorthAmerica</include>
<include condition="!Skin.HasSetting(CustomWeather) + !Skin.HasSetting(noWeatherSouthAmerica)">BackgroundVarsWeatherSouthAmerica</include>
<onclick>RunScript(special://home/scripts/TWC Supplemental/default.py)</onclick>
<visible>Skin.HasSetting(weather)</visible>
<visible>StringCompare(Weather.Plugin,)</visible>
</item>
<item id="10"><!--weather-->
<label>31017</label>
<include condition="Skin.HasSetting(CustomWeather)">BackgroundVarsWeather2</include>
<include condition="!Skin.HasSetting(CustomWeather) + Skin.HasSetting(noWeatherSouthAmerica)">BackgroundVarsWeatherNorthAmerica</include>
<include condition="!Skin.HasSetting(CustomWeather) + !Skin.HasSetting(noWeatherSouthAmerica)">BackgroundVarsWeatherSouthAmerica</include>
<onclick>ActivateWindow(Weather)</onclick>
<visible>Skin.HasSetting(weather)</visible>
<visible>!StringCompare(Weather.Plugin,)</visible>
</item>
<item id="12"><!--addons-->
<label>31024</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsAddons720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsAddons1080</include>
<onclick>ActivateWindow(AddonBrowser)</onclick>
<onclick>XBMC.UpdateAddonRepos</onclick>
<visible>!Skin.HasSetting(noaddons)</visible>
</item>
<item id="24"><!--programs-->
<onclick>Skin.Reset(games)</onclick>
<label>31023</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsPrograms720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsPrograms1080</include>
<onclick>ActivateWindow(20)</onclick>
<visible>Skin.HasSetting(scripts)</visible>
</item>
<item id="22"><!--shutdown-->
<label>31019</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsShutdown720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsShutdown1080</include>
<onclick>Shutdown()</onclick>
<visible>!Skin.HasSetting(noshutdown)</visible>
</item>
<item id="23"><!--signout-->
<label>31209</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsSignOut720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsSignOut1080</include>
<onclick>System.LogOff</onclick>
<visible>Skin.HasSetting(signout)</visible>
</item>
<item id="13"><!--DVD-->
<label>31018</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsPlayDVD720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsPlayDVD1080</include>
<onclick>PlayDVD</onclick>
<visible>System.HasMediadvd</visible>
</item>

jo3
12-04-2010, 10:46 AM
do want!

gwilson
12-07-2010, 06:43 PM
Donnie1979,

If you're still looking for the changes that need to be made to includes_mainmenu.xml in Aeon MQ2 to launch Hyperspin, here's what worked for me:

Change:

</item>
<item id="2"><!--games-->
<label>31011</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVar sGames720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVa rsGames1080</include>
<onclick>Skin.SetBool(games)</onclick>
<onclick>ActivateWindow(MyPrograms)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
<visible>!Skin.HasSetting(launcherforgames)</visible>
</item>

To:

</item>
<item id="2"><!--games-->
<label fallback="31011">$INFO[Skin.String(mainmenu_customGames_Label)]</label>
<include condition="Skin.HasSetting(no1080p)">BackgroundVarsGames720</include>
<include condition="!Skin.HasSetting(no1080p)">BackgroundVarsGames1080</include>
<onclick>Skin.SetBool(games)</onclick>
<onclick>XBMC.RunScript(special://xbmc/launcher.py)</onclick>
<visible>!Skin.HasSetting(nogames)</visible>
<visible>!Skin.HasSetting(launcherforgames)</visible>
</item>

monkeysez
01-08-2011, 09:24 PM
Dharma is officially out, any updates on this?

donnei1979
01-09-2011, 07:59 AM
yep i talked to Sopht yesterday and he's working on one for the dharma release.

Thanks Gwilson for checking it

SophT
01-10-2011, 08:03 PM
yup, I think I'll publish it this weekend - I am using Aeon65, though I have MQ2 installed too. The new version of the wrapper uses the builtin XBMC menu XML to add to the main menu (no hacking the xml, and it will work for all skins) and it uses the XBMC API for the launcher (no writing python functions).

It took me about 3 minutes to figure out how to use it and then write it to launch Firefox as a proof of concept. It's really nice and simple

BWheble
01-28-2011, 04:32 PM
SophT,

Have you got the new wrapper completed? Looking forward to using these two great progams together.

SophT
01-28-2011, 11:12 PM
Yes - I have, and I just need to do a short write up, it's seriously easy.

SophT
01-29-2011, 01:21 AM
Ok, first post updated - or visit http://www.iyware.com/2011/01/29/xbmc-dharma-program-launcher/ for the new write up. I will still answer HS specific integration questions on this thread.

BWheble
01-31-2011, 06:41 PM
Reading your post sounds easy. But I have two questions - 1) when making the internet ahk - do you just save that in notepad and then recompile?

2) Do you have to have firefox as a browser for this to work? I use internet explorer.

I really am a newb when it comes to this kind of stuff.

SophT
02-01-2011, 06:12 AM
Reading your post sounds easy. But I have two questions - 1) when making the internet ahk - do you just save that in notepad and then recompile?

2) Do you have to have firefox as a browser for this to work? I use internet explorer.

I really am a newb when it comes to this kind of stuff.

1) basically, yes.
2) No, you don't have to use Firefox, just change the path to that if internet explorer

Circo
02-02-2011, 11:48 PM
Quick question, I read your post, super simple. I have never even looked into xbmc before. Looks fantastic, does it work with touchscreen monitors?

H4CK3R
02-03-2011, 02:36 AM
Quick question, I read your post, super simple. I have never even looked into xbmc before. Looks fantastic, does it work with touchscreen monitors?

It does, but not to great... Even with the touch screen skins. Im looking at J.River media, using koolbreezes theme/skin. Im liking that alot more to be honest, just alittle pricey.

SophT
02-03-2011, 05:40 AM
Quick question, I read your post, super simple. I have never even looked into xbmc before. Looks fantastic, does it work with touchscreen monitors?

Yeah, basically what H4CK3R said - XBMC has mouse support, and there are some touch screen oriented skins like joggler (http://forum.xbmc.org/showthread.php?t=84175) but I've never tried it. Of course I did also see a Kinect Hack that uses gesture control which looked awesome.

aceturnedjoker
02-16-2011, 12:55 PM
Don't know what I am doing wrong, but I have complied the autolauncher and edited the favourites but don't see anything. I'm using Aeon65 and don't know where/what I need to do next:banghead::banghead:

Running Dharma and Aeon MQ2

sneakily1
02-16-2011, 07:34 PM
I'm using Joggler (XBMC touch-screen skin) on my Tablet PC (a Dell Latitude XT) and it's pretty sweet... you do need to tweak the settings a bit, but for free... it's worth trying out.

SophT
02-17-2011, 03:48 AM
Don't know what I am doing wrong, but I have complied the autolauncher and edited the favourites but don't see anything. I'm using Aeon65 and don't know where/what I need to do next:banghead::banghead:

Running Dharma and Aeon MQ2

try something simple in your AHK file like this:



msgbox, hello world!


If you see the message we know that at least the AHK file is getting launched correctly.

aceturnedjoker
02-17-2011, 10:21 AM
try something simple in your AHK file like this:



msgbox, hello world!


If you see the message we know that at least the AHK file is getting launched correctly.

Nope, not even getting that. This is what I did:

Installed XBMC on Windows 7 x64

Complied and Ran "Internet"; opened box saying "hello world"

Moved "internet" to root; C:\

Made favourites.xml (wasn't one there) and put that in C:\program files (x86)\xbmc\userdata

From there i'm lost; don't see anything in any menu that says "Internet":banghead:

aceturnedjoker
02-21-2011, 06:46 AM
Nope, not even getting that. This is what I did:

Installed XBMC on Windows 7 x64

Complied and Ran "Internet"; opened box saying "hello world"

Moved "internet" to root; C:\

Made favourites.xml (wasn't one there) and put that in C:\program files (x86)\xbmc\userdata

From there i'm lost; don't see anything in any menu that says "Internet":banghead:

Fixed it!:five:

davetucker
02-21-2011, 02:53 PM
I'm having issues with XBMC 10.0 and the Aeon 65 Skin.
I have added Hyperspin to my favourites and can launch it from Favs > HyperSpin...
When I go to Settings > Main Menu > Menu Items > New Item, all I see is what appears to be a blank list ?!? :banghead:
Any ideas?

Thanks,

Dave

BWheble
02-21-2011, 06:53 PM
Here is another option to get hyperspin to work in xbmc using executor and the night skin. Here is a youtube tutorial.

http://www.youtube.com/watch?v=9IbPFALGDp0

The only catch is that it requires you to have hyperspin in your root directory. For example: c:\hyperspin

It works that I know. I don't know how to get it to work in other skins though. Any Ideas SophT?

Edit - IF you want to use this option for aeonmq all you have to do after you set it up in the "night skin" is change your skin to aeonmq and -
go to settings then main menu then shortcuts then choose new item then name it hyperspin and your done. Hope this helps...

donnei1979
03-12-2011, 09:14 AM
Everything works just one thing, i have a 3 second gap when i start HS that shows my desktop, same thing happens when i shut down HS, ive thried launching HS through the MAME front end add on, works great only xbmc crashes when i exit HS

Trnzaddict
03-12-2011, 05:38 PM
Everything works just one thing, i have a 3 second gap when i start HS that shows my desktop, same thing happens when i shut down HS, ive thried launching HS through the MAME front end add on, works great only xbmc crashes when i exit HS


Yep. Same here. I'm actually using the older method to launch hyperspin where you use 2 seperate ahk files because i was able to get the script to black out windows for a few secs each while hs launches and when it closes and returns to xbmc....

The new way is much simpler, and you can pretty much launch any program but shows your desktop for a couple of seconds.

What you could do is hide your desktop icons and taskbar and make an hd wallpaper and use some cool looking text that says "LOADING" or something to create an illusion so when it loads and closes you see that.

Methe
04-28-2011, 08:44 AM
XBMC + Hyperspin ? Seems like a nice idea. I will give it a try.

Rain
04-28-2011, 02:22 PM
I will work on a nice implementation of XBMC into your HyperSpin installation. What I'm thinking aboutbdoing is creating a nice channel on the main wheel that you can go into and select music, movies, TV shows, etc... I will work on it today and have an alpha release tonight... Stay tuned.

donnei1979
04-28-2011, 03:18 PM
I will work on a nice implementation of XBMC into your HyperSpin installation. What I'm thinking aboutbdoing is creating a nice channel on the main wheel that you can go into and select music, movies, TV shows, etc... I will work on it today and have an alpha release tonight... Stay tuned.

Can't wait to test it :D

Sibbs
04-28-2011, 06:46 PM
I've found it's way easier to run Hyperspin from XBMC rather than vice versa.

hoffsta
12-21-2011, 03:06 PM
Noob question: I got all this to work using your AutoHotKey method, however, hyperspin is not launching fullscreen. What am I missing? These are both fresh installs (XBMC & Hyperspin). Thanks for the guide!

EDIT: Please disregard! Somehow HyperHQ fullscreen setting was reverted by mistake...

Thanks again, this works great.