aussieaddons / repo

Aussie Add-ons repository for Kodi
http://aussieaddons.com/installation/
103 stars 45 forks source link

TenPlay No longer working #27

Open supmaxi opened 8 years ago

supmaxi commented 8 years ago

When clicking on any stream I get the following error:

global name 'Video' is not defined [run (49)] Would you like to report this issue?

Also, sometimes the folders dont open at all. This use to work great, hoping someone can help :)) Thanks for the hard work btw, we need more great aussie developers like yourselves

xdegenerate commented 7 years ago

I've got the exact same issue, too.

http://i65.photobucket.com/albums/h211/triplem1075/20170228_191959.jpg

Can someone please help us out here?

I'm using a standard android box, MQ something or other? If exact details are needed, I can provide them, if needed.

Whats weird is it works fine on one box we have, but the other will just not play ball.

Edit: There is a simmilar topic here that says

@AuXBoX The Ten plugin uses RTMP streams to play the actual video, so you'll need to have XBMC compiled with rtmp support.

How do I add RTMP support to XBMC?

glennguy commented 7 years ago

Tenplay no longer uses RTMP so that's not the issue. If you could follow the log upload guide and post the link we might be able to find the cause.

xdegenerate commented 7 years ago

I think I did this right.

lS+aFDee.txt

andybotting commented 7 years ago

Nice work @xdegenerate that's it.

  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/networktenaddon/__init__.py", line 49, in run
    self.plugin.run()
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
    items = self._dispatch(self.request.path)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
    listitems = view_func(**items)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/networktenaddon/play.py", line 42, in play
    media = api.get_media_for_video(videoId)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/networktenvideo/api.py", line 271, in get_media_for_video
    video = self.brightcove.find_video_by_id(videoId, fields='renditions', media_delivery='http')
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/brightcove/api.py", line 64, in find_video_by_id
    params = validate_params(**locals())
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/brightcove/utils.py", line 16, in validate_params
    params[key] = getattr(Validators, key)(val)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.ten/resources/lib/brightcove/utils.py", line 71, in fields
    assert field in Video._fields, (
NameError: global name 'Video' is not defined
xdegenerate commented 7 years ago

thanks... is there a way i can fix it?

glennguy commented 7 years ago

Yes! :smiley: I've tested the add-on with Kodi 14.2 for Android and can reproduce the issue. The easy solution is to upgrade Kodi. I've tested on 16.1 with success but since 17 is out you should just go straight to that.

xdegenerate commented 7 years ago

ok, thanks, i'll give that a try.

xdegenerate commented 7 years ago

That did the trick! Thank you very much, glennguy