xbmc.plugin.video.nba icon indicating copy to clipboard operation
xbmc.plugin.video.nba copied to clipboard

Playback failed

Open ibou95 opened this issue 6 years ago • 27 comments

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

ibou95 avatar Nov 08 '18 00:11 ibou95

check log

nickomaru avatar Nov 16 '18 10:11 nickomaru

Give me the path please.

Thanks

Le ven. 16 nov. 2018 à 11:33, nickomaru [email protected] a écrit :

check log

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maxgalbu/xbmc.plugin.video.nba/issues/90#issuecomment-439351982, or mute the thread https://github.com/notifications/unsubscribe-auth/Al_JMmT9ncPt_XXM6Xt8nxzsiowsCPW6ks5uvpRogaJpZM4YTvkC .

ibou95 avatar Nov 16 '18 10:11 ibou95

  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.

ivankokan avatar Nov 16 '18 10:11 ivankokan

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 avatar Nov 27 '18 16:11 joshjryan

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

joshjryan avatar Nov 28 '18 00:11 joshjryan

@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 avatar Nov 28 '18 01:11 ivankokan

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

joshjryan avatar Nov 28 '18 02:11 joshjryan

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

ivankokan avatar Nov 28 '18 15:11 ivankokan

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

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

joshjryan avatar Nov 28 '18 15:11 joshjryan

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

joshjryan avatar Nov 29 '18 01:11 joshjryan

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)

ivankokan avatar Nov 29 '18 01:11 ivankokan

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.

joshjryan avatar Nov 29 '18 01:11 joshjryan

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

ivankokan avatar Nov 29 '18 01:11 ivankokan

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

joshjryan avatar Nov 29 '18 01:11 joshjryan

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

joshjryan avatar Nov 29 '18 01:11 joshjryan

Do you get the same as described here? Can you enable Debug logging (https://github.com/maxgalbu/xbmc.plugin.video.nba/issues/90#issuecomment-439356826), as the log suggests LOG_LEVEL_NORMAL?

ivankokan avatar Nov 29 '18 02:11 ivankokan

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

joshjryan avatar Nov 29 '18 02:11 joshjryan

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.

ivankokan avatar Nov 29 '18 02:11 ivankokan

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?

joshjryan avatar Nov 29 '18 04:11 joshjryan

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 avatar Nov 29 '18 18:11 ivankokan

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

ivankokan avatar Nov 29 '18 18:11 ivankokan

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

joshjryan avatar Nov 29 '18 18:11 joshjryan

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.

ivankokan avatar Nov 30 '18 11:11 ivankokan

Hi @ibou95, any updates?

ivankokan avatar Jan 08 '19 15:01 ivankokan

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

ivankokan avatar Dec 27 '19 01:12 ivankokan

Hello Ivan,

One question. Does the service works with an Indian league pass account ?

Thanks

On Thu, Dec 26, 2019, 8:10 PM Ivan Kokan [email protected] wrote:

Since there is no feedback from @ibou95 https://github.com/ibou95, I guess that #92 https://github.com/maxgalbu/xbmc.plugin.video.nba/pull/92 resolves this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/maxgalbu/xbmc.plugin.video.nba/issues/90?email_source=notifications&email_token=AJP4SMUIKOOZIZCPMIVS56LQ2VIXBA5CNFSM4GCO7EBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWK7AI#issuecomment-569159553, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJP4SMWZHZRVZIOQYCGYYUDQ2VIXBANCNFSM4GCO7EBA .

ibou95 avatar Dec 27 '19 02:12 ibou95

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. https://github.com/maxgalbu/xbmc.plugin.video.nba/issues/90#issuecomment-439356826

ivankokan avatar Dec 27 '19 02:12 ivankokan