[Q] Problem with Llama and FTV - Fire TV Q&A, Help & Troubleshooting

I'm new to using llama, and I'm having a problem getting it to work how I would like. I'm trying to get llama to automatically launch xbmc after it has been in the KFTV Launcher for 1 minute. This works, however, it launches xbmc no matter what I'm doing in the UI. Whether I'm browsing prime movies, or actually watching a show, after 1 minute it will launch xbmc. I want it to launch xbmc after 1 minute of idle time, is there a setting I'm missing? The condition I have set up is if Kftv launcher is the active application, then the action is to run Xbmc after a 1 minute delay. I couldn't find any other settings I coukd tinker with.

Related

XBMC Screensaver after 5mins, suspend after 20mins?

SPMC is setup as launcher, but the FireTV doesn't sleep when SPMC is running. So I have the elmerohueso Screensaver that puts the device to sleep after Xmins. Just wondering if there's any way to have the screensaver come on after just a few minutes, but sleep not happen until later, maybe 20mins etc.?
Thanks.
modstore said:
SPMC is setup as launcher, but the FireTV doesn't sleep when SPMC is running. So I have the elmerohueso Screensaver that puts the device to sleep after Xmins. Just wondering if there's any way to have the screensaver come on after just a few minutes, but sleep not happen until later, maybe 20mins etc.?
Thanks.
Click to expand...
Click to collapse
The latest SPMC allows for Suspend on rooted Android devices. In Settings, set whatever screensaver you want, then in System > Power Saving change your Power Saving mode to Suspend and set the timer for 20 mins. Et voila!
elmerohueso said:
The latest SPMC allows for Suspend on rooted Android devices. In Settings, set whatever screensaver you want, then in System > Power Saving change your Power Saving mode to Suspend and set the timer for 20 mins. Et voila!
Click to expand...
Click to collapse
Oh perfect! Thanks for the quick response.
elmerohueso said:
The latest SPMC allows for Suspend on rooted Android devices. In Settings, set whatever screensaver you want, then in System > Power Saving change your Power Saving mode to Suspend and set the timer for 20 mins. Et voila!
Click to expand...
Click to collapse
Is anyone else having trouble with SPMC 13.3.2's Suspend feature? I have an issue where if I launch Netflix (from SPMC), SPMC will suspend my FireTV after the allotted suspend internal even while Netflix is playing.
Example:
SPMC Suspend set to 15mins
Launch Netflix from SPMC
Watch Netflix for 15mins
FireTV is suspended by SPMC
Anyone else running into this issue or have a workaround that prevents suspend while the FireTV is in use (even if that use isn't XBMC/SPMC)?
TornSack said:
Is anyone else having trouble with SPMC 13.3.2's Suspend feature? I have an issue where if I launch Netflix (from SPMC), SPMC will suspend my FireTV after the allotted suspend internal even while Netflix is playing.
Example:
SPMC Suspend set to 15mins
Launch Netflix from SPMC
Watch Netflix for 15mins
FireTV is suspended by SPMC
Anyone else running into this issue or have a workaround that prevents suspend while the FireTV is in use (even if that use isn't XBMC/SPMC)?
Click to expand...
Click to collapse
Anyone else using SPMC? Is there a better XBMC FireTV solution?
TornSack said:
Is anyone else having trouble with SPMC 13.3.2's Suspend feature? I have an issue where if I launch Netflix (from SPMC), SPMC will suspend my FireTV after the allotted suspend internal even while Netflix is playing.
Example:
SPMC Suspend set to 15mins
Launch Netflix from SPMC
Watch Netflix for 15mins
FireTV is suspended by SPMC
Anyone else running into this issue or have a workaround that prevents suspend while the FireTV is in use (even if that use isn't XBMC/SPMC)?
Click to expand...
Click to collapse
I tested this using Netflix in the same way, and unfortunately while watching netflix the FireTV went onto suspend after 20mins.
modstore said:
I tested this using Netflix in the same way, and unfortunately while watching netflix the FireTV went onto suspend after 20mins.
Click to expand...
Click to collapse
XBMC doesn't have any power settings for Android, so unfortunately I can't test that to compare.
Edit: I just tested XBMC on Windows, and the power saving features (set to "hibernate") do indeed kick in while XBMC is minimized. I'm guessing this may be because the Shutdown Timer functionality may have originally been intended to be used on XBMC appliances. Anyway, I'm sure if a fix gets checked in to XBMC (to only apply the Shutdown Timer if XBMC is active) that it would bubble up into SPMC.
TornSack said:
Anyone else using SPMC? Is there a better XBMC FireTV solution?
Click to expand...
Click to collapse
Yes, I use elmerohueso's screen saver and I never worry about Netflix being cut off or the box not sleeping after 3min (which is my timer).
Ipse_Tase said:
Yes, I use elmerohueso's screen saver and I never worry about Netflix being cut off or the box not sleeping after 3min (which is my timer).
Click to expand...
Click to collapse
I've now done the same Ipse. Hopefully elmerohueso will continue to support, it's a great plug-in.
elmerohueso said:
XBMC doesn't have any power settings for Android, so unfortunately I can't test that to compare.
Edit: I just tested XBMC on Windows, and the power saving features (set to "hibernate") do indeed kick in while XBMC is minimized. I'm guessing this may be because the Shutdown Timer functionality may have originally been intended to be used on XBMC appliances. Anyway, I'm sure if a fix gets checked in to XBMC (to only apply the Shutdown Timer if XBMC is active) that it would bubble up into SPMC.
Click to expand...
Click to collapse
Do you happen to know if there's a bug report for this already? I did a quick search but haven't found one. But don't want to report one if it's a duplicate.
Alternatively, I'm not sure if it's something you would consider, but would it be difficult to offer an option in your screensaver add on, to allow selection of another screensaver at a certain time (5mins or whatever) before getting to the sleep time (20mins etc.)?
modstore said:
Do you happen to know if there's a bug report for this already? I did a quick search but haven't found one. But don't want to report one if it's a duplicate.
Click to expand...
Click to collapse
I added it to the Feature Request forum but not to trac. I'm pretty sure I know what needs to be changed, but I'm having issues with my dev environment. Once I get it working I'll make a pull request (assuming the fix I'm thinking of actually works).
modstore said:
Alternatively, I'm not sure if it's something you would consider, but would it be difficult to offer an option in your screensaver add on, to allow selection of another screensaver at a certain time (5mins or whatever) before getting to the sleep time (20mins etc.)?
Click to expand...
Click to collapse
I think that'd be overly complicating things.
elmerohueso said:
I added it to the Feature Request forum but not to trac. I'm pretty sure I know what needs to be changed, but I'm having issues with my dev environment. Once I get it working I'll make a pull request (assuming the fix I'm thinking of actually works).
I think that'd be overly complicating things.
Click to expand...
Click to collapse
Hi elmerohueso, im currently using your screensaver and ran itno a problem: if i leave the video paused, your screensaver will correctly send the device to sleep, but my usb HDD will stay awake until i stop the movie and let it sleep again. i was trying to edit your python script but its the first time i see python XD. is there a way to send a command to stop video playback right before it goes to sleep?
Volc7 said:
Hi elmerohueso, im currently using your screensaver and ran itno a problem: if i leave the video paused, your screensaver will correctly send the device to sleep, but my usb HDD will stay awake until i stop the movie and let it sleep again. i was trying to edit your python script but its the first time i see python XD. is there a way to send a command to stop video playback right before it goes to sleep?
Click to expand...
Click to collapse
By default, the XBMC screen saver won't actually kick in if a video is paused. However, you can manually set it to do so. I can't actually think of a good reason that someone *wouldn't* want their video stopped once the screensaver kicks in, so I'll see if I can add "Stop Video" as a feature.
elmerohueso said:
By default, the XBMC screen saver won't actually kick in if a video is paused. However, you can manually set it to do so. I can't actually think of a good reason that someone *wouldn't* want their video stopped once the screensaver kicks in, so I'll see if I can add "Stop Video" as a feature.
Click to expand...
Click to collapse
Awesomesauce
Volc7 said:
Awesomesauce
Click to expand...
Click to collapse
I'm pushing the 2.8 screensaver update to my repo now. XBMC should automatically pull it down within 24 hours. It now has a setting to "Stop Paused Video" (remember to set it, it's off by default).
The biggest issue was that any call that manipulates the Player (ie. stopping a video) will kick XBMC out of the screensaver. I got around that (hopefully) by calling ActivateScreensaver after stopping the video, basically starting the screensaver again (1st pass - stops the video, 2nd pass - runs whatever power call you chose).
Great ill test it as soon as im able to get it
just tested it.works peftectly so far. xbmc correctly stops the video, goes to sleep and a few mins later my harddrive sleeps too. thanks you!
Volc7 said:
just tested it.works peftectly so far. xbmc correctly stops the video, goes to sleep and a few mins later my harddrive sleeps too. thanks you!
Click to expand...
Click to collapse
Glad to hear it.

