• 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 52
Release Netflix style next up notification
(2016-01-23, 19:50)bigpanda Wrote:
(2016-01-22, 16:07)Guilouz Wrote: I have error when lauching Kodi (last github build) :

Code:
15:01:15 T:123145313189888   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndentationError'>
                                            Error Contents: ('unindent does not match any outer indentation level', ('/Users/Cyril/Library/Application Support/Kodi/addons/service.nextup.notification/resources/lib/Player.py', 300, 61, '                    self.currentepisodeid = currentepisodeid\n'))
                                            Traceback (most recent call last):
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/service.nextup.notification/service.py", line 11, in <module>
                                                from Player import Player
                                            IndentationError: ('unindent does not match any outer indentation level', ('/Users/Cyril/Library/Application Support/Kodi/addons/service.nextup.notification/resources/lib/Player.py', 300, 61, '                    self.currentepisodeid = currentepisodeid\n'))
                                            -->End of Python script error report<--
15:01:15 T:123145317482496  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
15:01:15 T:123145314263040  NOTICE: Skin Helper Service --> Kodi_Monitor: onDatabaseUpdated: video
15:01:16 T:123145319092224   ERROR: GetDirectory - Error getting None
15:02:26 T:123145310429184 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)


Hi,
It works on my fireTv. IM85288 can you fix the indentation as i have no way of testing. Is shgould line up with the preceeding IF statement before line 300

Should be done now with latest on GIT
Reply
(2016-01-12, 15:38)wencaS Wrote:
(2016-01-12, 10:21)im85288 Wrote:
(2016-01-09, 11:50)wencaS Wrote: Hello!
I found a mistake in the rating rounding.
I caught the value to a log file with modified file NextUpInfo.py
Code:
594: 07:38:14 52410.902344 T:1789879360  NOTICE: wencaS RATING self.item['rating']:                      8.10000038147
595: 07:38:14 52410.906250 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']))):   8.0
596: 07:38:14 52410.906250 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)): 8.1
755: 18:31:58 5235.738770 T:1790047296  NOTICE: wencaS RATING self.item['rating']:                       6.69999980927
756: 18:31:58 5235.739258 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']))):    7.0
757: 18:31:58 5235.739746 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)):  6.7
1670: 08:17:53 54790.660156 T:1789879360  NOTICE: wencaS RATING self.item['rating']:                      7.59999990463
1671: 08:17:53 54790.660156 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']))):   8.0
1672: 08:17:53 54790.660156 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)): 7.6
1715: 19:08:36 7433.763184 T:1790047296  NOTICE: wencaS RATING self.item['rating']:                       7.30000019073
1716: 19:08:36 7433.763184 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']))):    7.0
1717: 19:08:36 7433.763672 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)):  7.3
2204: 08:37:32 55969.175781 T:1789879360  NOTICE: wencaS RATING self.item['rating']:                      7.30000019073
2205: 08:37:32 55969.175781 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']))):   7.0
2206: 08:37:32 55969.175781 T:1789879360  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)): 7.3
2729: 19:45:50 9667.014648 T:1790047296  NOTICE: wencaS RATING self.item['rating']:                       7.40000009537
2730: 19:45:50 9667.015625 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']))):    7.0
2731: 19:45:50 9667.015625 T:1790047296  NOTICE: wencaS RATING str(round(float(self.item['rating']),1)):  7.4

Please replace this
Code:
rating = str(round(float(self.item['rating'])))
with
Code:
rating = str(round(float(self.item['rating']),1))
in this files:
  • UnwatchedInfo.py
  • NextUpInfo.py
  • StillWatchingInfo.py

Please can you keep this change in the next version?

Thanks.

Thank you, I will include this in the next release.
Thank you very much.

Added now on GIT, will be in the next release. Thanks again
Reply
(2016-01-24, 00:29)im85288 Wrote:
(2016-01-20, 21:22)Hitcher Wrote:
(2016-01-20, 21:10)im85288 Wrote: Sure, I'll see what can be done the next time I get some free time to look at the code.
Many thanks.

It looks like mpaa is not available for episodes? http://kodi.wiki/view/JSON-RPC_API/v6#Vi...ds.Episode

Not sure about the subtitle language either, possibly in stream details.

No worries, thanks for looking. Wink
Reply
Hey.

Is there any chance of adding a control for a TV Show Clearlogo in addition to the Clearart already present. I have a lot of shows without Cleararts and with the slight differences in size between the two image types it makes the notification for TV shows with only logos look slightly off.

Thanks.
Reply
Hey,

Stupid question : I'm going to include your addon and was just asking myself where your overlay is triggered ? Is this VideoFullScreen only and is it me to define the visibility conditions ?
I'm using a dummy video Library right now so not able to launch tests ATM ... That could help me a blind coding attempt Tongue

Thanks Wink
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
(2016-02-05, 14:31)Jayz2K Wrote: Hey,

Stupid question : I'm going to include your addon and was just asking myself where your overlay is triggered ? Is this VideoFullScreen only and is it me to define the visibility conditions ?
I'm using a dummy video Library right now so not able to launch tests ATM ... That could help me a blind coding attempt Tongue

Thanks Wink

Hi, no you do not need to define any visibility conditions. The next up window will appear towards the end of a show (by default 30 seconds before the end but that can be changed in the addon settings). If you want to skin the window(s) differently from the default there are two xml files to change. Have a look here: next up addon for details of the available controls etc
Reply
I have updated the readme to contain details of the new (currently optional) window for displaying the logo and other details of a random (genre related) episode. As mentioned in some earlier posts this kind of acts an advert for upcoming shows etc. I may change this to being included by default in the next release to the kodi repo.

Also big thanks to user zang74 for submitting a recent pull request to allow the addon to work with shorter length episodes (eg cartoons etc)...the changes are currently in GIT but will be included in the next release.
Reply
(2016-02-05, 23:01)im85288 Wrote: Hi, no you do not need to define any visibility conditions. The next up window will appear towards the end of a show (by default 30 seconds before the end but that can be changed in the addon settings). If you want to skin the window(s) differently from the default there are two xml files to change. Have a look here: next up addon for details of the available controls etc

Yep thanks Wink But just would like to know if it launches wherever you're navigating. Since my skin can embeds playing video in almost all windows and because layout is also completely customizable, wanted to know if it can display over MyVideoNav.xml for exemple or just VideoFullscreen.xml. If I decide to show it in all possible windows / layout, it makes it even more difficult to implement ... or mabe just disable it if window IS NOT VideoFullscreen.xml ?
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
Hmm good question, all I do from the addon point of view is via a JSON call instruct the kodi player to play the next episode - so that is not window specific. So I guess that where ever you have the episode playing it will show the next up window. I have only personally tested with it in full screen so if there's any issues you have with your skin just let me know and I'll see what can be done (if anything) to help.
Reply
(2016-02-05, 23:26)im85288 Wrote: Hmm good question, all I do from the addon point of view is via a JSON call instruct the kodi player to play the next episode - so that is not window specific. So I guess that where ever you have the episode playing it will show the next up window. I have only personally tested with it in full screen so if there's any issues you have with your skin just let me know and I'll see what can be done (if anything) to help.

OK, thanks for the info. Now I have a start point Cool Will check how this goes while browsing libraries and maybe use a different layout if possible.
BTW, nice and most needed addon Wink

Cheers
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
Hi im85288,

So, I'm working on NextUp and confirm that it's displaying wherever you are. So it takes focus over while navigating in libraries or Home. I tried to force visibility in window Header to only display when VideFullScreen.xml is active but it doesn't work. The only way is to toggle visibility at controls level but even if it's hidden, NextUp keeps taking focus over. Problems come when you have in other Windows visibility based on focus controls. Is there a way to prevent this from the addon's code side ? Or maybe just ask if someone is using this outside of VideoFullScreen.xml.

Also, what is script-nextup-notification-UnwatchedInfo.xml intended for ?

Thx
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
I had a minor function suggestion. I love this plugin and it gets used a lot. However the message that asks "are you still watching" or something like that immediately starts the next episode. Many shows today do not have credits and the message blocks important scenes. If I select continue I miss those scenes totally. If possible it would be great if clicking continue would hide the message and let the episode continue until its end.

Thanks for your consideration of this matter.
Joe
Check out all my How-To's at http://KnightCinema.com
Maine, USA.
Using XBMC since Dharma 2010
Reply
I only recently discovered this add on, and I have to say I love it!

there is however a small problem that I am facing.

I have some shows that are stored as DVD's (iso). one show for instance has each ep as one DVD. it starts with two titles of a few seconds and then a menu. the problem is that next up kicks in at the first or second title instead of after the main title. it does not even give me time to cancel since those titles are so short. it immediately starts the next ep after a few seconds. Is there anything that can be done about this behavior?
Reply
is it possible to use this within an video addon somehow?
I use an addon (wich name we dont speak off) and with this addon it's not possible to intergrate the streams in to my library.

Is there some workaround for this?
Reply
thanks awesome addon!!
Reply
  • 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 52

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