maxgalbu / xbmc.plugin.video.nba Goto Github PK
View Code? Open in Web Editor NEWKodi plugin to watch NBA games with nba league pass
License: GNU General Public License v3.0
Kodi plugin to watch NBA games with nba league pass
License: GNU General Public License v3.0
Allow user to opt-out of forcing bit rate. rather than selecting a bitrate in config, an option could be "auto", which would pass along top level HLS url, and let ffmpeg determine the best bitrate.
First of all, Very very Thank you for this addon developer.
I want to watch 2013, 2014 final game. SAS vs Mia
But it Cannot be played..
2015 league video and 2016, live video is well played..
What should I do? Please let me know anything.
I have link only on live stream
Match is finished,but link not work
No link on archive match now
I've been using this on both a Windows 7 PC and a Raspberry Pi 3, and on both versions playback will often just stop and kick me back to the add-on menu. There's no error message or other feedback, and no sign that a stoppage is coming. This is most noticeable when trying to watch NBA TV live.
Hi, I tried to watch some archived games, but the addon always tells me that he failed to get a video URL. I am logged in with my NBA League Pass italian account. How can I fix the problem, please?
I tried watching a game from this week in the archive (VOD) with this extension (manually installed with branch polling-service
, commit e0ea34f) and it seems to get the right game, but the video just shows "This game has ended", as if I was still watching the live stream long after the end of it.
I would appreciate it if you let me know how I can help with this issue.
Thank you for the hard work, it's appreciated.
Hi, I tried to watch some archived games, but the addon always tells me that he failed to get a video URL. I am logged in with my NBA League Pass italian account. How can I fix the problem, please?
Hey there,
In branch polling service, when installing from zero, this piece is throwing with a UnboundLocalError:
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'file' referenced before assignment
Traceback (most recent call last):
File "%APPDATA%\Roaming\Kodi\addons\plugin.video.nba\src\service.py", line 116, in <module>
main()
File "%APPDATA%\Roaming\Kodi\addons\plugin.video.nba\src\service.py", line 97, in main
shared_data.set("playing", {})
File "%APPDATA%\Roaming\Kodi\addons\plugin.video.nba\src\shareddata.py", line 24, in set
json_content = self.__getFileContent()
File "%APPDATA%\Roaming\Kodi\addons\plugin.video.nba\src\shareddata.py", line 19, in __getFileContent
file.close()
UnboundLocalError: local variable 'file' referenced before assignment
I believe something like this would fix it:
def __getFileContent(self):
try:
with open(self.file_path) as file:
file_content = file.read()
except IOError:
file_content = "{}"
return json.loads(file_content)
Cheers
When on my windows 7 x64 PC with kodi 16.1 install plugin,this operation with error,plugin do not start:
Error Contents: No module named base_thread
Traceback (most recent call last):
File "C:\Users\�������\AppData\Roaming\Kodi\addons\plugin.video.nba\src\service.py", line 15, in
from base_thread import BaseThread
ImportError: No module named base_thread
My Admin username in cyrillic font (Russia),please insert fixing patch in plugin.
(for example: _addon_path = xbmc.translatePath(_ADDON.getAddonInfo('path')).decode('utf-8') )
Hi. First of all, your plugin is brilliant but i have an issue. Every hour, to be accurate in the first minute of every hour, stream (720p 60fps, if it matters) is stops and i must restart it by hands and it's very annoying. As much as i understand it happens because the NBA changes url of the stream. Whether there is a way to restart stream automatically? Thanks.
What would it take to get this to work for USA? I would be willing to help troubleshoot. I am not a programmer but I have done extensive web project development. When I login to NBA LeaguePass with my USA account, it works, except for playing the actual video. It says "Failed to find video URL, are you logged in?"
Hello,
I would find very usefull to be able to record the streams to watch offline, by just recording the stream straight to a file and without having to watch it.
First I tried a solution based on using VLC as an external player by modifying playercorefactory.xml
This works only on Shaqtin a foul video, since it doesn't requires authentication.
My guess is that the issue is with the authentication that is cookies based, and that you can't pass to an external player.
Now I saw there is a download addon that could be maybe integrated in the nba plugin.
http://kodi.wiki/view/Add-on:Simple_Downloader_for_xbmc_plugins#Developers
But there might still be a problem with cookies support.
Regards
I am trying to watch the videos from NBA.TV but XBMC complains that there was a problem with Index and is unable to stream the video.
Any help?
I cannot find 2017 episodes of Shaqtin'a fool with the Add-on. The last found episode is from December 2016.
But 2017 episodes seem to exist, because I have found them trough other web sources.
Is this a problem of the Add-on? Or from the Neulion source?
Can we have the other feeds like the Spanish one?
Thanks a lot.
Very good work
Hi,
When I try to install the add-on be it from a downloaded zip file or from the depository, i get these two errors.
They appear whether I am using Kodi 16.1 or 17.0 beta.
I'm using mac OSX 10.12.1
I wish there was also the option for national tv broadcast when available. For example, last night Nets @ Knicks and Rockets @ Spurs was on ESPN, but this add-on only gives the option of home or away feeds.
Is this feasible? Thanks :)
The addon isn't working anymore. I used it yesterday without problems, but today I only get this "moving circle" when I start the addon (Kodi v17 on FireTV).
Oder video addons are running fine.
Here is an extraction from my debug log:
18:17:31.237 T:18446744072317607480 INFO: ##### NBA League Pass: Chosen quality_id 0 and target_video_height 72060
18:17:57.870 T:18446744072291741304 DEBUG: Keyboard: scancode: 0x04, sym: 0x0008, unicode: 0x0000, modifier: 0x0
18:17:57.871 T:18446744072291741304 DEBUG: OnKey: backspace (0xf008) pressed, action is Back
18:17:57.871 T:18446744072291741304 DEBUG: Keyboard: scancode: 0x04, sym: 0x0008, unicode: 0x0000, modifier: 0x0
18:17:57.887 T:18446744072291741304 ERROR: GetDirectory - Error getting plugin://plugin.video.nba/
18:17:57.890 T:18446744072291741304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nba/) failed
18:17:57.891 T:18446744072291741304 DEBUG: CGUIMediaWindow::GetDirectory ()
18:17:57.891 T:18446744072291741304 DEBUG: ParentPath = [plugin://plugin.video.nba/]
18:17:57.912 T:18446744072305241880 DEBUG: Thread BackgroundLoader start, auto delete: false
18:17:57.931 T:18446744072305241880 DEBUG: Thread BackgroundLoader 18446744072305241880 terminating
I made a quick cross-check with installing Kodi on my Mac. Same result.
https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/40699103/kid/20106583
I see it returns binary data and I don't see what its being used for.
Today stopped working.
I tried to see bulls.celtics but i can't.
Yesterday was working like a charm as always.
Something changed today
Sorry for my English...I'm from Uruguay
Thanks for this big addon!!
You know how on watch.nba.com you can select bitrate etc? Here i'm selecting 800kbps and it's going full 720p which kills my internet. Fix the quality issue pelase. It is super important for me as this is the only way to watch nba tv
Hi,
Didn't know where else to issue a feature requests, hope it's okay.
Thats it, great addon btw. I'm a big fan of your work. Trying to become a pythonista but still a noob. Can't understand 90% of your code (lack of comments don't help but no biggie). Keep it up, your'e awesome!!!
Best regards,
Siggi from Iceland
i used saturday night (10/15) the plugin to watch a live game and error -> Failed to get a video URL - Are you logged in??? but i access to webpage and see OK, i try in nba app of mobile android and run OK. The user y pass of plugin is well because i enter good in webpage and android. But the strange is what when go to archive games through the plugin can see OK.
Maybe, nba change something to streaming live games.
I have tried setting many different bit rates in the plugin settings and nothing.
Example game: 2015-12-18 Pistons vs Bulls (Full game, home feed)
I get a "Failed to get video Url...." error and then it switches to "Video not found"
I tried switching all the bitrates in the plugin settings and still nothing.
Hi I tried The first Gamein preseason but not working
Can u fix it please
Top plays haven't worked for a week. List is empty.
I try with opening night games, and see all at 29.970 fps. Someone can play 720p at 60fps???
Kodi create new link
http://nlds130.cdnak.neulion.com/nlds/nba/..........
Dexpires%253D1465864219
Dexpires%253D1465866213
Dexpires%253D1465866744
Dexpires%253D1465869802
When I try to click on a date to play highlights or top plays it gives an error:
"NBA League Pass error. Check the error log for more informatiopn."
Example of error message is:
5 T:5292 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
This is version 0.7, started after the end of last season. The other links work fine, nba tv, games etc. Just highlights and top plays not working. Please fix, I love this add-on.
Hey maxgalbu,
now, as the playoffs have begun, every game is available with multiple feeds. At least when I watch the games through the website. Home & away feed along with national TV feed (TNT, ABC etc.). In your plugin there's only the usual home & away feed. I've seen this for example with CHI@BOS Game 1. No chance to see the TNT feed with your plugin atm.
Is there any chance to modify your plugin to also offer the national feeds?
Thanks!
Regards,
JayDee
Last used the latest version of the addon (0.8.2) about a couple of weeks ago and it was working perfectly fine. Renewed my LP subscription, tried again today and nothing seems to be working (eg. cannot watch any archived games or NBA TV), as all requests fail with a login error. Credentials work OK on the website.
This must be a new issue, possibly related to 2016-17 League Pass API? (not sure if they've changed something since last year).
Here is the debug log snippet when trying to launch live NBA TV (tokens, usernames etc have been masked):
21:17:10 1384684.000000 T:1963282432 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
21:17:10 1384684.125000 T:1963282432 DEBUG: OnKey: return (0xf00d) pressed, action is Select
21:17:10 1384684.125000 T:1963282432 DEBUG: OnPlayMedia plugin://plugin.video.nba/?url=&mode=nbatvlive&name=Watch+live
21:17:10 1384684.125000 T:1963282432 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
21:17:10 1384684.125000 T:1963282432 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
21:17:10 1384684.250000 T:1963282432 DEBUG: StartScript - calling plugin NBA League Pass('plugin://plugin.video.nba/','210','?url=&mode=nbatvlive&name=Watch+live')
21:17:10 1384684.250000 T:1424208800 DEBUG: Thread LanguageInvoker start, auto delete: false
21:17:10 1384684.250000 T:1963282432 DEBUG: WaitOnScriptResult - waiting on the NBA League Pass (id=594) plugin...
21:17:10 1384684.250000 T:1424208800 INFO: initializing python engine.
21:17:10 1384684.250000 T:1424208800 DEBUG: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): start processing
21:17:10 1384684.375000 T:1424208800 DEBUG: -->Python Interpreter Initialized<--
21:17:10 1384684.375000 T:1424208800 DEBUG: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): the source file to load is "/storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py"
21:17:10 1384684.375000 T:1424208800 DEBUG: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): setting the Python path to /storage/.kodi/addons/xbmc.plugin.video.nba-master:/storage/.kodi/addons/script.common.plugin.cache/lib:/storage/.kodi/addons/script.module.dateutil/lib:/storage/.kodi/addons/script.module.pytz/lib:/storage/.kodi/addons/script.module.six/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
21:17:10 1384684.375000 T:1424208800 DEBUG: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): entering source directory /storage/.kodi/addons/xbmc.plugin.video.nba-master
21:17:10 1384684.375000 T:1424208800 DEBUG: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python api
21:17:11 1384684.875000 T:1424208800 INFO: ##### NBA League Pass: Chosen quality_id 0 and target_video_height 72060
21:17:12 1384685.625000 T:1424208800 DEBUG: ##### NBA League Pass: Login reponse: <?xml version="1.0" encoding="UTF-8"?>
<result>
<code>loginsuccess</code>
<data>
<premium><![CDATA[true]]></premium>
<trackUsername><![CDATA[***********]]></trackUsername>
<givenName><![CDATA[****]]></givenName>
<refresh><![CDATA[true]]></refresh>
<userName><![CDATA[*******]]></userName>
<premiumpkg><![CDATA[true]]></premiumpkg>
<hasSubscription><![CDATA[true]]></hasSubscription>
<live><![CDATA[true]]></live>
</data>
</result>
21:17:12 1384685.750000 T:1424208800 DEBUG: ##### NBA League Pass: nba tv live: the body of publishpoint request is: nt=1&ppid=*******&type=channel&id=0
21:17:12 1384685.750000 T:1963282432 DEBUG: DialogProgress::Open called
21:17:12 1384685.750000 T:1963282432 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:17:13 1384686.500000 T:1424208800 DEBUG: ##### NBA League Pass: nba live tv: failed getting url: http://watch.nba.com/nba/servlets/publishpoint <html><head><title>Apache Tomcat/6.0.36 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.36</h3></body></html>
21:17:13 1384686.500000 T:1424208800 DEBUG: POParser: loaded 12 strings from file /storage/.kodi/addons/xbmc.plugin.video.nba-master/resources/language/English/strings.po
21:17:13 1384686.500000 T:1424208800 INFO: CPythonInvoker(594, /storage/.kodi/addons/xbmc.plugin.video.nba-master/leaguepass.py): script successfully run
21:17:13 1384686.500000 T:1963282432 DEBUG: WaitOnScriptResult- plugin returned successfully
21:17:13 1384686.625000 T:1963282432 DEBUG: Loading settings for
21:17:13 1384686.625000 T:1963282432 DEBUG: CPlayerCoreFactory::GetPlayers()
Looks like I'm getting a "loginsuccess" response, but immediately afterwards the next request fails with "The request sent by the client was syntactically incorrect".
Could you please look into it? The new season is upon is and this addon is really a must, the ultimate plugin for those watching NBA LP via Kodi.
Thanks.
Hi, I guess this issue is not a big deal, but still...
20:49:11.533 T:8060 NOTICE: special://profile/ is mapped to: special://masterprofile/
20:49:11.533 T:8060 NOTICE: -----------------------------------------------------------------------
20:49:11.533 T:8060 NOTICE: Starting Kodi (17.1 Git:20170320-fc1619b). Platform: Windows NT x86 32-bit
20:49:11.533 T:8060 NOTICE: Using Release Kodi x32 build
20:49:11.533 T:8060 NOTICE: Kodi compiled Mar 20 2017 by MSVC 190024215 for Windows NT x86 32-bit version 10.0 (0x0A000000)
20:49:11.533 T:8060 NOTICE: Running on Hewlett-Packard HP ProBook 640 G1 with Windows 7 SP1, kernel: Windows NT x86 64-bit version 6.1
20:49:11.544 T:8060 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
20:49:11.544 T:8060 NOTICE: Host CPU: Unknown, 4 cores available
20:49:11.544 T:8060 NOTICE: Desktop Resolution: 1366x768 32Bit at 60Hz
20:49:11.544 T:8060 NOTICE: Running with restricted rights
20:49:11.544 T:8060 NOTICE: Aero is enabled
20:49:11.544 T:8060 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\Kodi
20:49:11.544 T:8060 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\Kodi
20:49:11.544 T:8060 NOTICE: special://xbmcbinaddons/ is mapped to: C:\Program Files (x86)\Kodi/addons
20:49:11.544 T:8060 NOTICE: special://masterprofile/ is mapped to: C:\Users\ekokiva\AppData\Roaming\Kodi\userdata
20:49:11.544 T:8060 NOTICE: special://home/ is mapped to: C:\Users\ekokiva\AppData\Roaming\Kodi
20:49:11.544 T:8060 NOTICE: special://temp/ is mapped to: C:\Users\ekokiva\AppData\Roaming\Kodi\cache
20:49:11.544 T:8060 NOTICE: special://logpath/ is mapped to: C:\Users\ekokiva\AppData\Roaming\Kodi
20:49:11.544 T:8060 NOTICE: The executable running is: C:\Program Files (x86)\Kodi\kodi.exe
20:49:11.550 T:8060 NOTICE: Local hostname: HR00088835
20:49:11.550 T:8060 NOTICE: Log File is located: C:\Users\ekokiva\AppData\Roaming\Kodi/kodi.log
20:49:11.550 T:8060 NOTICE: -----------------------------------------------------------------------
20:49:11.593 T:8060 NOTICE: load settings...
20:49:11.601 T:8060 WARNING: CSettingString: unknown options filler "timezonecountries" of "locale.timezonecountry"
20:49:11.601 T:8060 WARNING: CSettingString: unknown options filler "timezones" of "locale.timezone"
20:49:11.606 T:8060 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
20:49:11.607 T:8060 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
20:49:11.607 T:8060 NOTICE: Default Video Player: VideoPlayer
20:49:11.607 T:8060 NOTICE: Default Audio Player: paplayer
20:49:11.607 T:8060 NOTICE: Disabled debug logging due to GUI setting. Level 0.
20:49:11.607 T:8060 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
20:49:11.607 T:8060 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
20:49:11.608 T:8060 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
20:49:11.608 T:8060 NOTICE: Loaded playercorefactory configuration
20:49:11.608 T:8060 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
20:49:11.608 T:8060 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
20:49:11.628 T:8060 NOTICE: Running database version Addons27
20:49:11.709 T:8060 NOTICE: ADDONS: Using repository repository.xbmc.org
20:49:11.743 T:4508 NOTICE: Found 2 Lists of Devices
20:49:11.743 T:4508 NOTICE: Enumerated DIRECTSOUND devices:
20:49:11.743 T:4508 NOTICE: Device 1
20:49:11.743 T:4508 NOTICE: m_deviceName : {9F4A2D7D-D804-444E-8C3A-DDC9435BF0D3}
20:49:11.743 T:4508 NOTICE: m_displayName : Speakers - Speakers / HP (IDT High Definition Audio CODEC)
20:49:11.743 T:4508 NOTICE: m_displayNameExtra: DIRECTSOUND: Speakers / HP (IDT High Definition Audio CODEC)
20:49:11.743 T:4508 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:49:11.743 T:4508 NOTICE: m_channels : FL,FR
20:49:11.743 T:4508 NOTICE: m_sampleRates : 48000
20:49:11.743 T:4508 NOTICE: m_dataFormats : AE_FMT_FLOAT
20:49:11.743 T:4508 NOTICE: m_streamTypes : No passthrough capabilities
20:49:11.743 T:4508 NOTICE: Device 2
20:49:11.743 T:4508 NOTICE: m_deviceName : default
20:49:11.743 T:4508 NOTICE: m_displayName : default
20:49:11.743 T:4508 NOTICE: m_displayNameExtra:
20:49:11.743 T:4508 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:49:11.743 T:4508 NOTICE: m_channels : FL,FR
20:49:11.743 T:4508 NOTICE: m_sampleRates : 48000
20:49:11.743 T:4508 NOTICE: m_dataFormats : AE_FMT_FLOAT
20:49:11.743 T:4508 NOTICE: m_streamTypes : No passthrough capabilities
20:49:11.743 T:4508 NOTICE: Enumerated WASAPI devices:
20:49:11.743 T:4508 NOTICE: Device 1
20:49:11.743 T:4508 NOTICE: m_deviceName : {9F4A2D7D-D804-444E-8C3A-DDC9435BF0D3}
20:49:11.743 T:4508 NOTICE: m_displayName : Speakers - Speakers / HP (IDT High Definition Audio CODEC)
20:49:11.743 T:4508 NOTICE: m_displayNameExtra: WASAPI: Speakers / HP (IDT High Definition Audio CODEC)
20:49:11.743 T:4508 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:49:11.743 T:4508 NOTICE: m_channels : FL,FR
20:49:11.743 T:4508 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100
20:49:11.743 T:4508 NOTICE: m_dataFormats : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
20:49:11.743 T:4508 NOTICE: m_streamTypes : No passthrough capabilities
20:49:11.743 T:4508 NOTICE: Device 2
20:49:11.743 T:4508 NOTICE: m_deviceName : default
20:49:11.743 T:4508 NOTICE: m_displayName : default
20:49:11.743 T:4508 NOTICE: m_displayNameExtra:
20:49:11.743 T:4508 NOTICE: m_deviceType : AE_DEVTYPE_PCM
20:49:11.743 T:4508 NOTICE: m_channels : FL,FR
20:49:11.743 T:4508 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100
20:49:11.743 T:4508 NOTICE: m_dataFormats : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
20:49:11.743 T:4508 NOTICE: m_streamTypes : No passthrough capabilities
20:49:11.799 T:8060 NOTICE: Found screen: Generic PnP Monitor on Intel(R) HD Graphics 4600, adapter 0.
20:49:11.800 T:8060 NOTICE: Primary mode: 1366x768@ 60.00 - Full Screen
20:49:11.802 T:8060 NOTICE: Additional mode: 640x480@ 60.00 - Full Screen
20:49:11.803 T:8060 NOTICE: Previous line repeats 2 times.
20:49:11.803 T:8060 NOTICE: Additional mode: 800x600@ 60.00 - Full Screen
20:49:11.804 T:8060 NOTICE: Previous line repeats 2 times.
20:49:11.805 T:8060 NOTICE: Additional mode: 1024x768@ 60.00 - Full Screen
20:49:11.805 T:8060 NOTICE: Previous line repeats 2 times.
20:49:11.805 T:8060 NOTICE: Additional mode: 1366x768@ 60.00 - Full Screen
20:49:11.805 T:8060 NOTICE: Checking resolution 15
20:49:14.774 T:8060 ERROR: AddOnLog: Joystick Support: Failed to load XInput DLL
20:49:14.774 T:8060 ERROR: AddOnLog: Joystick Support: Failed to initialize interface xinput
20:49:14.797 T:10292 NOTICE: Running database version Addons27
20:49:14.799 T:10292 NOTICE: Running database version ViewModes6
20:49:14.801 T:10292 NOTICE: Running database version Textures13
20:49:14.803 T:10292 NOTICE: Running database version MyMusic60
20:49:14.807 T:10292 NOTICE: Running database version MyVideos107
20:49:14.809 T:10292 NOTICE: Running database version TV29
20:49:14.810 T:10292 NOTICE: Running database version Epg11
20:49:14.977 T:8060 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
20:49:15.083 T:8060 NOTICE: initialize done
20:49:15.083 T:8060 NOTICE: Running the application...
20:49:15.084 T:8060 NOTICE: starting upnp client
20:49:15.091 T:13100 NOTICE: ES: Starting UDP Event server on port 9777
20:49:15.091 T:13100 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
20:49:18.441 T:5212 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'file' referenced before assignment
Traceback (most recent call last):
File "C:\Users\ekokiva\AppData\Roaming\Kodi\addons\plugin.video.nba\src\service.py", line 116, in
main()
File "C:\Users\ekokiva\AppData\Roaming\Kodi\addons\plugin.video.nba\src\service.py", line 97, in main
shared_data.set("playing", {})
File "C:\Users\ekokiva\AppData\Roaming\Kodi\addons\plugin.video.nba\src\shareddata.py", line 24, in set
json_content = self.__getFileContent()
File "C:\Users\ekokiva\AppData\Roaming\Kodi\addons\plugin.video.nba\src\shareddata.py", line 19, in __getFileContent
file.close()
UnboundLocalError: local variable 'file' referenced before assignment
-->End of Python script error report<--
20:49:20.597 T:13604 ERROR: XFILE::CDirectory::GetDirectory - Error getting
Hi,
I'm running KODI 17 RC3.
On RC2 the addon worked fine.
But now when I want to start a game I get the following in my logs:
09:04:37.513 T:139767859164928 DEBUG: CPythonInvoker(53, /home/sven/.kodi/addons/plugin.video.nba/leaguepass.py): start processing
09:04:37.564 T:139767859164928 DEBUG: -->Python Interpreter Initialized<--
09:04:37.564 T:139767859164928 DEBUG: CPythonInvoker(53, /home/sven/.kodi/addons/plugin.video.nba/leaguepass.py): the source file to load is "/home/sven/.kodi/addons/plugin.video.nba/leaguepass.py"
09:04:37.564 T:139767859164928 DEBUG: CPythonInvoker(53, /home/sven/.kodi/addons/plugin.video.nba/leaguepass.py): setting the Python path to /home/sven/.kodi/addons/plugin.video.nba:/home/sven/.kodi/addons/script.common.plugin.cache/l$
09:04:37.564 T:139767859164928 DEBUG: CPythonInvoker(53, /home/sven/.kodi/addons/plugin.video.nba/leaguepass.py): entering source directory /home/sven/.kodi/addons/plugin.video.nba
09:04:37.564 T:139767859164928 DEBUG: CPythonInvoker(53, /home/sven/.kodi/addons/plugin.video.nba/leaguepass.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python$
09:04:38.000 T:139768463657344 DEBUG: ------ Window Init (DialogBusy.xml) ------
09:04:38.400 T:139767859164928 INFO: ##### NBA League Pass: Chosen quality_id 0 and target_video_height 72060
09:04:38.406 T:139767859164928 DEBUG: ##### NBA League Pass: the body of publishpoint request is: gt=64&bitrate=1600&plid=09cc5c1c4cf57f4f971621d24c398dd5&type=game&extid=0021600634
09:04:38.445 T:139767859164928 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.URLError'>
Error Contents: <urlopen error [Errno 0] Error>
Traceback (most recent call last):
File "/home/sven/.kodi/addons/plugin.video.nba/leaguepass.py", line 80, in <module>
chooseGameVideoMenu()
File "/home/sven/.kodi/addons/plugin.video.nba/games.py", line 327, in chooseGameVideoMenu
highlights_url = getHighlightGameUrl(video_id)
File "/home/sven/.kodi/addons/plugin.video.nba/games.py", line 108, in getHighlightGameUrl
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 0] Error>
-->End of Python script error report<--
09:04:38.458 T:139768463657344 DEBUG: ------ Window Init (DialogNotification.xml) ------
09:04:38.563 T:139767859164928 INFO: Python script stopped
09:04:38.563 T:139767859164928 DEBUG: Thread LanguageInvoker 139767859164928 terminating
09:04:38.588 T:139768463657344 ERROR: GetDirectory - Error getting plugin://plugin.video.nba/?game_state=2&has_condensed_game=0&mode=gamechoosevideo&name=2017-01-18%20Thunder%20vs%20Warriors&url&video_hasawayfeed=1&video_id=0021600634$
09:04:38.589 T:139768463657344 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nba/?game_state=2&has_condensed_game=0&mode=gamechoosevideo&name=2017-01-18%20Thunder%20vs%20Warriors&url&video_hasawayfeed=1&video_id=002160063$
09:04:38.590 T:139768463657344 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nba/?mode=thisweek&name=This%20week&url=archive)
09:04:38.590 T:139768463657344 DEBUG: ParentPath = [plugin://plugin.video.nba/?mode=archive&name=Archive&url=archive]
09:04:38.599 T:139766582454016 DEBUG: CAddonDatabase::SetLastUsed[plugin.video.nba] took 10 ms
Just wondering about smoothness on playback...
If you look at the Hawks-Spurs game from 2017-03-13 the video plays perfectly smooth, you can absolutely notice the difference! All the other games don't. I didn't see the live game of this one but I guess it had the same quality.
Does this videoquality come from NBA's side (encoded video) or is it a issue with my Setup of Kodi or the addon itself?
If it is on my end: If someone can tell me how to optimize the videoquality please feel free to do so... ;-)
(And if I remember correctly all the games from the previous season had the same Quality as the on above)
THX
Th quality of the logo's are not of best quality see also the attached screenshot (see also kodi forum).
https://s14.postimg.org/kutc9a2gh/2016_10_11.png
Furthermore, the logo of the hornets is shown which is correct, but the description of the game is mentioning Timberwolves.
Hey Max,
The latest nightly appears to of removed the option of the away feed completely, also the alternate cameras don't appear to be working.
Cheers,
Eddie
NBA TV Live streams seems to just stop after approximately ten minutes. There's no issues with bandwidth and it works fine as soon as it's restarted.
https://paste.ubuntu.com/23201010/
It worked a week ago. I have international league pass...and I can watch fine on the web site.
I'm getting this back from browser in the xml which used to show the manifest url:
adaptive://nlds16.neulion.com:443/nlds/nba/nba247/as/live/s_nba247_live_game_hd?plid=xxxx&auth_key=xxx-1474252150-32-*&nltid=nba&nltdt=0&uid=xxxx
also publish endpoint is now: https://watch.nba.com/service
edit: nevermind, had to query with iPad user agent. but the endpoint still changed.
When trying to watch the game celtics - hornets (10/29), there was no choice of away or home feed. Only the home feed was available when pressing' full game'. Both feeds were available on the website.
When checking grizzlies - knicks, we could chose
As of today I get an 404 error message whenever I enter live games or the archives.
When I try to install the add-on from the zip file, I get the following error: Dependencies not met. Please contact add-on author.
Its not really a issue or bug, but is there any way to add closed caption to the plugin?
Hi!
First of all, thanks for this plugin, way better to see the game on TV instead of the iPad!
During the last week I cannot see the full games of the Finals, while the condensed games start correctly. The error is "Failed to get a video URL. Are you logged in?"
But I am logged in and I can see the condensed videos. And I can see the full games on iPad, so I think the problem is in the plugin that it is not able to retrieve the link.
Mattia.
The quality setting in the add-on configuration does not change the quality of the stream, which is stuck on the highest setting. Love the add-on, but unfortunately my sucky internet connection ends up buffering a lot as a result. jwwiii1982 mentioned having the same issue.
Hi, first thanks for this amazing addon!
I have an issue when I want to start watching the game an hour late but from the beginning of course. I see that this is not possible so the only thing I can do is wait about 3 hours until the game show up on the archive games list.
a) Is there a way to watch 'live' games but in delay?
b) Do I really need to wait 2-3 hours after the game ends until I can watch the full game?
Thanks
Hello i'm from Bulgaria and i have problem with archive games , I can't play them very later after they are allready finished , when i try to open the game it start a video with Game Has Ended and this is 5 hours after the games are finished in USA .When i enter NBA.com with League pass from the browser the games starts.Can you help me with this pretime of Kodi
Anything like The Starters, Highlights, Top Plays etc. fails to play. NBA TV live, archived games and live games play fine.
v15.2 Isengard on Kodibuntu.
Pertinent log section is attached.
The stream starts fine, but maybe 5-10 minutes into it the stream starts to stutters or crashes back to the menu. Also, I tried changing the video quality from 720p to 540p and it never changes on the stream, but it does change in the settings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.