Release - Netflix style next up notification

  Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
im85288 Offline
Skilled Skinner
Posts: 1,436
Joined: Aug 2011
Reputation: 39
Location: United Kingdom
Post: #1
Introducing Next Up Notifications

This addon will popup a next up notification at a specified time period before the end (default is 30 seconds). Under the hood it checks whatever is playing and when it is an episode checks for the next unwatched episode in your library. It will then present that information in a popup style to allow quicker play of the next item or to cancel the next episode playing automatically.

You can configure the time before the end of the tv show the notification will popup at in the settings (under Addons->Services), the default mode when nothing is pressed, and the number of episodes before showing the "still watching" window.

Skinners can skin the popup to their liking by checking the readme: Github

To install you can now get the addon from the official kodi repository, it's located under Services.

Or from Github: Github

[Image: nSlyvGO.png]

[Image: XQZNmd8.png]

[Image: S2mTTGx.png]

[Image: pldN34y.png]

Donations for this addon gratefully accepted

[Image: kofi4.png?v=a|alt=Buy Me a Coffee]

-------------------------- FAQ --------------------------------------------

1. The dialogs look different in the skin I use, why and what can be done? This is because the default dialogs cannot include things like fonts etc. Ask the author of your skin to make a custom version.

2. It does not work for me...what can I do? Go to the settings, under advanced set the log level to debug, restart kodi, play an episode and when it gets to the end (and therefore not worked) Post a log in the thread.

3. My watched episodes are not included. Yes this is by default, you can however include watched episodes by turning the setting on in the settings section.
(This post was last modified: 2016-06-28 13:05 by im85288.)
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #2
Awesome!
Works great.

@Hitcher:
Isn't this something that you wanted for fTV?

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #3
Just have a request:
- Providing the thumbnail of the next episode
- 3rd button to cancel and stop the script for a period of time. I always watch episodes at night and fell asleep. With this option it won't override possible available power saving options Smile

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
find quote
Karnagious Offline
Posting Freak
Posts: 1,070
Joined: Nov 2012
Reputation: 48
Post: #4
(2015-06-01 12:18)sualfred Wrote:  - 3rd button to cancel and stop the script for a period of time. I always watch episodes at night and fell asleep. With this option it won't override possible available power saving options Smile

Maybe a toggle that would change the default behaviour from Play to Dont Play?

Having a small toggle switch on the GUI controlling a variable in settings.xml is what I am thinking.
find quote
im85288 Offline
Skilled Skinner
Posts: 1,436
Joined: Aug 2011
Reputation: 39
Location: United Kingdom
Post: #5
(2015-06-01 12:18)sualfred Wrote:  Just have a request:
- Providing the thumbnail of the next episode
- 3rd button to cancel and stop the script for a period of time. I always watch episodes at night and fell asleep. With this option it won't override possible available power saving options Smile

Yes the thumbnail can be provided but it would then be up to the skinner to show it. I'm leaving the default as it is but if any skinner requests the episode thumb this can be done easily.

(2015-06-01 12:30)Karnagious Wrote:  
(2015-06-01 12:18)sualfred Wrote:  - 3rd button to cancel and stop the script for a period of time. I always watch episodes at night and fell asleep. With this option it won't override possible available power saving options Smile

Maybe a toggle that would change the default behaviour from Play to Dont Play?

Having a small toggle switch on the GUI controlling a variable in settings.xml is what I am thinking.

Yeah that would work, though I think the setting just needs to be in the skin settings. Something like "default behaviour" play/don't play
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #6
I'm fine with just providing a control ID for the thumb and I'm already adjusting the .xml for my needs.
Again thanks for that addon, that is something I was waiting for years.

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
(This post was last modified: 2015-06-01 12:39 by sualfred.)
find quote
Karnagious Offline
Posting Freak
Posts: 1,070
Joined: Nov 2012
Reputation: 48
Post: #7
(2015-06-01 12:36)im85288 Wrote:  Yeah that would work, though I think the setting just needs to be in the skin settings. Something like "default behaviour" play/don't play

I have an element like this in LazyTV, but it is a dialog once the show completely ends or the user stops it within the last minute or so.

Something like this is/was on the todo list, and part of that was that sort of toggle (going into the settings is a bit of a pain). My plan was to make it a hidden part of the overlay (at the bottom) that would be brought up by pushing down.
find quote
im85288 Offline
Skilled Skinner
Posts: 1,436
Joined: Aug 2011
Reputation: 39
Location: United Kingdom
Post: #8
(2015-06-01 12:38)sualfred Wrote:  I'm fine with just providing a control ID for the thumb and I'm already adjusting the .xml for my needs.
Again thanks for that addon, that is something I was waiting for years.

Cool, I added control ID 3008 for the episode thumb. Can you post a screenshot when your done as I like to see different implementations Smile

