Git Product home page Git Product logo

service.upnext's People

Contributors

angelblue05 avatar anxdpanic avatar arvvoid avatar beatmasterrs avatar brutuz avatar castagnait avatar dagwieers avatar dependabot[bot] avatar effef avatar frodo19 avatar im85288 avatar jonesthefox avatar matejmosko avatar maven85 avatar mediabrasiltv avatar mediaminister avatar moojmidge avatar notoco avatar roliverosc avatar semool avatar sopor avatar spyderboy92 avatar sualfred avatar svetlemodry avatar thunderbird2086 avatar tmihai20 avatar tweimer avatar vlmaksime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

service.upnext's Issues

Upnext 2.0.6+dev.0+matrix not working

Hello, I'm using the above version on Kodi 19.4 with the Jellyfin for Kodi addon. Unfortunately the upnext popup doesn't appear. Here's the log which hopefully will help identify the problem. Pre v2 versions did work.

[Request] Option to ignore playlists in certain addons

I want the UpNext addon to work when I am playing shows with TMDb helper addon/widgets, but I would like playlists to be ignored from any other addons. Is it possible to ignore addons based on ID or some other option so UpNext wont try to manage playlists from them? Thanks

Issue trying to install addon from zipfile

I am having issues that the addon will not install from a zipfile and give a python dependency error:

Log Message:

2023-03-30 23:05:13.166 T:16849 error : CAddonInstallJob[service.upnext]: The dependency on xbmc.python version 2.25.0 could not be satisfied.

Currently Kodi is installed on an nvidia shield (I believe the 2017 version)

  • package version: service.upnext-2.0.20-dev.0.zip
  • Kodi version: 20.1.0 Git 20230312-289ec664e3
  • Operating system Version: Android TV 11.0.0 API level 30 (kernel: Linux 4.9.141-tegra-gfad87a91fd8a)

I am not sure if this is an issue with my setup in particular or if it is a bug...

Widgets not showing up

Hi,

Installed latest Kodi 20.2 with this fork of UpNext and the UpNext Movies and UpNext Episodes is blank.

How to fix?

Version: service.upnext-2.0.25+dev.0+matrix.1.zip

image
image

A question about Next-up episode listing

Next-up episode listing - works great - the widget that I set up updates really quickly and without errors. Unfortunately - opening an item from this list causes that the next-up window is not displayed. I hope that full integration is planned?

Keep widget aware of changes to mysql library

So I'm not sure if this is the right place to be inquiring, but I have a minor issue with my Kodi setup and this addon:

I use MySQL to keep the library and watched statuses of two Kodi clients synced. One of the clients is an always-on HTPC, with Kodi always idly running. I have a Next Episodes widget with the refresh interval set at 10 minutes, but when I return to the HTPC after having watched some show on the other Kodi client, changes to the MySQL watched status db are not recognized until I open a non-homescreen window, e.g. open the movie titles window, or refresh the skin. The result is that, even with the widget refreshing, watched statuses are not updated and ready to use, but require an action by the user to trigger Kodi registering changes to the library database. I've tried using the Kodi Callbacks addon to refresh the skin when the screensaver is deactivated -- which would happen when I return to the HTPC after it's been idle -- but it's throwing errors and doesn't appear to be actively maintained.

My question is, when the widget refreshes, is there a way to make Kodi also check MySQL -- like happens when Kodi opens the Titles window, or refreshes the skin? This would keep the widget accurately synced across Kodi clients without needing additional user input.

Note: just to make sure I'm expressing myself clearly, I don't mean updating the library. The library is already up-to-date, the home screen is just stale.

Edit: I'm asking for a lot now, but a bonus feature would be an option to set the widget to refresh using OnScreensaverDeactivated, instead of at a time interval.

Thanks for your time and for the best Kodi addon :)

Still watching behavior

Wondering if you might consider a couple changes in the Still Watching behavior?

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?
And
Would you consider a double response for the still watching prompt.

Still watching, YES
Don't click and playback stops. Click yes and you are presented with the normal up next prompt, to watch next or close.

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.

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.

