Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback failed #90

Open
ibou95 opened this issue Nov 8, 2018 · 27 comments · May be fixed by #92
Open

Playback failed #90

ibou95 opened this issue Nov 8, 2018 · 27 comments · May be fixed by #92

Comments

@ibou95
Copy link

ibou95 commented Nov 8, 2018

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

@nickomaru
Copy link

check log

@ibou95
Copy link
Author

ibou95 commented Nov 16, 2018 via email

@ivankokan
Copy link
Contributor

  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.

@joshjryan
Copy link

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

@joshjryan
Copy link

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

@ivankokan
Copy link
Contributor

@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?

@joshjryan
Copy link

joshjryan commented Nov 28, 2018

@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.

@ivankokan
Copy link
Contributor

ivankokan commented Nov 28, 2018

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).

@joshjryan
Copy link

joshjryan commented Nov 28, 2018

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

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

@joshjryan
Copy link

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

@ivankokan
Copy link
Contributor

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)

@joshjryan
Copy link

joshjryan commented Nov 29, 2018

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.

@ivankokan
Copy link
Contributor

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

@joshjryan
Copy link

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

@joshjryan
Copy link

joshjryan commented Nov 29, 2018

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

@ivankokan
Copy link
Contributor

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

@joshjryan
Copy link

Debug logging: https://paste.kodi.tv/popeqebaze

@ivankokan
Copy link
Contributor

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.

@joshjryan
Copy link

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?

@ivankokan
Copy link
Contributor

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.

@ivankokan
Copy link
Contributor

@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.

@joshjryan
Copy link

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

@ivankokan
Copy link
Contributor

OK, let me summarize the status here:

@ivankokan
Copy link
Contributor

Hi @ibou95, any updates?

@ivankokan
Copy link
Contributor

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

@ivankokan ivankokan linked a pull request Dec 27, 2019 that will close this issue
@ibou95
Copy link
Author

ibou95 commented Dec 27, 2019 via email

@ivankokan
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants