Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

HyperSpin XBMC Plugin


Recommended Posts

Posted

Hi to all,

I've developed a simple plugin for XBMC to launch HyperSpin directly from XBMC.

The good thing is that, after closing Hyperspin, return automagically to XBMC.

Configuration is fairly simple. Only 2 fields: Hyperspin Folder and HyperSpin.exe file.

Just install as zip file:

Only requirement: python 2.10 so XBMC Eden and greater.

Enjoy and feedback please :D

evilsephiroth

plugin.program.hyperspin.zip

Posted

Personally I appreciate the simplicity. Works fine for launching HyperSpin for me, but when I exit HyperSpin Kodi (running the 14.2 beta) is minimized to the task bar. Clicking on it brings it back to full screen with a notification saying the script failed. No error log atm (getting late here), but maybe I could try getting one tomorrow. Running Windows 8.1 Pro x64.

HTPC: Gigabyte BRIX Pro w/Intel Iris Pro graphics, Windows 8.1 x64/8gb RAM

Posted

Okay, finally had some time today to mess with this. The section of the log where the script seems to die is below. Is that at all helpful? Maybe a call to XBMC instead of Kodi?

16:11:40 T:3088 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

Error Type: <type 'exceptions.WindowsError'>

Error Contents: [Error 2] The system cannot find the file specified

Traceback (most recent call last):

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\addon.py", line 17, in <module>

plugin.Main()

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\hyperspin_plugin.py", line 85, in __init__

startproc = subprocess_hack.Popen(r'%s %s' % (ap, arguments), cwd=apppath, startupinfo=info)

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\subprocess_hack.py", line 544, in __init__

errread, errwrite)

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\subprocess_hack.py", line 707, in _execute_child

startupinfo)

WindowsError: [Error 2] The system cannot find the file specified

-->End of Python script error report<--

HTPC: Gigabyte BRIX Pro w/Intel Iris Pro graphics, Windows 8.1 x64/8gb RAM

Posted

Interestingly (ish) enough, when I set up Advanced Launcher to do this it exhibits similar behavior--- executing HyperSpin from Kodi works just fine, but when I exit HyperSpin I'm dropped back to the desktop with Kodi minimized.

HTPC: Gigabyte BRIX Pro w/Intel Iris Pro graphics, Windows 8.1 x64/8gb RAM

Posted
Interestingly (ish) enough, when I set up Advanced Launcher to do this it exhibits similar behavior--- executing HyperSpin from Kodi works just fine, but when I exit HyperSpin I'm dropped back to the desktop with Kodi minimized.

indeed the filename was not translated correctly :D

kodi compatible version coming. Focus loss was caused from this :D.

Posted

Much improved! Exiting HyperSpin goes back to Kodi full-screen. It still gives a script error, but functionality doesn't seem to be affected. This looks like the sketchy section of the log:

19:31:37 T:980 DEBUG: CWinEventsWin32::WndProcWindow is active

19:31:37 T:6140 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

Error Type: <type 'exceptions.WindowsError'>

Error Contents: [Error 2] The system cannot find the file specified

Traceback (most recent call last):

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\addon.py", line 17, in <module>

plugin.Main()

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\hyperspin_plugin.py", line 90, in __init__

startproc = subprocess_hack.Popen(r'%s %s' % (ap, arguments), cwd=apppath, startupinfo=info)

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\subprocess_hack.py", line 544, in __init__

errread, errwrite)

File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.program.hyperspin\resources\lib\subprocess_hack.py", line 707, in _execute_child

startupinfo)

WindowsError: [Error 2] The system cannot find the file specified

-->End of Python script error report<--

19:31:37 T:6140 INFO: Python script stopped

19:31:37 T:6140 DEBUG: Thread LanguageInvoker 6140 terminating

19:31:37 T:980 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating

19:31:37 T:980 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.HyperSpin/

19:31:37 T:980 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.HyperSpin/) failed

19:31:38 T:980 DEBUG: CGUIMediaWindow::GetDirectory ()

19:31:38 T:980 DEBUG: ParentPath = [plugin://plugin.program.HyperSpin/]

19:31:38 T:4996 NOTICE: Thread BackgroundLoader start, auto delete: false

19:31:38 T:4996 DEBUG: Thread BackgroundLoader 4996 terminating

19:31:38 T:980 DEBUG: ------ Window Init (DialogKaiToast.xml) ------

19:31:43 T:980 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------

19:31:44 T:980 DEBUG: WinEventsWin32.cpp: APPCOMMAND 1

19:31:44 T:980 DEBUG: CApplication::OnAppCommand: appcommand 1, trying action Back

19:31:44 T:980 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate

19:31:44 T:980 DEBUG: ------ Window Deinit (MyPrograms.xml) ------

19:31:44 T:980 DEBUG: CGUIWindowManager::PreviousWindow: Activate new

19:31:44 T:980 DEBUG: ------ Window Init (Home.xml) ------

HTPC: Gigabyte BRIX Pro w/Intel Iris Pro graphics, Windows 8.1 x64/8gb RAM

  • 2 weeks later...
  • 2 months later...
Posted

Hi my name is Travis willig ok you say this hyperspin Pug in works right cause when I try the hyperspin addon for kodi it won't work or install and so in been trying to find a way to get this to work I even tryed to convert exe file to ask you can e-mail me back at [email protected]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...