cguZZman / plugin.googledrive

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

Google Drive streaming on Android 11 (tab S7, S10 5G, S20) stops at about 20 seconds. #255

Closed anraksa closed 2 years ago

anraksa commented 3 years ago

As mentioned in the title, when playing gdrive media in KODI for all applicable models, it stops around 20 seconds and control is impossible until KODI is closed. (Besides, I have to stop and forcefully quit the same in my PC version. PC OS win10)

So I couldn't attach the log either.

However, it works without problems on the S8, tab S 10.5, and other Android 10 or lower versions.

Could it be a Samsung One UI 3.0 problem or an Android 11 problem, please give me a solution.

Dear Developers, I want to use Google Addons! Please.

Version 18 and 19.0, 19.1 matrix

2022.01.22 ADD

SCAPELLI commented 3 years ago

i have the same problem in windows 10

SCAPELLI commented 3 years ago

Finally solved it.

Add the following lines in advancedsettings.xml-

    <network>
      <disablehttp2>true</disablehttp2> 
    </network>

Google Drive videos are playing perfectly on Kodi Matrix now.

anraksa commented 3 years ago

Finally solved it.

Add the following lines in advancedsettings.xml-

    <network>
      <disablehttp2>true</disablehttp2> 
    </network>

Google Drive videos are playing perfectly on Kodi Matrix now.

Dear SCAPELLI, I just tested it. It plays so perfectly. There is no problem on Android, I haven't tested it on Windows 10 yet, but I think it will work.

Thank you so much! I respect you.

Thank you again.

ScamCast commented 3 years ago

Same issue here. Thanks for the fix.

ghost commented 2 years ago

So many thanks SCAPELLI !

Worked perfectly to solve this other issue #277 opened for the Nvidia Shield since its update to Android 11

Can you briefly explain what it does exactly and why this was pertinent to Android 11 ?

Edit : also solved for me the same playback issues on Windows 10

CarlosLopezES commented 2 years ago

Finally solved it.

Add the following lines in advancedsettings.xml-

    <network>
      <disablehttp2>true</disablehttp2> 
    </network>

Google Drive videos are playing perfectly on Kodi Matrix now.

Hi!

Can you share the exact tabs or spaces for the XML file? I've tried to restart after creating the file in the right directory among all other xml files, but until now, it's not working...

Thanks a lot!

Edit: It's working with:

<advancedsettings version="1.0">
    <network>
      <disablehttp2>true</disablehttp2> 
    </network>
</advancedsettings>
benoit16 commented 2 years ago

To all those who can't use the google drive extension on Kodi I just want to testify what finally works perfectly for me. I use : Kodi 19.3 installed on an android TV. I had a hard time trying to get Google drive to work on KODI for several months. People write anything, it's hard to tell the truth from the false. The advancedsettings.xml file doesn't exist, you have to create it and transfer it to the android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml If you put it somewhere else, it won't work. The content of the file must be :

true

Hoping to have helped

ClassickTech commented 6 months ago

This is not working with new Android 12 TV permissions. Unable to gain access to android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml without root