maxgalbu / xbmc.plugin.video.nba

Kodi plugin to watch NBA games with nba league pass
GNU General Public License v3.0
50 stars 43 forks source link

Playback failed #90

Open ibou95 opened 5 years ago

ibou95 commented 5 years ago

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

nickomaru commented 5 years ago

check log

ibou95 commented 5 years ago

Give me the path please.

Thanks

Le ven. 16 nov. 2018 à 11:33, nickomaru notifications@github.com 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 .

ivankokan commented 5 years ago
  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 commented 5 years ago

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 commented 5 years ago

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

ivankokan commented 5 years ago

@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 commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

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

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

joshjryan commented 5 years ago

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

ivankokan commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

joshjryan commented 5 years ago

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

joshjryan commented 5 years ago

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 commented 5 years ago

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?

joshjryan commented 5 years ago

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

ivankokan commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

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

ivankokan commented 5 years ago

OK, let me summarize the status here:

ivankokan commented 5 years ago

Hi @ibou95, any updates?

ivankokan commented 4 years ago

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

ibou95 commented 4 years ago

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 notifications@github.com 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 .

ivankokan commented 4 years ago

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