• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 52
Release Netflix style next up notification
(2015-06-20, 12:14)BigNoid Wrote: Maybe a stupid question, but how do you easily test this addon for skin development? So without skipping through a bunch of episodes?

Change the seconds it's displayed to something high for starters. That will cause the dialog to be displayed instantly when you start an episode
Reply
Yeah, I usually set it to something crazy like 6000 seconds for testing purposes.
Reply
That works, thx.
Reply
Cool, if you can please post a screenshot of your design here when completed so that it can give others ideas etc. Cheers
Reply
It works for me but not all the time it's strange, got this from debug log today

Code:
12:59:08 T:6404   ERROR: EXCEPTION: Non-Existent Control 3005
12:59:08 T:6404   ERROR: EXCEPTION: Non-Existent Control 3010
12:59:08 T:6404   ERROR: EXCEPTION: Non-Existent Control 3006
12:59:08 T:6404   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: Non-Existent Control 3006
                                            Traceback (most recent call last):
                                              File "C:\Users\KompLeX\AppData\Roaming\Kodi\addons\service.nextup.notification\resources\lib\NextUpInfo.py", line 68, in onInit
                                                self.getControl(3006).setImage(clearartimage)
                                            RuntimeError: Non-Existent Control 3006
                                            -->End of Python script error report<--

Using Xperience1080, do i complain to you or Piers about the script not working lol
Reply
(2015-06-19, 14:10)mgonzales Wrote:
(2015-06-17, 19:59)bigpanda Wrote:
(2015-06-17, 19:16)mgonzales Wrote: A suggestion - maybe if you already know it is episode 2 and season 1 etc you already know enough for the assumption of the type ?

Would a Kodi debug enabled log help?

maybe a log of the scrapper adding a tv series might help.

Here you go....

http://pastebin.com/YwzEdGjr

I used TVMC so I didn't have to mess with my Kodi install but that is a debug log of me adding a TV show using genesis and TVDB as the scrapper.

Watching an episode and jumping towards the end to show the error of unknown once again in the notification service.

Hope this helps

Mario

FYI... I am looking at this
Reply
(2015-06-20, 16:00)bigpanda Wrote:
(2015-06-19, 14:10)mgonzales Wrote:
(2015-06-17, 19:59)bigpanda Wrote: maybe a log of the scrapper adding a tv series might help.

Here you go....

http://pastebin.com/YwzEdGjr

I used TVMC so I didn't have to mess with my Kodi install but that is a debug log of me adding a TV show using genesis and TVDB as the scrapper.

Watching an episode and jumping towards the end to show the error of unknown once again in the notification service.

Hope this helps

Mario

FYI... I am looking at this

O.K i think this needs to move to the Metadata Scrappers section. Can you post a query regarding the type "unknown"/"episode" issue because i cannot replicate.
Reply
Which scraper are you using?

Kodi version?

I've tried xem, TVDB and TMDB all fail.

Also - Which addon have you tested with for streams?

Maybe I should try to replicate what you have working ;-)
Reply
(2015-06-20, 17:00)mgonzales Wrote: Which scraper are you using?

i switched to XEM recently for some reason but im sure it worked wit TVDB aso.

Kodi version?

Im now on version 15.2 but it worked with 15.1 also

I've tried xem, TVDB and TMDB all fail.

Also - Which addon have you tested with for streams?

Can't answer that here... ( But i use the same one you do )

I have this working on windows and firetv.

Maybe I should try to replicate what you have working ;-)

.
Can other people this is working for tell us there setup Huh
Reply
(2015-06-20, 17:17)bigpanda Wrote:
(2015-06-20, 17:00)mgonzales Wrote: Which scraper are you using?

i switched to XEM recently for some reason but im sure it worked wit TVDB aso.

Kodi version?

Im now on version 15.2 but it worked with 15.1 also

I've tried xem, TVDB and TMDB all fail.

Also - Which addon have you tested with for streams?

Can't answer that here... ( But i use the same one you do )

I have this working on windows and firetv.

Maybe I should try to replicate what you have working ;-)

.
Can other people this is working for tell us there setup Huh

I'm still on 14.2 so maybe that's a possible variable - hmmm
Reply
Ok tried it with 15 beta 2 and get past the unknown issue but now have an exception issue - id...

Groan Undecided

If you can maybe try your working setup under 14.2 and see if you have the same problem I've been getting

Here is the log/error from 15 beta 2

09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Calling autoplayback totaltime - playtime is 58.9360351562
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got active player {"id":1,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Getting details of playing media
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got details of playing media{"id":1,"jsonrpc":"2.0","result":{"item":{"label":"Rabbit in a Snow Storm","tvshowid":-1,"type":"episode"}}}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Exception in Playback Monitor Service: 'id'

(The show was Daredevil under the G-named addon scrapped with TVDB played after being imported into library as strm)

Thanks for the help thus far

M
Reply
(2015-06-20, 18:14)mgonzales Wrote: Ok tried it with 15 beta 2 and get past the unknown issue but now have an exception issue - id...

Groan Undecided

If you can maybe try your working setup under 14.2 and see if you have the same problem I've been getting

Here is the log/error from 15 beta 2

09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Calling autoplayback totaltime - playtime is 58.9360351562
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got active player {"id":1,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Getting details of playing media
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got details of playing media{"id":1,"jsonrpc":"2.0","result":{"item":{"label":"Rabbit in a Snow Storm","tvshowid":-1,"type":"episode"}}}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Exception in Playback Monitor Service: 'id'

(The show was Daredevil under the G-named addon scrapped with TVDB played after being imported into library as strm)

Thanks for the help thus far

M

Ok - I noticed that the version I had installed in my test of 15 beta 2 was 1.0.6 so I grabbed 1.0.7 from Git and it WORKS under the same setup that fails under 14.2.

SO - it appears 15.x is good for stream and the service (due to the DB changes in 15?)?

I'm pretty sure using Kodi 14.2 + the "g"-named addon + any scrapper and 1.0.7 will not work.

If anyone has seen otherwise chime in please

Thanks!

Mario
Reply
(2015-06-20, 18:44)mgonzales Wrote:
(2015-06-20, 18:14)mgonzales Wrote: Ok tried it with 15 beta 2 and get past the unknown issue but now have an exception issue - id...

Groan Undecided

If you can maybe try your working setup under 14.2 and see if you have the same problem I've been getting

Here is the log/error from 15 beta 2

09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Calling autoplayback totaltime - playtime is 58.9360351562
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got active player {"id":1,"jsonrpc":"2.0","result":[{"playerid":1,"type":"video"}]}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Getting details of playing media
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Player -> logMsg : Got details of playing media{"id":1,"jsonrpc":"2.0","result":{"item":{"label":"Rabbit in a Snow Storm","tvshowid":-1,"type":"episode"}}}
09:05:37 T:3640 NOTICE: NEXTUP SERVICE NOTIFICATION Service -> logMsg : Exception in Playback Monitor Service: 'id'

(The show was Daredevil under the G-named addon scrapped with TVDB played after being imported into library as strm)

Thanks for the help thus far

M

Ok - I noticed that the version I had installed in my test of 15 beta 2 was 1.0.6 so I grabbed 1.0.7 from Git and it WORKS under the same setup that fails under 14.2.

SO - it appears 15.x is good for stream and the service (due to the DB changes in 15?)?

I'm pretty sure using Kodi 14.2 + the "g"-named addon + any scrapper and 1.0.7 will not work.

If anyone has seen otherwise chime in please

Thanks!

Mario

That's good to know ....enjoy
Reply
Enjoy?! Lol - I'm not ready to jump to 15.x yet - :-(

Hehe
Reply
Hello, I have a problem with Your addon. If it's enabled kodi is crashing to desktop when episode ends. When I disable addon, everything is ok. There's logs (if You need more, please let me know, because firstly I must check if there's not any passwords/tokens):

With addon:
Code:
19:32:13 T:2069455904  NOTICE: -->Python Interpreter Initialized<--
19:32:13 T:2069455904   DEBUG: CPythonInvoker(19, /home/odroid/.kodi/addons/script.tv.show.next.aired/default.py): the source file to load is "/home/odroid/.kodi/addons/script.tv.show.next.aired/default.py"
19:32:13 T:2069455904   DEBUG: CPythonInvoker(19, /home/odroid/.kodi/addons/script.tv.show.next.aired/default.py): setting the Python path to /home/odroid/.kodi/addons/script.tv.show.next.aired:/home/odroid/.kodi/addons/script.module.simplejson/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7
19:32:13 T:2069455904   DEBUG: CPythonInvoker(19, /home/odroid/.kodi/addons/script.tv.show.next.aired/default.py): entering source directory /home/odroid/.kodi/addons/script.tv.show.next.aired
19:32:13 T:2069455904   DEBUG: CPythonInvoker(19, /home/odroid/.kodi/addons/script.tv.show.next.aired/default.py): instantiating addon using automatically obtained id of "script.tv.show.next.aired" dependent on version 2.1.0 of the xbmc.python api
19:32:13 T:2531787808  NOTICE: thread end: video_thread
19:32:13 T:2531787808   DEBUG: Thread DVDPlayerVideo 2531787808 terminating
19:32:13 T:2234385440  NOTICE: deleting video codec
19:32:13 T:2234385440   DEBUG: OnPlayBackStopped: play state was 2, starting 1
19:32:13 T:2234385440   DEBUG: Thread DVDPlayer 2234385440 terminating
19:32:13 T:3035811840  NOTICE: DVDPlayer: finished waiting
19:32:13 T:3035811840   DEBUG: LinuxRendererGL: Cleaning up GL resources
19:32:13 T:3035811840  NOTICE: DVDPlayer: Opening: /media/odroid/Elements/Videos/tv-shows/elementary/S 02/Elementary.S02E03.We.Are.Everyone.PL.WEB-DL.XviD-DeiX.avi
19:32:13 T:3035811840   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
19:32:13 T:3035811840   DEBUG: LinuxRendererGL: Cleaning up GL resources
19:32:13 T:2234385440  NOTICE: Thread DVDPlayer start, auto delete: false
19:32:13 T:2234385440  NOTICE: Creating InputStream
19:32:13 T:2234385440   DEBUG: ScanForExternalSubtitles: Searching for subtitles...
19:32:13 T:2234385440   DEBUG: ScanForExternalSubtitles: END (total time: 3 ms)
19:32:13 T:2234385440  NOTICE: Creating Demuxer
19:32:13 T:2234385440   DEBUG: Open - probing detected format [avi]
19:32:13 T:3033535520   DEBUG: CActiveAESink::OpenSink - trying to open device PULSE:Default
19:32:13 T:3033535520   DEBUG: PulseAudio: Context authorizing
19:32:13 T:3033535520   DEBUG: PulseAudio: Context setting name
19:32:13 T:3033535520   DEBUG: PulseAudio: Context ready
19:32:13 T:3033535520   DEBUG: PulseAudio: Stream ready
19:32:13 T:3033535520  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
19:32:13 T:3033535520   DEBUG: CActiveAESink::OpenSink - PULSE Initialized:
19:32:13 T:3033535520   DEBUG:   Output Device : Default
19:32:13 T:3033535520   DEBUG:   Sample Rate   : 44100
19:32:13 T:3033535520   DEBUG:   Sample Format : AE_FMT_FLOAT
19:32:13 T:3033535520   DEBUG:   Channel Count : 2
19:32:13 T:3033535520   DEBUG:   Channel Layout: FL,FR
19:32:13 T:3033535520   DEBUG:   Frames        : 2205
19:32:13 T:3033535520   DEBUG:   Frame Samples : 4410
19:32:13 T:3033535520   DEBUG:   Frame Size    : 8
19:32:13 T:2968519712   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
19:32:14 T:3035811840   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:32:14 T:3035811840   ERROR: Error trying to retrieve an item that's out of range
Without addon:
Code:
19:39:17 T:3035357184  NOTICE: CDVDPlayer::CloseFile()
19:39:17 T:3035357184  NOTICE: DVDPlayer: waiting for threads to exit
19:39:17 T:3035357184  NOTICE: DVDPlayer: finished waiting
19:39:17 T:3035357184   DEBUG: LinuxRendererGL: Cleaning up GL resources
19:39:17 T:3035357184  NOTICE: DVDPlayer: Opening: /media/odroid/Elements/Videos/tv-shows/elementary/S 02/Elementary.S02E02.Solve.For.X.PL.WEB-DL.XviD-DeiX.avi
19:39:17 T:3035357184   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
19:39:17 T:3035357184   DEBUG: LinuxRendererGL: Cleaning up GL resources
19:39:17 T:2375173152  NOTICE: Thread DVDPlayer start, auto delete: false
19:39:17 T:2375173152  NOTICE: Creating InputStream
19:39:17 T:2375173152   DEBUG: ScanForExternalSubtitles: Searching for subtitles...
19:39:17 T:2375173152   DEBUG: ScanForExternalSubtitles: END (total time: 7 ms)
19:39:17 T:2375173152  NOTICE: Creating Demuxer
19:39:17 T:2375173152   DEBUG: Open - probing detected format [avi]
19:39:17 T:3033080864   DEBUG: PulseAudio: Stream ready
19:39:17 T:3033080864  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
19:39:17 T:3033080864   DEBUG: CActiveAESink::OpenSink - PULSE Initialized:
19:39:17 T:3033080864   DEBUG:   Output Device : Default
19:39:17 T:3033080864   DEBUG:   Sample Rate   : 44100
19:39:17 T:3033080864   DEBUG:   Sample Format : AE_FMT_FLOAT
19:39:17 T:3033080864   DEBUG:   Channel Count : 2
19:39:17 T:3033080864   DEBUG:   Channel Layout: FL,FR
19:39:17 T:3033080864   DEBUG:   Frames        : 2205
19:39:17 T:3033080864   DEBUG:   Frame Samples : 4410
19:39:17 T:3033080864   DEBUG:   Frame Size    : 8
19:39:17 T:2968065056   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
19:39:17 T:2351248416   DEBUG: RunQuery took 130 ms for 2 items query: SELECT * FROM season_view  WHERE season_view.idShow = 3
19:39:18 T:2351248416   DEBUG: RunQuery took 103 ms for 1 items query: SELECT * FROM season_view  WHERE season_view.idShow = 6
19:39:18 T:2351248416   DEBUG: RunQuery took 104 ms for 2 items query: SELECT * FROM season_view  WHERE season_view.idShow = 17
19:39:18 T:3035357184   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:39:18 T:2351248416   DEBUG: RunQuery took 116 ms for 2 items query: SELECT * FROM season_view  WHERE season_view.idShow = 18
19:39:18 T:2351248416   DEBUG: RunQuery took 106 ms for 2 items query: SELECT * FROM season_view  WHERE season_view.idShow = 23
19:39:18 T:2375173152   DEBUG: Open - avformat_find_stream_info starting
19:39:18 T:2375173152    INFO: ffmpeg[8D924420]: [mpeg4] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it.
19:39:18 T:2633229344   DEBUG: RunQuery took 24 ms for 9 items query: SELECT * FROM tvshow_view  WHERE ( ((tvshow_view.watchedcount > 0 AND tvshow_view.watchedcount < tvshow_view.totalCount) OR (tvshow_view.watchedcount = 0 AND EXISTS (SELECT 1 FROM episode_view WHERE episode_view.idShow = tvshow_view.idShow AND episode_view.resumeTimeInSeconds > 0))))
19:39:18 T:2375173152   DEBUG: Open - av_find_stream_info finished

Kodi version: 15.0-ALPHA2 Git:2015-03-29-d4856cf-dirty
Addon version: 1.0.7

Thanks for help and best regards.
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 52

Logout Mark Read Team Forum Stats Members Help
Netflix style next up notification7