moojmidge / service.upnext Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
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.
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
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)
I am not sure if this is an issue with my setup in particular or if it is a bug...
Hello, sorry to bother you again.
Upnext detects the next episode but doesn't play it automatically - I suspect that it is related to the previous issue?
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?
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 :)
if it possible will you add an option to detect chapters/bookmarks in videos files, and use it as indicator for Next episode popup.
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.
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
service.upnext/resources/lib/detector.py
Lines 696 to 705 in f969486
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
service.upnext/resources/lib/detector.py
Line 696 in f969486
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
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...|
Thank you for resolving the previous issues which I reported with the Jellyfin addon.
If there is no new episode, the episode which has just played is then offered as the next episode.
kodi.log
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.
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.