[Q] AFTV Sleepmode while in SPMC

Hi,
I am using SPMC 13.3.3 (2014/10/26):
Preliminary support for Android TV
Allow sleep and Daydream to kick in (e.g. on Amazon Fire TV)
I was wondering if anyone knew if there was a way to disable sleep mode?
Or if someone can confirm while in sleep mode if my application on my server send API notifications to SPMC will SPMC get the notification? I normally keep one of my XBMC clients on and have nzbdrone/couchpotato add it to the library once it's processed this way the XBMC client updates MySQL db for all clients
Tweek- said:
Hi,
I am using SPMC 13.3.3 (2014/10/26):
Preliminary support for Android TV
Allow sleep and Daydream to kick in (e.g. on Amazon Fire TV)
I was wondering if anyone knew if there was a way to disable sleep mode?
Or if someone can confirm while in sleep mode if my application on my server send API notifications to SPMC will SPMC get the notification? I normally keep one of my XBMC clients on and have nzbdrone/couchpotato add it to the library once it's processed this way the XBMC client updates MySQL db for all clients
Click to expand...
Click to collapse
It shouldn't make a difference as long as you don't have XBMC on a timer to log out or close...
http://www.aftvnews.com/overview-of-fire-tv-software-update-51-1-4-1_user_514013920/
Forced Sleep Option
A new “Sleep” option has been added in the Settings menu under the System section. Selecting the option causes the Fire TV to immediately enter sleep mode, which it normally enters on its own after 30 minutes of inactivity. The option is actually a bit of a placebo since the only difference between the Fire TV being on and being asleep is no video signal. The Fire TV uses the same amount of power, about 1-2 watts, being on and idle as it does being in sleep mode.
Click to expand...
Click to collapse
Y314K said:
It shouldn't make a difference as long as you don't have XBMC on a timer to log out or close...
http://www.aftvnews.com/overview-of-fire-tv-software-update-51-1-4-1_user_514013920/
Click to expand...
Click to collapse
of awesome thanks for the information this is great news for me

