Giter Site home page Giter Site logo

Comments (1)

Tikipeter avatar Tikipeter commented on July 17, 2024

I've had a go at this, but I found the upnext service a bit temperamental.

Below is a new player.py file with the most basic of integration for upnext (i.e. if it's an episode playing, upnext will activate).

It's a simple process to add settings for turning it off, how long before the end before it activates etc (at the moment it is 2min before the end for testing purposes).

I was thinking perhaps it should only be available when autoplay is turned on, otherwise it won't 'autoplay' the next episode, it will just trigger an automatic scraping of the next episode.

As well as replacing the player.py file with the one below, also add the AddonSignals dependency to the addon.xml file in plugin.video.exodusredux i.e. put the code below inside of the <requires> tags:

<import addon="script.module.addon.signals" version="0.0.1"/>

https://pastebin.com/kJRnXyeE

If someone can test this then we can go from there.

Unfortunately, pre-emptive scraping for a more seamless experience will require some work to be done in the sources.py file. But, I think it might be doable even with my very limited skills, so a skilled coder would probably not have much of an issue with it.

from plugin.video.exodusredux.

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.