Kodi Community Forum

Full Version: [RELEASE] Sportsnet Now
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
I pay for Sport Net Now. I've entered my login credentials in the app in kodi. It will not work. I keep being told that it can't authorise the login. The only way it'll work, is if I download the actual app from the play store, and install it on the home screen of the Android box. The repo app will not work in kodi itself.

Also, when I go into the settings of the app and do the updates, or try to open it from there, I'm still getting authorization errors.
Hey micahg, new to the Kodi forum. Won't let me send you a pm with my telus info. If you got some time can you message me pls. Thanks.
Hey micagh I tried to pm you about the Sportsnet now app and I could not send it as it said was not authorized to send a message.
Here is the issue. I added the Sportsnet now addon for my sister as she has MS and loves bluejays but lately she could not find link on castaway or the devil.
So I installed the app and added the shortcut to her sports folder.
I put my user and pass in and it worked for five innings then kicked her out and now get stupid authorization error.

Can you help?
She doesn't much have much but she loves her jays.
I'm having the same problem. Input my login credentials but when I select a channel I get an unable to authorize error. Any help would be appreciated.
Same problem here. App on my phone and tablet works fine, but app on kodi shows authentication failed. I turned on the debug log but dont see any issues. Not sure what the problem is.


Code:
17:23:25 T:139717900294080   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
17:23:25 T:139717900294080   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.snnow/?abbr=SNOntario&id=3&menu=channel&name=Sportsnet%20Ontario&plot=Minnesota%20%40%20Detroit&title=Minnesota%20%40%20Detroit&tvshowtitle=MLB%20Baseball)
17:23:25 T:139717900294080   DEBUG:   ParentPath = [plugin://plugin.video.snnow/]
17:23:25 T:139715882800896   DEBUG: StartScript - calling plugin Sportsnet Now('plugin://plugin.video.snnow/','27','?abbr=SNOntario&id=3&menu=channel&name=Sportsnet%20Ontario&plot=Minnesota%20%40%20Detroit&title=Minnesota%20%40%20Detroit&tvshowtitle=MLB%20Baseball')
17:23:25 T:139715882800896   DEBUG: WaitOnScriptResult - waiting on the Sportsnet Now (id=46) plugin...
17:23:25 T:139716653459200  NOTICE: Thread LanguageInvoker start, auto delete: false
17:23:25 T:139716653459200    INFO: initializing python engine.
17:23:25 T:139716653459200   DEBUG: CPythonInvoker(46, /home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py): start processing
17:23:25 T:139716653459200  NOTICE: -->Python Interpreter Initialized<--
17:23:25 T:139716653459200   DEBUG: CPythonInvoker(46, /home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py): the source file to load is "/home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py"
17:23:25 T:139716653459200   DEBUG: CPythonInvoker(46, /home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py): setting the Python path to /home/mediacenter/.kodi/addons/plugin.video.snnow-master:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/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
17:23:25 T:139716653459200   DEBUG: CPythonInvoker(46, /home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py): entering source directory /home/mediacenter/.kodi/addons/plugin.video.snnow-master
17:23:25 T:139716653459200   DEBUG: CPythonInvoker(46, /home/mediacenter/.kodi/addons/plugin.video.snnow-master/default.py): instantiating addon using automatically obtained id of "plugin.video.snnow" dependent on version 2.1.0 of the xbmc.python api
17:23:26 T:139717900294080   DEBUG: ------ Window Init (DialogBusy.xml) ------
17:23:27 T:139716653459200  NOTICE: ()
17:23:27 T:139716653459200   DEBUG: LocalizeStrings: no strings.po file exist at /home/mediacenter/.kodi/addons/plugin.video.snnow-master/resources/language/English, fallback to strings.xml
17:23:27 T:139717900294080   DEBUG: ------ Window Init (DialogOK.xml) ------
Having same problem as mentioned, I can see all the channels, but when I click any channel to play it, I get the error Unable to Authenticate the channel. I assume they changed something and broken the Kodi scraper. I hope OP can take a look and hopefully come up with a fix. Back to watching on the web for now.
I am also having issues with sportsnet now but now it will not even open at all.
Also having issues here. We normally had to reboot several times to stop getting the "Unable to authorize channel" message, but the last couple days, it doesn't work at all. Just a "Sportsnet Now error" message. Here's a section from my log file, if that helps

Code:
16:51:16 T:5856   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Sportsnet Now('plugin://plugin.video.snnow/','4','')
16:51:16 T:5856   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Sportsnet Now (id=5) plugin...
16:51:16 T:8636   DEBUG: Thread LanguageInvoker start, auto delete: false
16:51:16 T:8636    INFO: initializing python engine.
16:51:16 T:8636   DEBUG: CPythonInvoker(5, C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py): start processing
16:51:17 T:8636   DEBUG: -->Python Interpreter Initialized<--
16:51:17 T:8636   DEBUG: CPythonInvoker(5, C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py): the source file to load is "C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py"
16:51:17 T:8636   DEBUG: CPythonInvoker(5, C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py): setting the Python path to C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:51:17 T:8636   DEBUG: CPythonInvoker(5, C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py): entering source directory C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow
16:51:17 T:8636   DEBUG: CPythonInvoker(5, C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py): instantiating addon using automatically obtained id of "plugin.video.snnow" dependent on version 2.1.0 of the xbmc.python api
16:51:17 T:5804   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:51:18 T:8636   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('ed',)
                                            Traceback (most recent call last):
                                              File "C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 142, in <module>
                                                createMainMenu()
                                              File "C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 50, in createMainMenu
                                                guide = sn.getGuideData()
                                              File "C:\Users\timv\AppData\Roaming\Kodi\addons\plugin.video.snnow\snnow.py", line 172, in getGuideData
                                                description = curr_item.attributes['ed']
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\dom\minidom.py", line 522, in __getitem__
                                                return self._attrs[attname_or_tuple]
                                            KeyError: ('ed',)
                                            -->End of Python script error report<--
16:51:18 T:8636    INFO: Python script stopped
16:51:18 T:8636   DEBUG: Thread LanguageInvoker 8636 terminating
16:51:18 T:5804   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:51:18 T:10060    INFO: CActiveAESink::OpenSink - initialize sink
16:51:18 T:10060   DEBUG: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:default
16:51:18 T:10060   DEBUG: CAESinkDirectSound::Initialize: Using Window handle: 000B0A5C
16:51:18 T:5856   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
16:51:18 T:10060   DEBUG: CAESinkDirectSound::Initialize: secondary buffer created
16:51:18 T:10060   DEBUG: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
16:51:18 T:10060   DEBUG:   Audio Device    : Speakers (High Definition Audio Device)
16:51:18 T:10060   DEBUG:   Sample Rate     : 44100
16:51:18 T:10060   DEBUG:   Sample Format   : AE_FMT_FLOAT
16:51:18 T:10060   DEBUG:   Bits Per Sample : 32
16:51:18 T:10060   DEBUG:   Valid Bits/Samp : 32
16:51:18 T:10060   DEBUG:   Channel Count   : 2
16:51:18 T:10060   DEBUG:   Block Align     : 8
16:51:18 T:10060   DEBUG:   Avg. Bytes Sec  : 352800
16:51:18 T:10060   DEBUG:   Samples/Block   : 32
16:51:18 T:10060   DEBUG:   Format cBSize   : 22
16:51:18 T:10060   DEBUG:   Channel Layout  : FL,FR
16:51:18 T:10060   DEBUG:   Channel Mask    : 3
16:51:18 T:10060   DEBUG:   Frames          : 661
16:51:18 T:10060   DEBUG:   Frame Samples   : 1322
16:51:18 T:10060   DEBUG:   Frame Size      : 8
16:51:18 T:10060   DEBUG: CActiveAESink::OpenSink - DIRECTSOUND Initialized:
16:51:18 T:10060   DEBUG:   Output Device : default
16:51:18 T:10060   DEBUG:   Sample Rate   : 44100
16:51:18 T:10060   DEBUG:   Sample Format : AE_FMT_FLOAT
16:51:18 T:10060   DEBUG:   Channel Count : 2
16:51:18 T:10060   DEBUG:   Channel Layout: FL,FR
16:51:18 T:10060   DEBUG:   Frames        : 661
16:51:18 T:10060   DEBUG:   Frame Samples : 1322
16:51:18 T:10060   DEBUG:   Frame Size    : 8
16:51:18 T:5804   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.snnow/
16:51:18 T:5804   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.snnow/) failed
16:51:18 T:5804   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
16:51:18 T:5804   DEBUG:   ParentPath = [addons://sources/]
16:51:18 T:6412   DEBUG: Thread BackgroundLoader start, auto delete: false
16:51:18 T:6412   DEBUG: Thread BackgroundLoader 6412 terminating
16:51:18 T:10060   DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
16:51:18 T:5804   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
Are there any fixes at all for this or not yet.
Yup I am getting the error as well, with Rogers credentials entered. No problem yesterday, just today. This is my go to app, especially with the World Cup tomorrow.

Please help!
I'll jump in and say that I'm having the same issue. My SN NOW section in the Sportsnet Android app works fine.
New to all this, can someone please help me to install sportsnet now. after install I cant get it to work. [email protected]
Here's a quick fix for the KeyError:

Code:
13:20:00 T:11424   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('ed',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 142, in <module>
                                                createMainMenu()
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 50, in createMainMenu
                                                guide = sn.getGuideData()
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\snnow.py", line 172, in getGuideData
                                                description = curr_item.attributes['ed']
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\dom\minidom.py", line 522, in __getitem__
                                                return self._attrs[attname_or_tuple]
                                            KeyError: ('ed',)
                                            -->End of Python script error report<--

Code:
index 021db23..86c0985 100644
--- a/snnow.py
+++ b/snnow.py
@@ -169,10 +169,16 @@ class SportsnetNow:
                 except:
                     title = curr_item.attributes['e']
                 episode = curr_item.attributes['e']
-                description = curr_item.attributes['ed']
+
+                try:
+                    description = curr_item.attibutes['ed']
+                    show['plot'] = description.value.encode('utf-8').strip().decode('utf-8')
+                except:
+                    show['plot'] = 'No description found'
+
                 show['tvshowtitle'] = title.value.encode('utf-8').strip().decode('utf-8')
                 show['title'] = episode.value.encode('utf-8').strip().decode('utf-8')
-                show['plot'] = description.value.encode('utf-8').strip().decode('utf-8')
+
                 guide[cid] = show
(2016-09-17, 19:45)mifa Wrote: [ -> ]Here's a quick fix for the KeyError:

Code:
13:20:00 T:11424   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('ed',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 142, in <module>
                                                createMainMenu()
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\default.py", line 50, in createMainMenu
                                                guide = sn.getGuideData()
                                              File "C:\Users\Mike\AppData\Roaming\Kodi\addons\plugin.video.snnow\snnow.py", line 172, in getGuideData
                                                description = curr_item.attributes['ed']
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\dom\minidom.py", line 522, in __getitem__
                                                return self._attrs[attname_or_tuple]
                                            KeyError: ('ed',)
                                            -->End of Python script error report<--

Code:
index 021db23..86c0985 100644
--- a/snnow.py
+++ b/snnow.py
@@ -169,10 +169,16 @@ class SportsnetNow:
                 except:
                     title = curr_item.attributes['e']
                 episode = curr_item.attributes['e']
-                description = curr_item.attributes['ed']
+
+                try:
+                    description = curr_item.attibutes['ed']
+                    show['plot'] = description.value.encode('utf-8').strip().decode('utf-8')
+                except:
+                    show['plot'] = 'No description found'
+
                 show['tvshowtitle'] = title.value.encode('utf-8').strip().decode('utf-8')
                 show['title'] = episode.value.encode('utf-8').strip().decode('utf-8')
-                show['plot'] = description.value.encode('utf-8').strip().decode('utf-8')
+
                 guide[cid] = show

Where do I put this fix?
I am so confused. Is there a fix and if so can someone please post in plain English?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43