SPMC and Kodi sleeping

i am still on a learning curve with the AFTV as come from using a Rpi after many years so know xbmc/kodi pretty well and now love being able to use the better skins
so my AFTV is pretty new and has the latest FW so i am unable to root, so anyway i side loaded SPMC 13.4.0 and after set-up very happy with it and the speed is amazing compared to the Rpi
anyway decided to also side load Kodi 14.1 (as read they can both be loaded without conflicting) again after setting up happy again (and prefer to use the Kodi set-up) SPMC is still loaded just in case tho
anyhow 1 thing i have noticed is that if SPMC was left in the menus ect or SPMC's home screen the screen saver DIM would kick in as it should after 3 mins and also after the 30 mins (approx) it would send the AFTV to sleep and once woken up it would be where i left it (this i really like)
but since using Kodi the screen saver DIM kicks in a it should but the AFTV will not sleep ( i have since set it up to quit Kodi after x mins so the AFTV will then sleep after the given 30 mins on AFTV home screen_ but upon waking its on the AFTV hoe screen
my question is why does SPMC sleep ok when its left within SPMC but Kodi not?
also due to having Kodi quit to get back to AFTV home screen to enable it to sleep. daft question i know but am i correct in saying the sceduealed auto updates and backups i set up will not work due to Kodi not running)
also great forum with loads of info
baz2011uk said:
i am still on a learning curve with the AFTV as come from using a Rpi after many years so know xbmc/kodi pretty well and now love being able to use the better skins
so my AFTV is pretty new and has the latest FW so i am unable to root, so anyway i side loaded SPMC 13.4.0 and after set-up very happy with it and the speed is amazing compared to the Rpi
anyway decided to also side load Kodi 14.1 (as read they can both be loaded without conflicting) again after setting up happy again (and prefer to use the Kodi set-up) SPMC is still loaded just in case tho
anyhow 1 thing i have noticed is that if SPMC was left in the menus ect or SPMC's home screen the screen saver DIM would kick in as it should after 3 mins and also after the 30 mins (approx) it would send the AFTV to sleep and once woken up it would be where i left it (this i really like)
but since using Kodi the screen saver DIM kicks in a it should but the AFTV will not sleep ( i have since set it up to quit Kodi after x mins so the AFTV will then sleep after the given 30 mins on AFTV home screen_ but upon waking its on the AFTV hoe screen
my question is why does SPMC sleep ok when its left within SPMC but Kodi not?
also due to having Kodi quit to get back to AFTV home screen to enable it to sleep. daft question i know but am i correct in saying the sceduealed auto updates and backups i set up will not work due to Kodi not running)
also great forum with loads of info
Click to expand...
Click to collapse
I'm not expert, but I believe it's because SPMC is specifically designed for AFTV, while Kodi is for more general android devices. You may want to look into AFTVtweaks (for XBMC/Kodi), that are floating around as a zip files somewhere on these forums, though I am not positive if they updated for Kodi yet.

