bossanova808 / script.service.playbackresumer Goto Github PK
View Code? Open in Web Editor NEWKodi utility to periodically save restore prints - in case of crashes. (Development repo from May 2019)
License: GNU General Public License v3.0
Kodi utility to periodically save restore prints - in case of crashes. (Development repo from May 2019)
License: GNU General Public License v3.0
The addon stopped working with Kodi nexus. It's this a known issue?
the hevc HW accel of my tvbox cannot work well in kodi 18 and 19, it has to stay with kodi 17.
is there any way to get the old version working with kodi 17 / python 2?
Full debug log:
https://paste.kodi.tv/fogezilucu.kodi
Steps to reproduce:
start video, press 'pause', press 'play'
and also after pressing 'stop'
ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.service.playbackresumer/resources/lib/player.py", line 32, in onPlayBackStopped
self.update_resume_point(-2)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.service.playbackresumer/resources/lib/player.py", line 134, in update_resume_point
if Store.library_id < 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
-->End of Python script error report<--
Would be great if this could work for the audio player as well as the video.
My use case is with a raspberry Pi for media playing in the car. I have a Mausberry 4A power supply that monitors the acc line and gives the pi about 30-40 seconds to shut down gracefully before killing the power. On resume, though, Kodi wants to start over with music selection, which is a bummer if you just ran got out of the car for a minute.
In a perfect world, Kodi would remember where in the file structure the player was, in addition to where in the song, and cue the song at the same point. Iโd say having it cued in a paused state would be ideal, so that it could be resumed when ready, not just automatically blasting everyone without notice. If I had a wishlist these things would be on it.
Thanks for the consideration!
Erik
When I am using this addon with upnext addon after watching a few episodes I find all the watched episodes have resume point left behind 1-2~min in to each video.
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.