maxgalbu / xbmc.plugin.video.nba

Kodi plugin to watch NBA games with nba league pass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playback failed

ibou95 opened this issue · comments

I have this error :
"One or more items failed to play. Check the log for more information abuot this message"

check log

  1. Enable Debug logging (https://kodi.wiki/view/Log_file/Advanced#GUI_settings).
  2. Enable Debug under add-on settings.
  3. Make actions to get an error.
  4. Locate the log file (https://kodi.wiki/view/Log_file/Advanced#Log_files).
  5. Share it with us (https://kodi.wiki/view/Log_file/Advanced#So_what_do_I_do_with_this_thing.3F).

Also, very useful information is what platform you use, processor architecture etc.

I don't know if I'm experiencing the same issue as the OP, but streaming also fails for me.
Logs: https://paste.kodi.tv/zaqidogoja
Fire TV Stick 4k

My previous log was from Kodi 17.
I see the same issue with 18: https://paste.kodi.tv/acaqeqabac

@joshjryan Both logs refer to lines 96 and 310, but looking at the latest code (https://github.com/maxgalbu/xbmc.plugin.video.nba/blob/master/src/games.py) those lines should be 97 and 317. Have you made any local changes, and which?

@ivankokan I have not made any changes. I used Install from Repository from within Kodi, and then set my League Pass credentials in the add-on settings. That's it.

Let me know if there is any other info that I can grab.

Hi @joshjryan, do not install through Kodi's repository (I'm not sure which version is that). Please try to uninstall it first, and then install with the latest build: https://github.com/maxgalbu/xbmc.plugin.video.nba/releases (April 10th).

Thanks @ivankokan. Sorry for not realizing that Kodi's repo was stale.

I will try this build when I get home this evening.

With that build I can't even list live games: https://paste.kodi.tv/xesomazeca

NBA TV error (not live games?) is present in the log - not sure whether it really works for awhile. Also, verify this: As of October 2017, in order to login correctly, you need to go into the addon settings and change your username with your account's email. (emphasized on the main page of this repository)

This log is from both attempting to view NBA live and from trying to list the live games. Both error out (err 22).

And yes, I have provided my email address and password in the add-on settings.

Can you point out the part of the log where error for listing live games is present?

I think it's line 342, but let me test again without trying nba live

Fresh logs: https://paste.kodi.tv/tuveduquki
Looks like all we get is an error on GetDirectory?

Here is a video of the test https://drive.google.com/file/d/1LIJ1H-4nW1C4be0HlbSjCuUdi1cXrn3I/view?usp=drivesdk

Do you get the same as described here? Can you enable Debug logging (#90 (comment)), as the log suggests LOG_LEVEL_NORMAL?

Finally got those! You can overcome the issue temporarily, making this change in the code (modify it in the package you downloaded and installed with). I will try to resolve this error ASAP.

For some reason when I re-zip the plugin after making that change, kodi fails when I try to install (says it can't read addon.xml). I'll mess with that tomorrow.

Would it be worth my time to make a Pull Request that simply adds a try/except to generateCombinedThumbnail, which just returns an empty string if the image generation fails?... Or do you have something better in mind?

It is better to uninstall the add-on first, restart Kodi and install with the newly zipped archive.

I checked everything much deeper today, the bug is definitely inside Python Image Library (PIL), which has been fixed and updated a lot meanwhile, but Kodi does not update it (uses old package bundle). So, the only way to resolve the issue is to add error handling (better than not having logos in general). I will take care of that tomorrow.

@joshjryan Anyway, this Issue thread was about something else from the beginning: failed play action. I will refer our discussion here on the other Issue thread where Error 22 was mentioned.

Thanks @ivankokan. I should have moved my comments to the other issue once I started using the latest build.

OK, let me summarize the status here:

  • Still waiting for @ibou95's debug log.
  • Fire TV Stick & [Errno 22] Invalid argument issue debug log generated, discussion moved to #83.

Hi @ibou95, any updates?

Since there is no feedback from @ibou95, I guess that #92 resolves this.

I do not know. Test it with the latest from my fork: https://github.com/ivankokan/xbmc.plugin.video.nba/archive/master.zip.

Kodi 18 is mandatory.

If some problems occur, please provide the Debug log.
#90 (comment)