Anyone notice how fast aftv goes to sleep?

Lots of users have experienced issues getting aftv to auto sleep. For me the workaround was to set screensaver time to "never". But now with the latest update i noticed both my aftvs are quick to sleep when its left idling. Actually this is true even if i dont force quit kodi.
I went into display settings and noticed theyve been altered --screensaver time is 5 mins.
Maybe its my imagination but it seems to sleep with less than 5 mins idle time. It now sort of acts like my phone--screen goes black if im not using it.
Im not complaining. I just think its interesting theyd find this necessary at amazon. There is no battery to conserve. Anyone have any theories on why this was fixed/modified with the latest firmware?
Some time several months back I recall reading a post from a Fire TV user in Germany, whose Fire TV wouldn't go to sleep. He was reporting that during non-sleep it was drawing excessive power. This was an issue for him because of the cost of electricity.
My best guess is that it's for energy conservation, for the Fire TV at least and in some cases for the TV. I imagine some TVs will turn off automatically after some time with a blank screen, and some TVs (such as mine) will automatically turn on when the Fire TV is woken up.
MetalMan2 said:
Some time several months back I recall reading a post from a Fire TV user in Germany, whose Fire TV wouldn't go to sleep. He was reporting that during non-sleep it was drawing excessive power. This was an issue for him because of the cost of electricity.
My best guess is that it's for energy conservation, for the Fire TV at least and in some cases for the TV. I imagine some TVs will turn off automatically after some time with a blank screen, and some TVs (such as mine) will automatically turn on when the Fire TV is woken up.
Click to expand...
Click to collapse
Just doing some routine maintenance today, I launched es task manager and was fiddling trying to get my wireless mouse to work (wound up needing new battery). In a very short span--no more than 5 mins, aftv went to sleep 3 times. This to me is a good thing. Its conserving power like most modern devices should. I'm just curious as to why amazon chose to address this now. Optimistically I'm hoping they just want a more power efficient product for their consumers, but wondering if there's anything that made this necessary? If maybe those long periods without sleep could potentially wear it out now that one of my aftvs is reaching its first birthday.
KLit75 said:
Just doing some routine maintenance today, I launched es task manager and was fiddling trying to get my wireless mouse to work (wound up needing new battery). In a very short span--no more than 5 mins, aftv went to sleep 3 times. This to me is a good thing. Its conserving power like most modern devices should. I'm just curious as to why amazon chose to address this now. Optimistically I'm hoping they just want a more power efficient product for their consumers, but wondering if there's anything that made this necessary? If maybe those long periods without sleep could potentially wear it out now that one of my aftvs is reaching its first birthday.
Click to expand...
Click to collapse
You could try an app I use on all my Android devices. It's called Screen Timeout, and it's in the Playstore. You can place a shortcut on the desktop and click whenever you want to keep the screen from timing out on you. I combined it with Pie Control and can access it from within any app by moving my mouse the side of the screen and clicking to bring up the app, then sliding over to select the Screen Timeout app. Both apps work very well, plus the Pie Control app also has a clock feature so you can see what time it is. The only downside is the clock also has a battery display you can't get rid of, but it's pretty tiny.

