mvysny / photocloud-frame-slideshow

Android Digital Photo Frame
https://www.android-photo-frame.eu
14 stars 1 forks source link

No Autostart on Powerconnect anymore #185

Open Brun059 opened 1 year ago

Brun059 commented 1 year ago

I’m using PhotoCloud for I don’t know how many years – love it.

Lately I had to switch my foto table to a Samsung Tab S6 – and slideshow does not auto-start anymore on power connect.

Samsung Galaxy Tab S6 SM-T860 / Android 12 / UI 4.1.1 / Knox 3.8

mvysny commented 1 year ago

Hi, thank you for reaching out. If I understand correctly, this is not related to #176 (which is about PhotoCloud not starting up on tablet boot up); rather this bug mentions that PhotoCloud doesn't start when the tablet is connected to a power cable.

It could be that Android 11+ changed a bunch of things in this area as well. Could you please go through #176 and try some of the tips mentioned there (and also at https://www.android-photo-frame.eu/faq.html - "Launching PhotoCloud at boot-up time" ) ?

Brun059 commented 1 year ago

Thanks for coming back so quickly. You are correct, it is not about boot time.

I did what I understood from https://github.com/mvysny/photocloud-frame-slideshow/issues/176 and then went to https://github.com/mvysny/photocloud-frame-slideshow/issues/46, having seen the tasker "Send Intent" and put "sk.baka.photoframe.START_SLIDESHOW" note there.

Unfortunately, sending the intent does not start the slideshow although the subsequent test popup appears, The intent does not throw an error (otherwise the task would stop). (to state the obvious, manually starting slideshow works, so those basic settings ought to be ok) Screenshot_20230403_154655_Tasker

But this seams to work :-) Screenshot_20230403_160827_Tasker

mvysny commented 1 year ago

Nice workaround :+1: However, an intent with the sk.baka.photoframe.START_SLIDESHOW action name should definitely work and should be sent to the PhotoCloud app. I'll try the tasker again for myself, but meanwhile, if you have access to your tablet logs, you could check out whether PhotoCloud actually receives the intent and logs something. PhotoCloud should log the PhotoCloudBoot: StartSlideshow received info message, and then should start the slideshow.

Brun059 commented 1 year ago

Sorry, I wouldn't even know how to get at the logfiles :-(

mvysny commented 1 year ago

Sorry, I wouldn't even know how to get at the logfiles :-(

No worries, those logs are unfortunately not easy to obtain. I'll test the tasker myself :+1:

Brun059 commented 1 year ago

Thanks Actually it works better with the "Launch App" workaround than on the old tablet with "auto-start slideshow on power connect". The old way only worked if I closed Photocloud before completely. If I simply grabbed the tablet and used for something else without explicitly closing Photocloud then the slideshow did not restart on power connect. That issues is gone with Launch App. (yet "Auto-start slideshow on power connect" does not work on the S6 anymore, That's the original reason for having this discussion. :smirk: )