Release Netflix style next up notification
(2016-04-02, 23:36)matthewcky2k Wrote: I'm using version 1.0.17 with artic zephyr which as far as I can tell has the fixed line 42 in Nextupinfo.py and the notification shows once and then fails log below:

Can confirm that the current git version will only show the notification/play the next episode once, though I don't believe it has anything to do with the log error quoted. From my own tests, it seems that the scripts gets stuck in a loop in Player.py line 373:

Code:
while xbmc.Player().isPlaying() and not self.nextUpPage.isCancel() and not self.nextUpPage.isWatchNow() and not self.stillWatchingPage.isStillWatching() and not self.stillWatchingPage.isCancel():

When letting the dialog time out and the next episode auto-play, it appears that the script doesn't (always - it occasionally work) catch that brief moment when xbmc.Player().isPlaying() is False. As a workaround, I've edited the onPlaybackEnded function to set the nextUpPage/isStillWatching cancel value to True on lines 438 and 443 respectively - as both have done there job by then it seems like an easy way to break the loop - but look forward to the proper solution Smile

(2016-04-02, 23:59)matthewcky2k Wrote: also noticed this in the log also:

15:26:12 9185.924805 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : randomunwatchedtime is 600
15:26:12 9185.928711 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Exception in Playback Monitor Service: cannot concatenate 'str' and 'int' objects
15:26:17 9190.938477 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : playtime is 2803
15:26:17 9190.943359 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : randomunwatchedtime is 600
15:26:17 9190.947266 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Exception in Playback Monitor Service: cannot concatenate 'str' and 'int' objects
15:26:22 9195.957031 T:1767896128 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : playtime is 2803

Can also confirm this issue. It appears to come from line 68 of service.py, specifically

Code:
int(randomunwatchedtime+100))

which should probably be something like

Code:
(int(randomunwatchedtime) + 100)

Thanks for the add-on. I've only recently got round to trying it out (and I'm currently in the middle of skinning it), but it's fast becoming a regularly-used part of our Kodi experience.
Reply


Messages In This Thread
Netflix style next up notification - by Ayla - 2015-06-07, 18:44
Netflix style next up notification - by Ayla - 2015-07-31, 16:00
Netflix style next up notification - by Ayla - 2015-08-05, 09:34
RE: Netflix style next up notification - by BobCratchett - 2016-04-05, 20:49
Netflix style next up notification - by mwake - 2018-02-24, 23:29
Next Up jumbled text - by Karellen - 2017-11-09, 09:57
Logout Mark Read Team Forum Stats Members Help
Netflix style next up notification7