Giter Site home page Giter Site logo

Comments (1)

CastagnaIT avatar CastagnaIT commented on May 28, 2024

UPDATE:
i made some more tests by creating a custom python test addon,
you can use this test addon: plugin.video.tst_streams.zip
requirement: InputStream Adaptive installed, no configuration needed, since the test addon override ISAdaptive settings automatically just for this purpose

On the test addon are available more video playback cases, and the following cause the crash:
DASH + Dialog to confirm + Force ask quality ROUTED with xbmc.Player().play
this use xbmc.Player().play to route the play callback to play the listitem

but

if you use the second test case, so the following:
DASH + Dialog to confirm + Force ask quality ROUTED with xbmcplugin.setResolvedUrl
that use xbmcplugin.setResolvedUrl to route the play callback kodi dont crash and dialog is shown correctly

the second test case i discovered just now that works (but on v21 only), and i think should be the right way to route the item to be played,
i will try on android to see if works correctly later and i will update this comment (edit: tested on android the second test case, works, but only on Kodi 21, not on 20 or 19, i can use both ways depending on kodi version, not a very clean solution but it's okay)
anyway its a thing to be fixed/improved

from xbmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.