Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

XBian_2021.02.19_rpi4 Playback Netflix crash
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
XBian_2021.02.19_rpi4 Playback Netflix crash
31st Mar, 2021, 01:42 AM
Post: #32
rafhtl Offline
Registered
Posts: 59
Joined: Mar 2018
Reputation: 0
RE: XBian_2021.02.19_rpi4 Playback Netflix crash
(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 Dodgy

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 Smile
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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 27th Feb, 2021, 02:07 AM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 28th Feb, 2021, 08:23 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 28th Feb, 2021, 05:29 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 4th Mar, 2021, 04:51 AM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 28th Feb, 2021, 08:09 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 1st Mar, 2021, 07:37 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 2nd Mar, 2021, 12:43 PM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 7th Mar, 2021, 11:18 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 8th Mar, 2021, 06:38 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 8th Mar, 2021, 11:43 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 9th Mar, 2021, 12:30 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 9th Mar, 2021, 12:58 AM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 9th Mar, 2021, 01:06 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 9th Mar, 2021, 10:10 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 9th Mar, 2021, 11:40 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 10th Mar, 2021, 03:13 AM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 10th Mar, 2021, 11:55 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 12th Mar, 2021, 12:17 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 19th Mar, 2021, 05:03 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 20th Mar, 2021, 12:38 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 27th Mar, 2021, 03:37 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 30th Mar, 2021, 12:33 AM
XBian_2021.02.19_rpi4 Playback Netflix crash - gkusiak - 12th Mar, 2021, 07:35 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 30th Mar, 2021, 12:54 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 30th Mar, 2021, 01:24 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 30th Mar, 2021, 03:04 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 30th Mar, 2021, 09:34 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 30th Mar, 2021, 09:48 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 01:03 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 31st Mar, 2021, 01:35 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 31st Mar, 2021, 01:30 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021 01:42 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 31st Mar, 2021, 02:53 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 03:21 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 04:45 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - Nachteule - 31st Mar, 2021, 05:31 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 05:59 AM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 05:37 PM
RE: XBian_2021.02.19_rpi4 Playback Netflix crash - rafhtl - 31st Mar, 2021, 06:55 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 07:04 AM Powered By MyBB, © 2002-2025 MyBB Group.