(2017-10-29, 19:51)slycar Wrote: [ -> ] (2017-10-28, 00:50)OzPlanet Wrote: [ -> ]To get it working again:
Comment out lines 617-623 in nhl_tv.py
# json_source = r.json()
# if r.status_code != 200:
# #msg = "Please check that your username and password are correct"
# msg = json_source['message']
# dialog = xbmcgui.Dialog()
# ok = dialog.ok('Login Error', msg)
# sys.exit()
Location: C:\Users\%username%\AppData\Roaming\Kodi\addons\plugin.video.nhlgcl\resources\lib\nhl_tv.py
This works perfect on OSMC as well. Now we just need to have this pushed as an update.
Linux location is "~/.kodi/addons/plugin.video.nhlgcl/resources/lib/nhl_tv.py"
Fan freaking tastic. The addon now works perfectly in Linux after commenting out those lines. Now if the Oilers would just start winning I'd have something to watch.
Could try changing
Code:
if r.status_code != 200:
to
Code:
if r.status_code >= 400:
The old method never caused issues for me so I never noticed. Possibly a rogers login difference? If someone wants to test that, I could update the addon.
(2017-10-31, 17:29)eracknaphobia Wrote: [ -> ]Could try changing
Code:
if r.status_code != 200:
to
Code:
if r.status_code >= 400:
The old method never caused issues for me so I never noticed. Possibly a rogers login difference? If someone wants to test that, I could update the addon.
I'm on Rogers and I uncommented everything that I commented out this morning and changed the line to if r.status_code >= 400: and yesterdays games still played with no issues. I'll try todays games later tonight and see if they also work.
Tonights games are also working correctly with the line changed to if r.status_code >= 400:
(2017-11-01, 01:03)Pebcak Wrote: [ -> ]Tonights games are also working correctly with the line changed to if r.status_code >= 400:
Awesome! Thanks for testings that out. I'll plan on pushing out an update here soon.
(2017-11-02, 02:37)jorginho7 Wrote: [ -> ] (2017-11-01, 21:00)eracknaphobia Wrote: [ -> ] (2017-11-01, 01:03)Pebcak Wrote: [ -> ]Tonights games are also working correctly with the line changed to if r.status_code >= 400:
Awesome! Thanks for testings that out. I'll plan on pushing out an update here soon.
Hello, i want to make NHL keys like lazyman server keys, i will pay you, if you interesting, please let me know
Not interested in helping you. This addon is for paying customers of the NHL.tv service.
(2017-11-01, 21:00)eracknaphobia Wrote: [ -> ] (2017-11-01, 01:03)Pebcak Wrote: [ -> ]Tonights games are also working correctly with the line changed to if r.status_code >= 400:
Awesome! Thanks for testings that out. I'll plan on pushing out an update here soon.
That would be awesome! I'm also having issues playing live games with my Rogers account... Thanks to you and the contributors for all your hard work!
If you are still having issues. I know I did on the second night.
comment out line 505 same file
#session_key = json_source['session_key']
(2017-10-29, 06:08)hitman6 Wrote: [ -> ]Still getting the You do not have an active NHL TV subscription I have Rogers NHL LIve LOg In info was done correctly any help is appreciated
If you do have a subscription go to settings and logout then try again. The certificate GUID is cached and if too much time has passed since the last time you tried watching a game the GUID will have expired. Logging out will clear the cached GUID and log you back in retrieving the new GUID.
I am getting a generic "NHL TV error Check the log for more information."
Error Log: https://pastebin.com/yrWaUhSy
The error occurs when attempting to play any live content or previous Full Games. Recaps and Extended Highlights play fine.
Rogers subscriber.
I have tried playing around with most of the settings including Stream Quality but nothing has made it work.
NHL TV 2017.10.9
Kodi v17.4
NVidia Shield
Any ideas? Thanks!
Edit: Forgot to mention I also tried changing "if r.status_code >= 400:" on Line 618 as well.
Edit 2: Shit! I just retested the above edit and it worked. Soooo, can confirm the above update fixes it.....
New 11.02 update out in eracnaphobia repo.
(2017-11-03, 03:03)sask3m Wrote: [ -> ]New 11.02 update out in eracnaphobia repo.
Yep, I got side tracked and forgot to update the forum.
Update 2017.11.2 released
- Bug Fixes (Stream Quality and login issues)
edit: nevermind, thought I was having different issues than others. Just the same python script errors.
The 10.9-->11.2 change didn't solve it, but commenting out the whole section did.
(2017-11-03, 03:25)eracknaphobia Wrote: [ -> ] (2017-11-03, 03:03)sask3m Wrote: [ -> ]New 11.02 update out in eracnaphobia repo.
Yep, I got side tracked and forgot to update the forum.
Update 2017.11.2 released
- Bug Fixes (Stream Quality and login issues)
Even with 11.2, still getting JSON decoding error this evening.
I edited / commented 619-625 and streams started working
json_source = r.json()
# if r.status_code >= 400:
# #msg = "Please check that your username and password are correct"
# msg = json_source['message']
# dialog = xbmcgui.Dialog()
# ok = dialog.ok('Login Error', msg)
# sys.exit()
Also, main kodi repository still has older version. (same problem with both).