Comments (4)
I use the command line because as far as I know that's the only way to do it. There is technically a UI for the screensaver settings with an an option for changing "current screensaver" but if you select that option it only lists Amazon's own app and nothing else so I'm not entirely sure why they even bothered having it there.
In an case I've made the changes and can confirm your screensaver now works again so case closed there, wasn't a bug afterall just my settings were wrong! Thanks very much for the help anyway, I appreciate it. I'll close this when I comment.
from aerialviews.
Sorry to hear that latest build isn't working, nothing was specifically changed but the conversion to Kotlin and some tidying up may have broken something. That said, the code that shows the preview/test and the full screensaver should be the same!
If you can, can you tell me if any of the video formats work? also, what version of Android is the Fire TV 4K running?
from aerialviews.
Hi, thanks for checking this out. I think I've found the issue actually but to answer your questions first I have tried all the video formats and none work, I'm not entirely sure what version of android it uses but it's apparently based on 7.1.2 according to wikipedia.
It occurred to me (not sure why it didn't before) to use logcat and watch the output when the screensaver was supposed to start to see what gets logged and sure enough I got this output after a while:
04-23 20:21:14.377 611 636 I PowerManagerService: Nap time (uid 1000)... 04-23 20:21:14.380 611 636 W DreamManagerService: Dream ComponentInfo{com.amazon.ftv.screensaver/com.amazon.ftv.screensaver.app.services.ScreensaverService:com.codingbuffalo.aerialdream/.AerialDream} does not exist 04-23 20:21:14.381 611 636 W DreamManagerService: Falling back to default dream ComponentInfo{com.codingbuffalo.aerialdream/com.codingbuffalo.aerialdream.AerialDream} 04-23 20:21:14.381 611 636 I DreamManagerService: Entering dreamland. 04-23 20:21:14.381 611 636 I PowerManagerService: Dreaming... 04-23 20:21:14.382 611 629 I DreamController: Starting dream: name=ComponentInfo{com.codingbuffalo.aerialdream/com.codingbuffalo.aerialdream.AerialDream}, isTest=false, canDoze=false, userId=0 04-23 20:21:14.383 611 629 W ActivityManager: Unable to start service Intent { act=android.service.dreams.DreamService flg=0x800000 cmp=com.codingbuffalo.aerialdream/.AerialDream } U=0: not found 04-23 20:21:14.383 611 629 E DreamController: Unable to bind dream service: Intent { act=android.service.dreams.DreamService flg=0x800000 cmp=com.codingbuffalo.aerialdream/.AerialDream } 04-23 20:21:14.383 611 629 I DreamController: Stopping dream: name=ComponentInfo{com.codingbuffalo.aerialdream/com.codingbuffalo.aerialdream.AerialDream}, isTest=false, canDoze=false, userId=0
So I realised that the black screen isn't actually the screensaver; that's just the fire tv turning the screen off after a period of inactivity which it does anyway, the screensaver isn't starting at all because it can't be found for whatever reason according to that log.
To set the screensaver in the settings I used this code;
adb shell settings put secure screensaver_components com.amazon.ftv.screensaver/.app.services.ScreensaverService:com.codingbuffalo.aerialdream/.AerialDream settings put secure screensaver_default_component com.codingbuffalo.aerialdream/.AerialDream
This works for 0.94, but I assume with 0.95 now I need to flesh out the bit after the / if it can't find it, unless something else has changed? I know the actual app name is the same as I found it when I did pm list packages.
Cheers!
from aerialviews.
Ahh, I see the problem. I was also wondering why I didn't have the same issue as I run the builds for weeks at a time to make sure they're stable, etc.
I don't have a Fire TV stick - is there no UI to configure a screensaver, or do you prefer the command line method?
Either way, the name of the screensaver intent (ie. the name of the class that's executed) has changed so your command needs to be updated. It's changed to com.codingbuffalo.aerialdream/.ui.screensaver.DreamActivity
. So I think the new command is...
adb shell settings put secure screensaver_components com.amazon.ftv.screensaver/.app.services.ScreensaverService:com.codingbuffalo.aerialdream/.ui.screensaver.DreamActivity settings put secure screensaver_default_component com.codingbuffalo.aerialdream/.ui.screensaver.DreamActivity
Let me know if that works for you!
I'll add that to the install instructions in future. Also, the name of the app will change in future!
from aerialviews.
Related Issues (20)
- How to set up a server?? HOT 5
- Recursive support for Samba/SMB (subfolders) HOT 13
- Suggestion : custom font and clock and location position HOT 15
- Add own online sources HOT 6
- Weather 3d background at screensaver real time HOT 1
- Any plans to add tvOS 16 & 17 support & videos to the website? HOT 5
- Apple videos not downloading HOT 4
- URI to launch application? HOT 8
- Videos playing not smoothly HOT 9
- Broken link on download page HOT 1
- Stuck on loading HOT 8
- Add option to disable media control button pass-through HOT 2
- Fire Tv Stick 4K Max(2nd gen) not loading AerialViews as ScreenSaver HOT 15
- 4K HDR videos not playing from SMB share HOT 60
- Hope the app supports Chinese HOT 12
- Mute not working for SMB videos HOT 13
- Add to F-Droid repo HOT 4
- Multiple Samba (SMB) Shares HOT 7
- Microsoft's Wallpapers HOT 1
- Bottom of video distorted on mp4 videos. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerialviews.