Mod ScopeNox - Aeon Nox for 2.35/Scope Projector Screens (Zoomed CIH)
Hello ScopeFan
Hello Funkd

i tried to get this to work. But it wont. Im running Kodi 17.6 with madvr and the Dsplayer and scope nox 1.22
(2016-05-05, 02:52)ScopeFan Wrote: Changing between scope settings and 16:9 settings without using the OSD gui.
I used this method to change the scopenox settings via remote to make it wife-kids
friendly.

So you can change skin settings via JSON-RPC.
Funkd, I added a few hacks to your ScopeNox skin:

I appended these lines to your addon.py file in your script.scopenox.tools add on:
if sys.argv[1] == '169':
xbmc.executebuiltin('Skin.setbool (osd169)')
xbmc.executebuiltin('skin.reset (scopemask)')

if sys.argv[1] == '219':
xbmc.executebuiltin('Skin.reset (osd169)')
xbmc.executebuiltin('skin.setbool (scopemask)')

then make a json-rpc call from any browser or applications:

http://10.0.0.133:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": {"wait": false, "addonid": "script.scopenox.tools", "params":"169"}}

or

http://10.0.0.133:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": {"wait": false, "addonid": "script.scopenox.tools", "params":"219"}}

or you could bind the key in the keymap: in this example, I used F1, F2
<keymap>
<global>
<keyboard>
<key id="61584">RunScript(script.scopenox.tools,169,1)</key>
<key id="61585">RunScript(script.scopenox.tools,219,1)</key>
</keyboard>
</global>
</keymap>

Now if I can only find a way to adjust the absolute subtitle positions via scripting...
Changing subtitle alignment does not work. There seems to be a bug in Kodi 16.1.
You can set subtitle position to fixed and adjust it via video calibration. Once you change the
subtitle alignment: bottom of video, below video, above video, on top of video, fixed you loose
the fixed subtitle alignment. I verified this on FireTV and OSX.

Thank you again Funkd.

I insert in my addon.py

import json
import urllib
import urllib2
import sys

xbmc_host = 'localhost'
xbmc_port = 80

if sys.argv[1] == '169':
xbmc.executebuiltin('Skin.setbool (osd169)')
xbmc.executebuiltin('skin.reset (scopemask)')

if sys.argv[1] == '219':
xbmc.executebuiltin('Skin.reset (osd169)')
xbmc.executebuiltin('skin.setbool (scopemask)')

When i call from the browser withhttp://192.168.178.100:8080/jsonrpc?request ={"jsonrpc": "2.0", "method":   "Addons.ExecuteAddon", "params": {"wait": false, "addonid": "script.scopenox.tools", "params":"169"}}
http://192.168.178.100:8080/jsonrpc?request ={"jsonrpc": "2.0", "method":   "Addons.ExecuteAddon", "params": {"wait": false, "addonid": "script.scopenox.tools", "params":"219"}}

I see short a script running but nothing happend.


Also tried the keymaps and at there
-<keymap>
-<global>
-<keyboard>
<key id="61584">runscript(script.scopenox.tools,169,1)</key>
<key id="61585">runscript(script.scopenox.tools,219,1)</key>
<key id="61586">playpause</key>
<key id="61587">play</key>
</keyboard>
</global>
</keymap>
The pay and Pause are only for test. They work. But nothing with  the scope mask.
I hope somebody can Help me.


For me is the best skin ever. I will only swap to kodi 19 when this skin is useable in 19.

JJ_1
Reply


Messages In This Thread
RE: ScopeNox - Aeon Nox for 2.35/Scope Projector Screens (Zoomed CIH) - by JJ_1 - 2021-06-06, 17:38
Logout Mark Read Team Forum Stats Members Help
ScopeNox - Aeon Nox for 2.35/Scope Projector Screens (Zoomed CIH)3