How to prevent standby on FireTV without disabling screensaver?

The Fire TV stick default screensaver has some of the most beautiful landscape pictures I have ever seen. The transitions between them are also super fluid. On some events like a party I would like to display it all the time, basically using my big screen TV as a photo gallery. Unfortunately it's not that easy.
I have connected to the Fire TV stick via ADB to set the screensaver to 1 minute:
adb shell settings put system screen_off_timeout 60000
This works well, after 1 minute of idling the screensaver is shown (In the UI lowest value is 5 minutes).
Unfortunately FireTV will show the screensaver only for about 15 minutes and then turn the screen off! :crying:
Is there a way to prevent it?
I have sideloaded the Wake Lock Powermanager to the stick:
https://apkpure.com/wake-lock-powermanager/eu.thedarken.wl
If I activate the screen lock, Fire TV doesn't go to standby anymore, but unfortunately the screensaver is disabled.
Is there any other way?
It requires root access.
http://www.aftvnews.com/how-to-set-a-custom-sleep-time-on-a-rooted-fire-tv-or-fire-tv-stick/
Sharky444 said:
The Fire TV stick default screensaver has some of the most beautiful landscape pictures I have ever seen. The transitions between them are also super fluid. On some events like a party I would like to display it all the time, basically using my big screen TV as a photo gallery. Unfortunately it's not that easy.
I have connected to the Fire TV stick via ADB to set the screensaver to 1 minute:
adb shell settings put system screen_off_timeout 60000
This works well, after 1 minute of idling the screensaver is shown (In the UI lowest value is 5 minutes).
Unfortunately FireTV will show the screensaver only for about 15 minutes and then turn the screen off! :crying:
Is there a way to prevent it?
I have sideloaded the Wake Lock Powermanager to the stick:
https://apkpure.com/wake-lock-powermanager/eu.thedarken.wl
If I activate the screen lock, Fire TV doesn't go to standby anymore, but unfortunately the screensaver is disabled.
Is there any other way?
Click to expand...
Click to collapse
Bevnrick said:
It requires root access.
http://www.aftvnews.com/how-to-set-a-custom-sleep-time-on-a-rooted-fire-tv-or-fire-tv-stick/
Click to expand...
Click to collapse
Thanks to Mattgyver83 over @ RedIt & Thanks to @Axecaster for the RedIt link:
https://www.reddit.com/r/fireTV/comments/4jc22o/nonroot_prevent_sleep_on_fireos5/
So basically this different/optional setting might also work for non-Rooted devices on the latest or any past FW. But someone on a non-Rooted device will have to confirm that. Please post your result & FW version. Also someone can try to use a value of "0" to see if that turns the timeout completely off like with other mods.
ChrisDL over in the comments @ AFTVNews.com tested the "0" value & it worked as a Never Sleep value.
Note: The Mattgyver83 Reddit option seems to be much cleaner & fully functional. I would recommend you try that one first.
And not we have an awesome AIO Guide with explanations thanks to Elias aka @AFTVnews.com .
http://www.aftvnews.com/how-to-set-...-on-the-amazon-fire-tv-or-stick-without-root/
Make sure you read the comments. There are a bit more details there.
Also someone mentioned it was not working for them on a FTVS1. Although the AppStarter setting was working for them. I hope some more of you can test the ADB input method to get the whole picture.
This non-root solution does work with a value of 0:
https://www.reddit.com/r/fireTV/comments/4jc22o/nonroot_prevent_sleep_on_fireos5/
Other solutions do not work.

Categories

Resources