Google Drive Access questions

Support for Android version of Total Commander

Moderators: Hacker, petermad, Stefan2, white

kinsfubar
Junior Member
Junior Member
Posts: 14
Joined: 2024-10-25, 06:12 UTC

Re: Google Drive Access questions

Post by *kinsfubar »

That's a bit tricky to determine. If you check the shortcut with "File Information->Details", it will say that you can download the file, but it's lying. If you try and download via the shortcut, you'll get an error. You have to check this menu option to see the real file permissions: "File Information->Show File Location", then you can see the actual file and check "File Information->Details" to see that you can't download the file.

An easy way to program for this case is to try and download the file and if you get an error, then you know you don't have permission. Then you can try to play the video without downloading.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49594
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Google Drive Access questions

Post by *ghisler(Author) »

Then you can try to play the video without downloading.
Did you try this with Total Commander Media Player, e.g. by putting the URL in a text file named test.m3u8 ?
Author of Total Commander
https://www.ghisler.com
kinsfubar
Junior Member
Junior Member
Posts: 14
Joined: 2024-10-25, 06:12 UTC

Re: Google Drive Access questions

Post by *kinsfubar »

I just tried the test of the m3u8 file in Total Commander and I get a playback error.
Thomas Kimmina
Junior Member
Junior Member
Posts: 4
Joined: 2024-11-01, 05:15 UTC

Google Drive unter Android Tv?

Post by *Thomas Kimmina »

Hallo,
Habe mit der json Datei Google Drive wunderbar ans laufen bekommen. DANKE.

Wie bekomme ich das auf Android TV ans laufen? Beim einbinden kommt immer "Du hast keine App dafür" ...

Kann mir da jemand helfen?

Welche App muss es denn sein?

LG
Thomas
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49594
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Google Drive Access questions

Post by *ghisler(Author) »

2kinsfubar
Here is a pre-release version of my plugin which will play links via a browser window. Please try it:
https://www.totalcommander.ch/beta/tcandroiddrive243pre.apk

2Thomas Kimmina
Sie benötigen einen Web Browser für das Login. Leider ist Google sehr wählerisch was Browser angeht. Ich würde mal folgende probieren:
https://play.google.com/store/apps/details?id=com.internet.tvbrowser
https://play.google.com/store/apps/details?id=com.phlox.tvwebbrowser
Falls das nicht geht, müssen Sie Chrome oder Firefox als apk installieren (sideload).

English: You need a Web browser to log in to the cloud drive plugin on Android TV. Recommendations above.
Author of Total Commander
https://www.ghisler.com
Thomas Kimmina
Junior Member
Junior Member
Posts: 4
Joined: 2024-11-01, 05:15 UTC

Re: Google Drive Access questions

Post by *Thomas Kimmina »

ghisler(Author) wrote: 2024-11-01, 16:55 UTC 2kinsfubar
Here is a pre-release version of my plugin which will play links via a browser window. Please try it:
https://www.totalcommander.ch/beta/tcandroiddrive243pre.apk

2Thomas Kimmina
Sie benötigen einen Web Browser für das Login. Leider ist Google sehr wählerisch was Browser angeht. Ich würde mal folgende probieren:
https://play.google.com/store/apps/details?id=com.internet.tvbrowser
https://play.google.com/store/apps/details?id=com.phlox.tvwebbrowser
Falls das nicht geht, müssen Sie Chrome oder Firefox als apk installieren (sideload).

English: You need a Web browser to log in to the cloud drive plugin on Android TV. Recommendations above.
DANKE für die Prerelease, leider ohne Erfolg.

Die oben genannten Browser werden nicht erkannt. Desweitern lassen sich die genannten Browser per Sideload nicht installieren unter Android TV-Betriebssystemversion 12.
Ich habe auch noch Edge probiert, der wollte auch nicht.

Eine andere Aalternative vielleicht parat?

LG
Thomas
kinsfubar
Junior Member
Junior Member
Posts: 14
Joined: 2024-10-25, 06:12 UTC

Re: Google Drive Access questions

Post by *kinsfubar »

Oh wow, you did it! I just tested on my BlueStacks emulator on Windows. Total Commander launched a browser and successfully played the video via a Google Drive read-only shortcut file!!

I'll test again later tonight on my Shield TV, but this looks good!
kinsfubar
Junior Member
Junior Member
Posts: 14
Joined: 2024-10-25, 06:12 UTC

Re: Google Drive Access questions

Post by *kinsfubar »

Just tested the new plug-in on my Shield TV, and it works! Good job!! I think Total Commander is the only android app that can play files though a Google Drive shortcut. Excellent!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49594
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Google Drive Access questions

Post by *ghisler(Author) »

2kinsfubar
Thanks for testing! I will also add this as a menu item for files which are not links, but this will require an update of Total Commander itself.

2Thomas Kimmina
Das Pre-release war nicht für Ihr Problem gedacht. Offenbar sollte es gehen, wenn man ihn von einem Desktop-Browser aus dem Play Store installiert:
https://www.googlewatchblog.de/2020/01/android-tv-so-chrome/
Author of Total Commander
https://www.ghisler.com
kinsfubar
Junior Member
Junior Member
Posts: 14
Joined: 2024-10-25, 06:12 UTC

Re: Google Drive Access questions

Post by *kinsfubar »

Excellent! Nice work ghisler!
Thomas Kimmina
Junior Member
Junior Member
Posts: 4
Joined: 2024-11-01, 05:15 UTC

Re: Google Drive Access questions

Post by *Thomas Kimmina »

ghisler(Author) wrote: 2024-11-03, 10:20 UTC 2kinsfubar
Thanks for testing! I will also add this as a menu item for files which are not links, but this will require an update of Total Commander itself.

2Thomas Kimmina
Das Pre-release war nicht für Ihr Problem gedacht. Offenbar sollte es gehen, wenn man ihn von einem Desktop-Browser aus dem Play Store installiert:
https://www.googlewatchblog.de/2020/01/android-tv-so-chrome/
Ich habe per Sideload alle möglichen Browser probiert, leider keine Chance diese zu installieren.
Die anderen werden nicht erkannt, bei creating your own client id geht der Browser auf, nur bei open json file passiert nichts, sprich du hast keine App dafür..

Mir gehen die Ideen aus....
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49594
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Google Drive Access questions

Post by *ghisler(Author) »

2Thomas Kimmina
Bitte folgende Vorabversion ausprobieren:
https://www.totalcommander.ch/beta/tcandroiddrive243pre2.apk
Diese ruft zum Öffnen der JSON-Datei statt ACTION_OPEN_DOCUMENT die Funktion ACTION_GET_CONTENT auf, die u.a. auch vom Total Commander unterstützt wird.
Author of Total Commander
https://www.ghisler.com
Thomas Kimmina
Junior Member
Junior Member
Posts: 4
Joined: 2024-11-01, 05:15 UTC

Re: Google Drive Access questions

Post by *Thomas Kimmina »

Danke

Nun klappt es
User avatar
petermad
Power Member
Power Member
Posts: 15673
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Google Drive Access questions

Post by *petermad »

Today I encountered that I can no longer log in to my Google account.

I get the message:
Please install a current Web Browser like Chrome or Firefox to log in to your account
But chrome is my default browser, and my second browser is Samsung Internet.

My Totalcmd-Drive plugin is version 2.41, My TCA version is 3.60b4

My Chrome version is 131.0.6788.81

After deleting the plugin and reinstalling it, I was allowed to choose between my two browsers and could then login. I am just wondering what could have caused the plugin not to be able to recognize the installed Chrome browser
License #524 (1994)
Danish Total Commander Translator
TC 11.50b8 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1385a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49594
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Google Drive Access questions

Post by *ghisler(Author) »

The plugin was most probably configured to use the internal Web browser which comes with the plugin, which uses WebView2 based on the Edge browser. Google does not allow login via WebView or WebView2, you must use an external browser.
Author of Total Commander
https://www.ghisler.com
Post Reply