Closed russholio closed 7 years ago
I tried your correction and its working on a condensed game.
I'm just wondering, there the exact same command for live game (line77), the correction may be needed there too?
Works OK both on full and condensed on-demand games.
It doesn't work on Live games eg NBA TV or the current live games which are about to start (with just the one correction) but does for archived. I tried to change the user agent in line 77 in the same file (did not work) and the 2 options for useragent in nbatvlive.py (did not work) but I have no idea really what I am doing.
My bad, it should be on line 75 I have no idea how to do it right, so i just copy it here (watching celtics vs bulls right now with it, tried both feeds)
url = "%s|User-Agent=iTunes-AppleTV/4.1" % getGameUrlWithBitrate(url, video_type)
and btw thanks for everybody who works on that addon ;)
Cool - that works for live games. Still not working for NBA TV live
@woronczak thought about the Live games as I went to bed last night but when I was writing the fix there would have been no live game to test against.
NBA TV Live has been weird for me lately anyway, it only seems to play for 2 minutes then drop out
@russholio if you have a skin that shows the length of videos, it shows that NBA TV live is 4-6 mins (which is usually how long it lasts before stopping, at least when it worked prior to this change). Not sure if that helps find the cause (or is it possible to fake the length of the video to indefinite or some obscene number so that it keeps going)
Thanks russholio! I will check nba tv live now
Long time, very appreciative user of this addon so want to help if poss. ..and thanks ALL devs - this addon makes NBA watchable everywhere for me and would be happy to donate(where?)
System - Windows 7 64 bit - Kodi Jarvis 16.1 Applied the changes to the 4 files in addon folder - did not work I put it down to random changes to my exisiting LP addon stored locally(?) So uninstalled addon / re-installed via Kodi repo made changes to 4 files again results: Archive - Working fine again so far Live games - cannot check until they start later today (6pm UK time) confirm @woronczak NBA Live TV - 'not working' it has ALWAYS been a stop starter for me...2/3/4/5 mins then stop.(does not really concern me as watch this rarely) (Known issue?) Lives games have always stopped streaming on the hour...every hour.
Hi there,
yesterday i do the change for the archived games and at first i always get an error from kodi that nba leage pass error, i dont know exaktly what i ve done but in the end it worked.
But today i do all the changes in the lines with notepad++ but i always get the error message from kodi. Can anyone help me, how can i do the changes right??? Do i forgot anything??
My log file...... 01_KODI.txt
i guess i solved it, the "+" have to deleted :-) in the vars.py
You can install the zip version with the latest changes from: https://github.com/maxgalbu/xbmc.plugin.video.nba/releases/download/nightly-master/plugin.video.nba-master.zip
(from kodi use "Install from zip")
and can confirm live games working after changes
thanks a lot
This is a great update..... It has so many different sources....... Is there any chance the archive games to playing more faster then now because when the game ends it goes to archive section after 1 hour and after more 1 hour it start when you try to play it ..... I try and enter the nba.com to play a game with me league pass and the ended game start 5 minutes after it was ended but in kodi the time is 2 hours after the live stream ended.... Thank you :)
Fixes #46 inline with @kaileu suggestion Sets the User-Agent used by FFMpeg to the AppleTV useragent string, as the default Kodi useragent string appears to blocked.