Git Product home page Git Product logo

Comments (4)

MoojMidge avatar MoojMidge commented on September 17, 2024 1

Currently "Close" on still watching popup will stop playback instead of just closing the popup. Can you modify so it will just close the popup and let the playback continue till the end of the episode?

Not possible unfortunately. Well it is, but it can cause issues when fast forwarding, skipping, or if the popup doesn't fully close before the playback event of next item is fired, which will result in the next item playing, even if a user did, or was intending to, click Close/Stop.

It can also happen on an Up Next popup, but in that instance it is generally OK, since that is (usually) the desired action anyway.

As a compromise to putting in this workaround, there was meant to be a secondary method to close the popup - by pressing Esc or Back on your keyboard or remote. However, looking at the code it looks like I removed this for some reason. Can't remember why.

You can add it back in and see if that works for you. If it does then I will add it back in permanently.

Change this line:
https://github.com/MoojMidge/service.upnext/blob/7de9a3756cc2a3ec37f3f92758cd529fc6be66b4/resources/lib/popuphandler.py#L228C65-L228C65

To:

            popup_state['show_upnext'] or self._sigcont.is_set() or popup_state['cancel']

If you want a use case. I have the popup timer set to 160 seconds. I've had many times where I get to a still watching prompt and want to just press continue and let the playback go on but I have to wait for the credits to press continue since the next episode starts after the press.

Don't quite understand. If you press continue and then another popup appears won't you need to then press play or just wait again for this new popup? It's the same as the original isn't it?

For the close button. I don't think it should stop playback unless the user changed the settings for show a stop.

Thanks as always.

No problem. Yeah, it would be ideal if the close button worked reliably, but sometimes Kodi doesn't do what you think it will. See how you go with the Back command instead

from service.upnext.

booyakafoo avatar booyakafoo commented on September 17, 2024 1

I really appreciate it. This addon is probably my most used and really ties my setup together. I don't need anything else right now.

from service.upnext.

booyakafoo avatar booyakafoo commented on September 17, 2024

I may have a slight mental problem because all of this stems from me not wanting to stop an episode before the credits are started but also not wanting to pay attention to the TV to wait for the credits to start. lol

Adding the back button code works perfectly for me. I usually leave the TV on when I work or I'm on my phone not paying attention to the TV and know that by the end of the 3rd episode in a row, I need to interact with the playback to keep it going. The interaction I would prefer be simple like pressing back does now and I can go back to what I was working on and the playback continues. Where before, on the 3rd episode I would have to wait for it to get to the credits or press next and miss some of the episode. Again this is a personal issue since a normal person would actually watch the show that's on or just hit next and might not care that the episode wasn't completely over.

Hope that makes sense and thanks for the other option!

from service.upnext.

MoojMidge avatar MoojMidge commented on September 17, 2024

LOL... the only reason I do any of this with Kodi is because it doesn't quite do what I want it to and it bothered me enough that I decided to learn Python.

To be clear do you still need/want something different to happen when you hit Continue on the Still Watching popup?

from service.upnext.

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.