Kodi Community Forum

Full Version: NHL TV™
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2019-07-05, 20:30)eracknaphobia Wrote: [ -> ]There was a stupid typo in my code. I've updated the version in my repo (2019.7.5) should fix the goto date issue.

I can confirm that this works. Great work, keep it up.

While the new 60 fps feature on nhl.tv is nice, it is unfortunate that the video interface creates spoilers, such as a skip bar (progress bar) that you cannot truly disable. All you can do is try to not hover the mouse cursor above the video layer so that the video controls remain hidden. Not really a solution when you want to start the game, pause the game or skip forwards/backwards. Further, with multiple screen setups, one can move the mouse cursor above the video layer accidently.

This is all avoidable in KODI with a user customized DialogSeekBar.xml file.

Really glad you have this tool... keep it up.

BTW; I created a custom, macro like command sequence for live games that start time shifted, i.e. from the beginning. The current code in the nhl_tv.py file results in the following behaviour: The live feed starts and displays a few frames (maybe 10 frames) live (i.e. not from the beginning). After those 10 frames, it skips to the beginning. This behaviour means that for a fraction of a second, the viewer sees content from the game as it has progressed, like a sequence from the 2nd, 3rd or even overtime period. This can give away information if one happen to look at the scoreboard, or if the PBP announcer mentions the current score at that exact moment.

This is my customized code section of the nhl_tv.py file (with the original code's copyright belonging to eracknaphobia and licensed under the same conditions):
Code:
xbmcplugin.setResolvedUrl(addon_handle, True, listitem)

        if x == 1:
            while not xbmc.Player().isPlayingVideo():
                xbmc.executebuiltin('Mute')
                xbmc.executebuiltin('Minimize')
                xbmc.Monitor().waitForAbort(4.00)
                
            if xbmc.Player().isPlayingVideo():
                start_time = string_to_date(start_time, '%Y-%m-%dT%H:%M:%SZ')
                seek_secs = int((start_time - datetime.utcnow()).total_seconds())
                xbmc.log("seconds seek = " + str(seek_secs))
                xbmc.executebuiltin('Seek(' + str(seek_secs) + ')')
                xbmc.executebuiltin('Action(Back)')
                xbmc.executebuiltin('Action(Back)')
                xbmc.executebuiltin('Action(Back)')
                xbmc.executebuiltin('Action(Back)')

    else:
        xbmcplugin.setResolvedUrl(addon_handle, False, listitem)

This results in KODI being minimized to the task bar with the sound muted and a 4 second delay while KODI is minimized. In the background, KODI will revert to the very top menu so that one does not return to the NHL game selection menu in cases of stopped streams. If for instance, the stream stops due to a network error, returning to the NHL game selection menu would result in the viewer seeing if the game is currently in 2nd or 3rd OT. This spoiler is avoided due to KODI having returned to the top menu (all in the background while the video is playing).
Thanks as always for this great app. Will this still be updated for the 2019-2020 season? I just tried to watch some preseason games and I always receive the "too many sign-ons restriction" and cannot watch anything. Hopefully this is a preseason thing and nothing to worry about.
Hello my name is Clooney I am Deaf.

I am new to this and I am trying to set up NHL.TV and I follow the instruction and still cant watch hockey it come up saying error login
(2019-09-17, 02:50)BigPappaSmurf Wrote: [ -> ]Thanks as always for this great app. Will this still be updated for the 2019-2020 season? I just tried to watch some preseason games and I always receive the "too many sign-ons restriction" and cannot watch anything. Hopefully this is a preseason thing and nothing to worry about.
Yep, I will be monitoring this for the new season. Usually the preseason games are hit or miss because most are not televised.
(2019-09-17, 13:02)clooney8 Wrote: [ -> ]Hello my name is Clooney I am Deaf.

I am new to this and I am trying to set up NHL.TV and I follow the instruction and still cant watch hockey it come up saying error login

You need to purchase a subscription to the service and login in order to watch.
I am not getting any game listings for the current day? I can see all listings except today's, so unable to watch any live games. Happened yesterday as well, and now yesterday's listings are back with the final scores, but today's have disappeared. The game is being televised (I am watching it on the NHL website). Anyone else?
(2019-09-18, 00:21)Eyedunno Wrote: [ -> ]I am not getting any game listings for the current day? I can see all listings except today's, so unable to watch any live games. Happened yesterday as well, and now yesterday's listings are back with the final scores, but today's have disappeared. The game is being televised (I am watching it on the NHL website). Anyone else?

Yes I have had the same issue.
(2019-09-18, 00:21)Eyedunno Wrote: [ -> ]I am not getting any game listings for the current day? I can see all listings except today's, so unable to watch any live games. Happened yesterday as well, and now yesterday's listings are back with the final scores, but today's have disappeared. The game is being televised (I am watching it on the NHL website). Anyone else?

I'm getting the same thing.  I also get no feeds on the nhl roku app.  I can watch feed in browser. The firetv app says my account is logged in at another location and won't let me watch the feed, even if I stop the feed in the browser.  It makes me think it's something with the nhl feeds to apps which I assume the kodi add-on uses since the feed off the website works fine.
(2019-09-18, 02:51)mynametaken Wrote: [ -> ]
(2019-09-18, 00:21)Eyedunno Wrote: [ -> ]I am not getting any game listings for the current day? I can see all listings except today's, so unable to watch any live games. Happened yesterday as well, and now yesterday's listings are back with the final scores, but today's have disappeared. The game is being televised (I am watching it on the NHL website). Anyone else?

I'm getting the same thing.  I also get no feeds on the nhl roku app.  I can watch feed in browser. The firetv app says my account is logged in at another location and won't let me watch the feed, even if I stop the feed in the browser.  It makes me think it's something with the nhl feeds to apps which I assume the kodi add-on uses since the feed off the website works fine. 

Yes fantastic app and thanks very much for creating it and keeping it going but seems like no live feeds of preseason games. Many games are being televised.

Thanks again!
Actually I stand corrected. Logged back in and am very happy to see the games listed and live streaming working. Thanks again!
(2019-09-18, 05:09)fonz69ca Wrote: [ -> ]Actually I stand corrected. Logged back in and am very happy to see the games listed and live streaming working. Thanks again!

I can see all the live games listed but get "No playable streams found" when trying to watch them.  I can watch the games that ended ("Full game" option).  Log contains the following error:

ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.nhlgcl/?...

Will be happy to debug/provide more logs, etc.
Now that the season is almost here and there are pre season games to watch I would like to re post this and see if anyone has any ideas of how to fix my problem..

When I try to use the nhl.tv add-on with my windows 8.1 pc I get an error that says
nhl.tv error. Please check log
This problem has been going on for years and I would just use my Shield to watch nhl.tv in kodi. 
I recently signed up for MLB.tv and it works fine on my PC, so that got my wondering what could be wrong with nhl.tv?
I included the log file if any one could help me determine what is going on.
This is a current log.
Thanks for any help.
https://paste.kodi.tv/balumexiho.kodi
Extended highlights and recap not working in Kodi, Android TV...
(2019-10-03, 11:07)RedmaxPens Wrote: [ -> ]Extended highlights and recap not working in Kodi, Android TV...

Post a log so the dev can help you.

I just watched both recaps and extended highlights of last night's games on both my shield and my Samsung phone with no problems.
Can we get an option to disable catch up like the Mlb tv addon?