• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 52
Release Netflix style next up notification
(2015-06-20, 14:10)komplex Wrote: 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

For this one ask Piers to define control 3006 in his version (he can set its visibility to false if he does not want to show it)
Reply
(2015-06-20, 18:52)mgonzales Wrote: Enjoy?! Lol - I'm not ready to jump to 15.x yet - :-(

Hehe

Make the jump it's much better Smile
Reply
(2015-06-21, 19:53)mcczarny Wrote: 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.

Hi, sorry from the logs I can't see anything that would explain what's happening for you. I can only imagine it is something to do with the platform your running kodi on. I'm guessing its android. Can you try with windows/openelec/OS X or something to see if it's happening there for you too. The addon simply sends the play command via Json so if it is making kodi crash it's most likely due to the kodi version/platform.
Reply
It's lubuntu on Odroid-C1. Maybe it's kodis port fault. I will wait for stable version and then I will try again.
Reply
Hi,

anyone having problems with this on the 15.2 beta? it was working fine after skinning it but since installing 15.2 beta. it's not working correctly. The timer is set to 30 seconds and when it should activate the video freezes but audio continues and then when the episode playing actually finishes the next up window is displayed on top of whatever view I'm in and I just select cancel to remove?
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
(2015-06-21, 21:36)Mike_Doc Wrote: Hi,

anyone having problems with this on the 15.2 beta? it was working fine after skinning it but since installing 15.2 beta. it's not working correctly. The timer is set to 30 seconds and when it should activate the video freezes but audio continues and then when the episode playing actually finishes the next up window is displayed on top of whatever view I'm in and I just select cancel to remove?

A debug log (wiki) is always helpful.
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply
any quick way to show the thumbnail for the next episode? I'm using your custom arctic zephyr and if you could just point me to the right place in the xml that would be great.
Reply
I'm using bello fredo and the only thing it isn't doing is auto playing the next episode. Settings are set to auto play. Don't know if it may be due to the files being .strm. Will get debug log later
Image
Reply
I am having an issue were Nextup is crashing Kodi every time it attempts to autoplay the next show in a TV series. I tried to disable/remove the add-on but it is required for your skin mod. Can anyone please look at the log and tell me how to fix it, or can this be a elective feature that can be toggled off in the future?

Crash Log
Reply
(2015-06-26, 02:07)GoDodgerz Wrote: I am having an issue were Nextup is crashing Kodi every time it attempts to autoplay the next show in a TV series. I tried to disable/remove the add-on but it is required for your skin mod. Can anyone please look at the log and tell me how to fix it, or can this be a elective feature that can be toggled off in the future?

Crash Log

You may want to configure the addon to the log level debug and post a log again
Reply
(2015-06-25, 06:45)arithine Wrote: any quick way to show the thumbnail for the next episode? I'm using your custom arctic zephyr and if you could just point me to the right place in the xml that would be great.

Yes, if you have a look in the next up XML (script..xml) the landscape image is currently used. Simply change the ID to the one for thumbnails.
Reply
(2015-06-26, 02:07)GoDodgerz Wrote: I am having an issue were Nextup is crashing Kodi every time it attempts to autoplay the next show in a TV series. I tried to disable/remove the add-on but it is required for your skin mod. Can anyone please look at the log and tell me how to fix it, or can this be a elective feature that can be toggled off in the future?

Crash Log

Yes that may help as nothing in your log identifys the problem. Also as this seems to be very rare, it could be down to the version of kodi you are using or even the platform your using. To be sure please try on a different platform like windows/openelec etc
Reply
(2015-06-26, 09:41)im85288 Wrote:
(2015-06-25, 06:45)arithine Wrote: any quick way to show the thumbnail for the next episode? I'm using your custom arctic zephyr and if you could just point me to the right place in the xml that would be great.

Yes, if you have a look in the next up XML (script..xml) the landscape image is currently used. Simply change the ID to the one for thumbnails.

Perfect! Thank you, you are the best, I'm loving your Arctic Mod and this script was the final piece in the puzzle for making my Kodi setup perfect.
Reply
Hi, I'm trying to get this to work, I'm using strm files and selecting from one of the sources that comes up.

With 30 seconds left nothing comes up, I have enabled debug log in the settings but not sure where to find it.

Do I have to enable the log from debugging in the settings.

If anyone could help that would be great.

Here is my log file.

http://pastebin.com/8GWFKRwd
Reply
(2015-06-27, 18:48)Speighty Wrote: Hi, I'm trying to get this to work, I'm using strm files and selecting from one of the sources that comes up.

With 30 seconds left nothing comes up, I have enabled debug log in the settings but not sure where to find it.

Do I have to enable the log from debugging in the settings.

If anyone could help that would be great.

Here is my log file.

http://pastebin.com/8GWFKRwd

Hmmm.... hope im wrong about this one.

Can you do the following and post the debug log.
Find the Player.py file in your addons/service.nextup.notification /resources/lib/ folder.

find the following....

# I am a STRM ###
if tvshowid == -1:
tvshowid, episodeid = self.iStream_fix(tvshowid,currentshowtitle,currentepisodenumber,currentseasonid)
currentepisodeid = episodeid
else:
currentepisodeid = result[ "result" ][ "item" ][ "id" ]


and add this line... self.logMsg( "I Am Here RPT" ,1) see below [ hpoe that makes sense]

# I am a STRM ###
if tvshowid == -1:
tvshowid, episodeid = self.iStream_fix(tvshowid,currentshowtitle,currentepisodenumber,currentseasonid)
currentepisodeid = episodeid
else:
self.logMsg( "I Am Here RPT" ,1)
currentepisodeid = result[ "result" ][ "item" ][ "id" ]


restart kodi (IMPORTANT) and post debug log

THX
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 52

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