Skip to content

Can't run listed games #61

@TTherouanne

Description

@TTherouanne

Hello,
I know that Luna is designed for OSMC but i'm trying to use it with Kodi (i guess he is compatible)

When i try to start games or steam from Luna, nothing is happening, (features like scrapper, pairing, remote game list works)
Moonlight is working fine when i run it from the terminal.

My setup:

  • ArchlinuxARM on RaspberryPi 3
  • Moonlight-embedded 2.2.0
  • Kodi 16
  • Luna 0.5.3

I have put kodi in debug mode, this is an extract during the game start :

11:51:12 T:1549792160 NOTICE: [script.luna] [CoreService] - initialized
11:51:12 T:1549792160 DEBUG: [xbmcswift2] Reading pickle storage from disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/game_storage"
11:51:12 T:1549792160 DEBUG: [xbmcswift2] Loaded storage "game_storage" from disk
11:51:12 T:1549792160 DEBUG: LocalizeStrings: no translation available in currently set gui language, at path /var/lib/kodi/.kodi/addons/script.luna/resources/language/French
11:51:12 T:1549792160 DEBUG: LocalizeStrings: no strings.po file exist at /var/lib/kodi/.kodi/addons/script.luna/resources/language/English, fallback to strings.xml
11:51:12 T:1828680608 DEBUG: WaitOnScriptResult- plugin returned successfully
11:51:12 T:1549792160 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/game_version"
11:51:12 T:1949356032 DEBUG: Saving fileitems [plugin://script.luna/games]
11:51:12 T:1949356032 DEBUG: -- items: 19, sort method: 0, ascending: false
11:51:12 T:1549792160 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/game_storage"
11:51:12 T:1549792160 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/update"
11:51:12 T:1605559200 DEBUG: Thread BackgroundLoader start, auto delete: false
11:51:12 T:1549792160 INFO: CPythonInvoker(26, /var/lib/kodi/.kodi/addons/script.luna/addon.py): script successfully run
11:51:12 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/DIA+GeForce+GTX+950%2C+GFE+2.11.2.55+%28protocol+version+7%29/folder.jpg
11:51:13 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Launcher/folder.jpg
11:51:13 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Serious+Sam+3%3A+BFE/folder.jpg
11:51:13 T:1949356032 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
11:51:13 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Shank2/folder.jpg
11:51:13 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Steam/folder.jpg
11:51:13 T:1549792160 WARNING: CPythonInvoker(26, /var/lib/kodi/.kodi/addons/script.luna/addon.py): the python script "/var/lib/kodi/.kodi/addons/script.luna/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE,N9XBMCAddon7xbmcgui8ListItemE
11:51:13 T:1549792160 INFO: Python script stopped
11:51:13 T:1549792160 DEBUG: Thread LanguageInvoker 1549792160 terminating
11:51:13 T:1605559200 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/trine2_32bit/folder.jpg
11:51:13 T:1605559200 DEBUG: Thread BackgroundLoader 1605559200 terminating
11:51:17 T:1566569376 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
11:51:23 T:1949356032 INFO: Python, unloading python shared library because no scripts are running anymore
11:51:23 T:1949356032 DEBUG: UnloadExtensionLibs, clearing python extension libraries
11:51:27 T:1949356032 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
11:51:27 T:1949356032 DEBUG: OnKey: down (0xf081) pressed, action is Down
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x60c6b598
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x7243f830
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x60c6b598
11:51:27 T:1828680608 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.egl_render handle 0x7243f830
11:51:27 T:1828680608 DEBUG: DoWork - took 194 ms to load special://masterprofile/Thumbnails/0/061e29cf.jpg
11:51:32 T:1949356032 DEBUG: Keyboard: scancode: 0x67, sym: 0x0111, unicode: 0x0000, modifier: 0x0
11:51:32 T:1949356032 DEBUG: OnKey: up (0xf080) pressed, action is Up
11:51:35 T:1949356032 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
11:51:35 T:1949356032 DEBUG: OnKey: return (0xf00d) pressed, action is Select
11:51:35 T:1949356032 DEBUG: CGUIMediaWindow::GetDirectory (plugin://script.luna/games/launch/DiRT+Rally)
11:51:35 T:1949356032 DEBUG: ParentPath = [plugin://script.luna/games]
11:51:35 T:1828680608 DEBUG: StartScript - calling plugin Luna('plugin://script.luna/games/launch/DiRT+Rally','19','')
11:51:35 T:1828680608 DEBUG: WaitOnScriptResult - waiting on the Luna (id=27) plugin...
11:51:35 T:1605559200 DEBUG: Thread LanguageInvoker start, auto delete: false
11:51:35 T:1605559200 INFO: initializing python engine.
11:51:35 T:1605559200 DEBUG: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): start processing
11:51:35 T:1605559200 DEBUG: -->Python Interpreter Initialized<--
11:51:35 T:1605559200 DEBUG: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): the source file to load is "/var/lib/kodi/.kodi/addons/script.luna/addon.py"
11:51:35 T:1605559200 DEBUG: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): setting the Python path to /var/lib/kodi/.kodi/addons/script.luna:/var/lib/kodi/.kodi/addons/script.module.dateutil/lib:/var/lib/kodi/.kodi/addons/script.module.pyxbmct/lib:/var/lib/kodi/.kodi/addons/script.module.six/lib:/var/lib/kodi/.kodi/addons/script.module.xbmcswift2/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages
11:51:35 T:1605559200 DEBUG: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): entering source directory /var/lib/kodi/.kodi/addons/script.luna
11:51:35 T:1605559200 DEBUG: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): instantiating addon using automatically obtained id of "script.luna" dependent on version 2.1.0 of the xbmc.python api
11:51:35 T:1949356032 DEBUG: ------ Window Init (DialogBusy.xml) ------
11:51:36 T:1566569376 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
11:51:36 T:1605559200 NOTICE: [script.luna] [CoreService] - initialized
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/" named "index" pointing to function "index"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/settings" named "open_settings" pointing to function "open_settings"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/update" named "check_update" pointing to function "check_update"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/actions/create-mapping" named "create_mapping" pointing to function "create_mapping"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/actions/pair-host" named "pair_host" pointing to function "pair_host"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/actions/reset-cache" named "reset_cache" pointing to function "reset_cache"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/actions/patch-osmc" named "patch_osmc_skin" pointing to function "patch_osmc_skin"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/actions/rollback-osmc" named "rollback_osmc_skin" pointing to function "rollback_osmc_skin"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/games" named "show_games" pointing to function "show_games"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/games/refresh" named "do_full_refresh" pointing to function "do_full_refresh"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/games/info/<game_id>" named "show_game_info" pointing to function "show_game_info"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/games/launch/<game_id>" named "launch_game" pointing to function "launch_game"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Adding url rule "/games/launch-from-widget/<xml_id>" named "launch_game_from_widget" pointing to function "launch_game_from_widget"
11:51:36 T:1605559200 NOTICE: [script.luna] [CoreService] - initialized
11:51:36 T:1605559200 NOTICE: [script.luna] [UpdateService] - initialized
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Reading pickle storage from disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/update"
11:51:36 T:1605559200 DEBUG: [xbmcswift2] Loaded storage "update" from disk
11:51:37 T:1605559200 NOTICE: [script.luna] [ConfigHelper] - Dumped config to disk.
11:51:37 T:1605559200 DEBUG: [xbmcswift2] Reading pickle storage from disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/game_version"
11:51:37 T:1605559200 DEBUG: [xbmcswift2] Loaded storage "game_version" from disk
11:51:37 T:1605559200 DEBUG: [xbmcswift2] Handling incoming request for /games/launch/DiRT+Rally
11:51:37 T:1605559200 NOTICE: [xbmcswift2] Request for "/games/launch/DiRT+Rally" matches rule for function "launch_game"
11:51:37 T:1605559200 NOTICE: [script.luna] [CoreService] - initialized
11:51:37 T:1605559200 NOTICE: [script.luna] Launching game DiRT Rally
11:51:37 T:1605559200 NOTICE: [script.luna] [ConfigHelper] - Dumped config to disk.
11:51:39 T:1828680608 DEBUG: WaitOnScriptResult- plugin returned failure
11:51:39 T:1605559200 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/game_version"
11:51:39 T:1949356032 ERROR: GetDirectory - Error getting plugin://script.luna/games/launch/DiRT+Rally
11:51:39 T:1949356032 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.luna/games/launch/DiRT+Rally) failed
11:51:39 T:1949356032 DEBUG: CGUIMediaWindow::GetDirectory (plugin://script.luna/games)
11:51:39 T:1949356032 DEBUG: ParentPath = [plugin://script.luna/]
11:51:39 T:1949356032 DEBUG: Loading items: 19, directory: plugin://script.luna/games sort method: 0, ascending: false
11:51:39 T:1549792160 DEBUG: Thread BackgroundLoader start, auto delete: false
11:51:39 T:1605559200 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "/var/lib/kodi/.kodi/userdata/addon_data/script.luna/.storage/update"
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/DIA+GeForce+GTX+950%2C+GFE+2.11.2.55+%28protocol+version+7%29/folder.jpg
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Launcher/folder.jpg
11:51:39 T:1605559200 INFO: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): script successfully run
11:51:39 T:1949356032 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Serious+Sam+3%3A+BFE/folder.jpg
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Shank2/folder.jpg
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/Steam/folder.jpg
11:51:39 T:1549792160 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://script.luna/games/launch/trine2_32bit/folder.jpg
11:51:39 T:1549792160 DEBUG: Thread BackgroundLoader 1549792160 terminating
11:51:39 T:1605559200 WARNING: CPythonInvoker(27, /var/lib/kodi/.kodi/addons/script.luna/addon.py): the python script "/var/lib/kodi/.kodi/addons/script.luna/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
11:51:39 T:1605559200 INFO: Python script stopped
11:51:39 T:1605559200 DEBUG: Thread LanguageInvoker 1605559200 terminating
11:51:41 T:1566569376 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
11:51:50 T:1949356032 INFO: Python, unloading python shared library because no scripts are running anymore
11:51:50 T:1949356032 DEBUG: UnloadExtensionLibs, clearing python extension libraries
11:51:57 T:1566569376 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
11:52:09 T:1828680608 DEBUG: Previous line repeats 1 times.
11:52:09 T:1828680608 DEBUG: Thread JobWorker 1828680608 terminating (autodelete)
11:52:51 T:1566569376 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000

Have you got an idea that what is causing this problem?
Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions