Page 2 of 3

Re: Google Drive Access questions

Posted: 2024-10-31, 07:12 UTC
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.

Re: Google Drive Access questions

Posted: 2024-10-31, 10:08 UTC
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 ?

Re: Google Drive Access questions

Posted: 2024-10-31, 12:22 UTC
by kinsfubar
I just tried the test of the m3u8 file in Total Commander and I get a playback error.

Google Drive unter Android Tv?

Posted: 2024-11-01, 05:22 UTC
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

Re: Google Drive Access questions

Posted: 2024-11-01, 16:55 UTC
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.

Re: Google Drive Access questions

Posted: 2024-11-01, 19:17 UTC
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

Re: Google Drive Access questions

Posted: 2024-11-02, 01:51 UTC
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!

Re: Google Drive Access questions

Posted: 2024-11-02, 05:10 UTC
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!

Re: Google Drive Access questions

Posted: 2024-11-03, 10:20 UTC
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/

Re: Google Drive Access questions

Posted: 2024-11-03, 13:12 UTC
by kinsfubar
Excellent! Nice work ghisler!

Re: Google Drive Access questions

Posted: 2024-11-04, 18:26 UTC
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....

Re: Google Drive Access questions

Posted: 2024-11-05, 19:30 UTC
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.

Re: Google Drive Access questions

Posted: 2024-11-09, 13:59 UTC
by Thomas Kimmina
Danke

Nun klappt es

Re: Google Drive Access questions

Posted: 2024-12-02, 04:26 UTC
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

Re: Google Drive Access questions

Posted: 2024-12-02, 09:30 UTC
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.