cguZZman / plugin.googledrive

The Google Drive addon for Kodi
GNU General Public License v3.0
211 stars 71 forks source link

Kodi is not playing from Google Drive any longer #178

Closed gsantosoliver closed 3 years ago

gsantosoliver commented 3 years ago

Describe the bug Kodi is not playing from Google Drive any longer. My account is ok, I can play using another device from the same source using the same account. The problem is one Xiaomi Box S running the latest firware/android and Kodi 18.0 (I can't use the newer versions since they all give me the "source too slow error of death" every minute or so during playback). I click to open the movie, either from the Movies interface OR using the Google Drive navigation interface, the spinning blue rings appear and never stop as if the movie is loading but it never plays. I installed Kodi from scratch and tried Google Drive from the Kodi and repo.daro.mx repositories. Same error.

To Reproduce

  1. Install Kodi 18.0 in Xiaomi Mi Box S running the latest Android
  2. Install and setup Google Drive add-on
  3. Try to play a movie

Your debug log file https://paste.kodi.tv/enikatevox There are 47 errors in the logs, most of them related to images that can be loaded. Some can be found below:

ERROR: Flush - timed out waiting for renderer to flush
ERROR: Could not find suitable input format: x-directory/normal

Thanks for the help.

disgrace2029 commented 3 years ago

I was getting the same thing on my Shield (yeah you would figure no problem). What I did was changed the cache settings on Kodi (have to have a advancedsettings.xml file). After doing that I was able to watch movies. There may be a problem with the cache setting with Kodi and this addon.

gsantosoliver commented 3 years ago

I was getting the same thing on my Shield (yeah you would figure no problem). What I did was changed the cache settings on Kodi (have to have a advancedsettings.xml file). After doing that I was able to watch movies. There may be a problem with the cache setting with Kodi and this addon.

Would you be so kind and paste here a sample of your advancedsettings.xml with the cache changes so that I can try here? Thanks.

gsantosoliver commented 3 years ago

I was getting the same thing on my Shield (yeah you would figure no problem). What I did was changed the cache settings on Kodi (have to have a advancedsettings.xml file). After doing that I was able to watch movies. There may be a problem with the cache setting with Kodi and this addon.

I've tried the following settings as found in the page https://kodi.wiki/view/HOW-TO:Modify_the_video_cache

<advancedsettings>
  <cache>
    <buffermode>1</buffermode>
    <memorysize>139460608</memorysize>
    <readfactor>20</readfactor>
  </cache>
</advancedsettings>

The problem still happens

cguZZman commented 3 years ago

I see the addon provided the correct url to Kodi and actually it was able to get the video info: 22:49:22.847 T:7448 INFO: ffmpeg[1D18]: Input #0, matroska,webm, from 'https://www.googleapis.com/drive/v3/files/1Y-lcyr2pTZ5hXJuR7gh_uE0X3HH4-GbT?alt=media': That's how far the addon can go. By giving Kodi the correct url to play.

I believe we had this conversation before, but again, problems of compatibility between specific boxes and Kodi is out of the scope of this addon.