(2015-06-01 13:05)Karnagious Wrote:  
(2015-06-01 12:36)im85288 Wrote:  Yeah that would work, though I think the setting just needs to be in the skin settings. Something like "default behaviour" play/don't play

I have an element like this in LazyTV, but it is a dialog once the show completely ends or the user stops it within the last minute or so.

Something like this is/was on the todo list, and part of that was that sort of toggle (going into the settings is a bit of a pain). My plan was to make it a hidden part of the overlay (at the bottom) that would be brought up by pushing down.

I added it in the settings for now. If you would like to look at the code and submit a pull request for the behaviour you describe it could be useful.
find quote
kaiseruk Offline
Senior Member
Posts: 175
Joined: Feb 2014
Reputation: 2
Post: #9
Is it possible to have an option to play the next episode that follows (i.e. if i watched s04e02, it would say s04e03 was up next even if s02e03 was unwatched for some reason).

I have a large library and thus a large lot of unwatched episodes whether it being me not watching them or library being rescanned. If its not possible then grand just thought i'd enquire Smile
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #10
(2015-06-01 13:20)im85288 Wrote:  Cool, I added control ID 3008 for the episode thumb. Can you post a screenshot when your done as I like to see different implementations Smile

[Image: tZPJ2Fd.png]

Here you go

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
(This post was last modified: 2015-06-01 15:23 by sualfred.)
find quote
Karnagious Offline
Posting Freak
Posts: 1,070
Joined: Nov 2012
Reputation: 48
Post: #11
(2015-06-01 14:32)kaiseruk Wrote:  Is it possible to have an option to play the next episode that follows (i.e. if i watched s04e02, it would say s04e03 was up next even if s02e03 was unwatched for some reason).

I have a large library and thus a large lot of unwatched episodes whether it being me not watching them or library being rescanned. If its not possible then grand just thought i'd enquire Smile

That's what lazyTV does. Let me look at the code.
find quote
Karnagious Offline
Posting Freak
Posts: 1,070
Joined: Nov 2012
Reputation: 48
Post: #12
Would it be able to check whether what is being watched is part of a Playlist? And maybe site the next item in the Playlist instead?
find quote
im85288 Offline
Skilled Skinner
Posts: 1,436
Joined: Aug 2011
Reputation: 39
Location: United Kingdom
Post: #13
(2015-06-01 15:07)sualfred Wrote:  
(2015-06-01 13:20)im85288 Wrote:  Cool, I added control ID 3008 for the episode thumb. Can you post a screenshot when your done as I like to see different implementations Smile

[Image: RxcRw8G.png]

Here you go

Nice, this is the one I have in my mod of Arctic, uses icons and allows the plot to be hidden

[Image: HAwUAWP.png]

(2015-06-01 15:16)Karnagious Wrote:  
(2015-06-01 14:32)kaiseruk Wrote:  Is it possible to have an option to play the next episode that follows (i.e. if i watched s04e02, it would say s04e03 was up next even if s02e03 was unwatched for some reason).

I have a large library and thus a large lot of unwatched episodes whether it being me not watching them or library being rescanned. If its not possible then grand just thought i'd enquire Smile

That's what lazyTV does. Let me look at the code.

I want to keep it as simple as possible, but if it's something trivial then just let me know.

(2015-06-01 15:19)Karnagious Wrote:  Would it be able to check whether what is being watched is part of a Playlist? And maybe site the next item in the Playlist instead?

No idea on this one TBH, I think with playlists you've already decided what items will be played next so the option to play next quicker is not really as useful.
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #14
(2015-06-01 14:32)kaiseruk Wrote:  Is it possible to have an option to play the next episode that follows (i.e. if i watched s04e02, it would say s04e03 was up next even if s02e03 was unwatched for some reason).

I have a large library and thus a large lot of unwatched episodes whether it being me not watching them or library being rescanned. If its not possible then grand just thought i'd enquire Smile

+1

I often watch tvshows twice or more times so they already have been flagged as watched. Some shows are like pizza and I could eat it every day? Smile

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
find quote
sualfred Offline
Posting Freak
Posts: 1,794
Joined: Oct 2013
Reputation: 59
Location: Glory Bavaria
Post: #15
(2015-06-01 14:32)kaiseruk Wrote:  Is it possible to have an option to play the next episode that follows (i.e. if i watched s04e02, it would say s04e03 was up next even if s02e03 was unwatched for some reason).

I have a large library and thus a large lot of unwatched episodes whether it being me not watching them or library being rescanned. If its not possible then grand just thought i'd enquire Smile

+1

I often watch tvshows twice or more times so they already have been flagged as watched. Some shows are like pizza and.. I can eat pizza every day? Smile

GitHub: Click
Skin: fTV Live TV Mod
Skin: BelloFredo (discontinued)
Donate: Donate me a drink! If u want :)
(This post was last modified: 2015-06-01 15:34 by sualfred.)
find quote
Post Reply