[RELEASE] NBA.com Videos Plugin

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
stacked Offline
Skilled Python Coder
Posts: 802
Joined: Jun 2007
Reputation: 18
Post: #46
Version 1.0.3/2.0.3

- Version bump for frodo
- Fixed duration time issue
- Fixed 'argument 1 must be unicode or str' error
- Fixed 404 error on videos that aren't available
- Fixed issue with new videos not appearing on the first page
- Added retry function to help with connection errors
- Added setting for default view in Confluence skin
find quote
CEMA65 Offline
Junior Member
Posts: 9
Joined: May 2014
Reputation: 0
Post: #47
Is this addon dead? It was working a month or two ago now I keep getting an index error when I try to play videos. Thanks.
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #48
Hi stacked. I wanted to report some index errors that are given when playing some videos from certain sources within the add-on. Some videos work, most fail with the index error. The meta data appears to be scraped properly just won't play. Do you intend to support this add-on going forward? I can post logs if it will help.
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #49
Bump. Is anyone willing or able to fix the index error seen using the add-on for some videos. Seems the author has abandoned this Sad
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #50
I was toying around and located what seems to be a fix to the streams and a fix to the Next Page to not only search 12/13 season.

Install the add-on zip here for gotham and later.
(This post was last modified: 2015-02-17 19:34 by Swedemon.)
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #51
Thanks so much. I will give this a run when I get home today. If it works out do you plan on releasing it yourself on the Kodi repo or possibly submitting a pull request for stacked to fix the current one? I'm not sure if anyone uses this addon (except me) but it would be nice for everyone to be able to benefit from your patch work Smile I'll be sure to report back how it works out for me!
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #52
I already submitted a pull request to stacked on github. Beyond that, I'm not sure how to apply into the Kodi repo.

Also, I'm adding a fix to the Espn video add-on with another pull-request to stacked.

If you need the nba add-on for an older version of XBMC frodo v12 download here.
(This post was last modified: 2015-02-17 19:40 by Swedemon.)
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #53
Thanks for the fix, runs well here. I can keep up with my Cavs without hitting the index error Smile
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #54
Good deal - if anyone knows how to apply this to the Kodi repo, i'm all ears. Smile
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #55
Submitting_Add-ons (wiki)

Not sure how this works as the original author has seemingly abandoned the addon. Good luck!
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #56
Thanks mrdally204. I may or may not get to that, it looks like quite a process. In the meantime, if someone can contact the author the updates are sent to him.
find quote
mrdally204 Offline
Fan
Posts: 455
Joined: Nov 2010
Reputation: 6
Location: Ohio
Post: #57
Hey Swedemon,

When you fixed the addon, it appears that you removed the ability to lower the bitrate for the selected video. I know it's a little late in the season but could you possibly add this functionality back to the addon? The option to save some bandwidth is crucial for me and my bandwidth caps. I tried for about 20 mins or so to play with it but I haven't enough knowledge to pull it off myself.
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #58
I installed the current version from stacked's github and the options doesn't provide any ability to change the bitrate. Can you link me to a version that has this option already? Or are you asking this to be a new option?
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #59
<!-- BEGIN: Current Video Files -->
<file bitrate="nba_640x360" key="turner_flash_nba_640x360">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_nba_640x360.flv</file>
<file bitrate="nba_576x324" key="turner_flash_nba_576x324">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_nba_576x324.flv</file>
<file bitrate="416x234" key="turner_flash_416x234">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_416x234.flv</file>
<file bitrate="1280x720_3072" key="turner_mp4_1280x720_3072">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_1280x720.mp4</file>
<file bitrate="960x540_2104" key="turner_mp4_960x540_2104">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_960x540_2104.mp4</file>
<file bitrate="768x432_1404" key="turner_mp4_768x432_1404">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_768x432_1404.mp4</file>
<file bitrate="768x432_996" key="turner_mp4_768x432_996">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_768x432_996.mp4</file>
<file bitrate="640x360_664m" key="turner_mp4_640x360_664m">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_640x360_664m.mp4</file>
<file bitrate="640x360_664b" key="turner_mp4_640x360_664b">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_640x360_664b.mp4</file>
<file bitrate="480x320_910" key="turner_mp4_480x320_910">http://nba.cdn.turner.com/nba/big/channels/originals/2015/06/18/20150618-robert-horrys-clutch-shooting----10-year-anniversary.nba_nba_android_high.mp4</file>
<!-- END: Current Video Files -->
find quote
Swedemon Offline
Junior Member
Posts: 19
Joined: Sep 2014
Reputation: 0
Post: #60
So if you can manage to open and edit the default.py file in the addon you can change the text that reads "1280x720_3072" in both locations (line #116 and 117) to become your preferred bitrate.

Based on my previous post that could be for example "640x360_664m".
(This post was last modified: 2015-06-19 02:01 by Swedemon.)
find quote