RPI4 - detector not making captures

Hi,
thanks for cool add-on. I did some testing on RPI4 Kodi 20.2, upnext v2.0.27+dev.0 (2023-09-30)

It works flawlessly except detector. I play videos from my library and of course - detector starts. But the problem is IMHO in this part

image_data = capturer.getImage()
# Capture failed or was skipped, retry with less data
if not image_data or image_data[-1] != 255:
self.log('Capture failed using {0}kB data limit'.format(
SETTINGS.detector_data_limit
), utils.LOGWARNING)
SETTINGS.detector_data_limit = (
SETTINGS.detector_data_limit - 8
) or 8

According to my log https://paste.kodi.tv/ajikuriruy.kodi it goes on endless loop trying to retry failed capture which never happens. This part over and over

[service.upnext] UpNextDetector -> Capture failed using 8kB data limit

After some digging i found >HERE< that specifically this part

image_data = capturer.getImage()

Can return garbage results on RPI. That's why capture never happens, upnext is retrying until prompt 60s before movie ending appears.

Thanks for any tips

[New idea] Pause after "Watch now"

Some plugins look for the next episode for quite a long time after selecting "Play next" - sometimes the episode we were watching ends and the Kodi home page appears. Is it possible to add a "pause" after selecting "Play next...|

Kodi 20 compatibility

I ran kodi 20 today as a test and the add-on has some problem in the logs (it works but throws warnings)

2022-11-14 03:35:14.987 T:7616  warning <general>: "resumetime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2022-11-14 03:35:14.987 T:7616  warning <general>: "totaltime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().
2022-11-14 03:35:14.990 T:7616  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.

https://github.com/MoojMidge/service.upnext/blob/master/resources/lib/upnext.py#L110 - I guess it's in these lines.

Clarity of the different "advanced" options

Just wondering what the different detector options entail and what to tweak to try and dial in the detection of credits.

Some are fairly obvious, some aren't, making it tricky to try and dial things in. It works out of the box with a lot of endings, but a few that don't.

Been going at it trial and error style at an anime show, just to make it as hard as possible. Sadly the logs are swimming with the ListItem warnings Kodi 20 brought along.

UpNextDetector -> Capture failed on Nvidia Shield with Hardware Acceleration enabled

Hello. I have a Nvidia Shield 2017 and have been testing this addon and noticed that I get the following errors when I have hardware acceleration enabled. If I disable hardware acceleration the captures seem to work fine but that introduces quality issues and most videos are unplayable. Are there any options to correct this? Thanks!

2023-11-25 04:19:45.109 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 56kB data limit
2023-11-25 04:19:45.110 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:45.110 T:2294    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:46.110 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 48kB data limit
2023-11-25 04:19:46.110 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:46.111 T:2292    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:47.111 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 40kB data limit
2023-11-25 04:19:47.111 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:47.111 T:2295    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:48.112 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 32kB data limit
2023-11-25 04:19:48.112 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:48.112 T:2291    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:49.112 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 24kB data limit
2023-11-25 04:19:49.113 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:49.113 T:2293    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:50.113 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 16kB data limit
2023-11-25 04:19:50.113 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:50.116 T:2294    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:51.114 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:51.114 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:51.115 T:2292    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:52.115 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:52.115 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:52.115 T:2295    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:53.115 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:53.116 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:53.116 T:2291    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:54.116 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:54.116 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:54.117 T:2293    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:55.117 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:55.117 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0
2023-11-25 04:19:55.120 T:2294    debug <general>: [service.upnext] UpNextDetector -> Queue empty - retry
2023-11-25 04:19:56.117 T:2290  warning <general>: [service.upnext] UpNextDetector -> Capture failed using 8kB data limit
2023-11-25 04:19:56.118 T:2290    error <general>: CRenderManager::Capture - unknown capture id: 0

Plugin functionality with Jellycon (Jellyfin)

Merely a suggestion and curiosity. Is it possible or something you might undertake? If so, what can I do to assist with information? Liked it with Jellyfin for Kodi, but that addon itself is a bit wobbly so had to swap.

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.