2019-01-23, 14:37
(2019-01-23, 14:14)dzejms Wrote:Are you sure you aren't recording programs that have already started?bash:<setting id="minutes.after" value="5" />
<setting id="minutes.before" value="0" />bash:22:43:17.016 T:4653553088 NOTICE: special://profile/ is mapped to: special://masterprofile/
22:43:17.016 T:4653553088 NOTICE: -----------------------------------------------------------------------
22:43:17.016 T:4653553088 NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: OS X x86 64-bit
22:43:17.016 T:4653553088 NOTICE: Using Release Kodi x64 build
22:43:17.016 T:4653553088 NOTICE: Kodi compiled Nov 14 2017 by Clang 6.0 (clang-600.0.56) for OS X x86 64-bit version 10.8.0 (1080)
22:43:17.016 T:4653553088 NOTICE: Running on Apple Inc. MacBookPro11,1 with OS X 10.14.2, kernel: Darwin x86 64-bit version 18.2.0
22:43:17.016 T:4653553088 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
22:43:17.016 T:4653553088 NOTICE: Host CPU: Intel® Core i5-4288U CPU @ 2.60GHz, 4 cores available
I can't see anywhere in the code where it could add to instead of take away minutes from the start time.
If you feel up to it you could put some log() statements in the code to see how the start time is calculated.
https://github.com/primaeval/plugin.vide...in.py#L751
Look how minutes is calculated from local_starttime.
eg
log(minutes)
log(local_starttime)
The jobs also get renewed on a Kodi restart here
https://github.com/primaeval/plugin.vide...in.py#L819