(31st Mar, 2021 01:30 AM)Nachteule Wrote: [ -> ] (30th Mar, 2021 09:48 PM)rafhtl Wrote: [ -> ] (30th Mar, 2021 09:34 PM)Nachteule Wrote: [ -> ]Ah, interesting. i guess the stream is h.264 encoded. there was a seek problem with h.264 PRIME hardware decoding for a long time. looks like this is not completely resolved yet
Exactly!
so what I'm doing now if anyone is interested, is changing the setting when I enter PVR
Code:
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoder","value":true}}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoderforhw","value":true}}')
(true for no flickering, false for any other stream NON PVR)
only way to solve now unless you have a better suggestion...
thanks Nachteule
Looks interesting
Please tell me, where an how do you call the xbmc.execute statement?
It is in a service module
It could very well be in integrated in:
/usr/local/share/kodi/addons/script.service.xbian.upstart-bridge
Code:
try:
useprimedecoder = str(get_option("videoplayer.useprimedecoder")).lower()
# elimina lo sfarfallio
if useprimedecoder == "false" and (xbmcgui.getCurrentWindowId()== 10700 or xbmcgui.getCurrentWindowId()==10800):
xbmc.executebuiltin(('Notification(%s,%s,%s)' %("Htlapp", "Setting Video TV ...", "1000")))
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoder","value":true}}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoderforhw","value":true}}')
# per tutti gli altri va bene false
AddonName = xbmc.getInfoLabel('Container.PluginName').lower()
if useprimedecoder == "true":
##xbmc.executebuiltin(('Notification(%s,%s,%s)' %("Htlapp", "Setting Video..."+AddonName, "2000")))
if 'plugin.video' in AddonName:
xbmc.executebuiltin(('Notification(%s,%s,%s)' %("Htlapp", "Setting Video Other...", "1000")))
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoder","value":false}}')
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"videoplayer.useprimedecoderforhw","value":true}}')
except:
pass
Code:
def rpc(method, params):
payload = {
"jsonrpc": "2.0",
"method": method,
"params": params,
# Not sure what is this, but it's a required param
"id": 1
}
response = json.loads(xbmc.executeJSONRPC(json.dumps(payload)))
return response["result"]
def get_option(key):
result = rpc("Settings.GetSettingValue", {"setting": key})
return result["value"]
def set_option(key, value):
return rpc("Settings.SetSettingValue", {"setting": key, "value": value})
(31st Mar, 2021 01:35 AM)Nachteule Wrote: [ -> ] (31st Mar, 2021 01:03 AM)rafhtl Wrote: [ -> ]The issue with inputstream adaptive that I have followed for our italian plugin seems to be fixed with this version:
https://github.com/xbmc/inputstream.adaptive/issues/615#issuecomment-809117916
https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Finputstream.adaptive/detail/PR-564/7/artifacts/
could you please tell me how to test this in xbian?
https://jenkins.kodi.tv/job/xbmc/job/inputstream.adaptive/job/PR-564/7/artifact/cmake/addons/build/zips/inputstream.adaptive+android-armv7/i...-2.6.8.zip
Is it enough to copy in?
/usr/local/share/kodi/addons/inputstream.adaptive
please help me understand
thank you
Don't believe that a build for android works on a Raspberry Pi
But you can try it of course. Save the existing directory and unzip the zip file to the same place. Try makes wise
I tried already
But can't understand if it is the new version working or not
it has .so in the folder... that's what I needed help with
Code:
libinputstream.adaptive.so
libssd_wv.so
do I just leave them in the folder?
thanks