Opening xbmc with home button on fire stick. - Fire TV Q&A, Help & Troubleshooting

Is there anyway to use llama to simply launch xbmc with the home button without all those additional kill commands etc.

danknasty said:
Is there anyway to use llama to simply launch xbmc with the home button without all those additional kill commands etc.
Click to expand...
Click to collapse
Haven't tried this, but I will: http://unlockfiretv.com/launch-xbmc-from-firetvs-main-screen/

Related

[Q] Calling the screensaver/sleep function

I'm trying to implement the ability to get the FTV to sleep from an XBMC addon. Does anyone know if this is possible?
..
elmerohueso said:
I'm trying to implement the ability to get the FTV to sleep from an XBMC addon. Does anyone know if this is possible?
Click to expand...
Click to collapse
rbox discovered that sending the equivalent of a windows keyboard sleep key press causes the Fire Tv to sleep.
fireTVnews.com said:
rbox discovered that sending the equivalent of a windows keyboard sleep key press causes the Fire Tv to sleep.
Click to expand...
Click to collapse
I would like to point out, it's like a regular android phone sleeping. It's still awake and still responds to adb and whatnot. The light turns off, and the cpu might be downclocked a little, but that's about it.
fireTVnews.com said:
rbox discovered that sending the equivalent of a windows keyboard sleep key press causes the Fire Tv to sleep.
Click to expand...
Click to collapse
Unfortunately, I don't have one of those media keyboards to check this, but can you tell from the XBMC log which keycode and/or command that's binding to? In the official keymap the sleep/power buttons just seem to call ActivateWindow(shutdownmenu) (showing the shutdown menu).
Edit: On second thought, it might be the FTV itself interpreting that button as kicking it into sleep mode, not a command from XBMC doing it.
Edit 2: Yup, think I've got it figured out. I'll test it out tonight.
Edit 3: Tested, working, and released.

Alternative way to turn off FireTv...

I was looking around online to see if there were any alternative ways to turn off the FireTv. I know about the Play/Pause and Select combo, but has anyone heard of this?
This doesnt make any sense to me. If you're using a keyboard/mouse combo ( K400r here ) and you hold Fn+Esc... The FireTv turns off immedately. Both in FireTv screens and XBMC... The white light goes out too... Then click a button on the remote and its instatntly on.
Edited: Also just noticed that on the keyboard, there is a "Power PC'' button at the top that does the same thing...
On my K400r, there is no Fn ( blue lettering ) on the Esc key, so I have no idea whats its actually doing.. Its weird that the FireTV will sleep even in XBMC, which is known as usually not possible ( have to go back to FireTV screen )
mroneeyedboh said:
I was looking around online to see if there were any alternative ways to turn off the FireTv. I know about the Play/Pause and Select combo, but has anyone heard of this?
This doesnt make any sense to me. If you're using a keyboard/mouse combo ( K400r here ) and you hold Fn+Esc... The FireTv turns off immedately. Both in FireTv screens and XBMC... The white light goes out too... Then click a button on the remote and its instatntly on.
Edited: Also just noticed that on the keyboard, there is a "Power PC'' button at the top that does the same thing...
On my K400r, there is no Fn ( blue lettering ) on the Esc key, so I have no idea whats its actually doing.. Its weird that the FireTV will sleep even in XBMC, which is known as usually not possible ( have to go back to FireTV screen )
Click to expand...
Click to collapse
Anything that's interpreted by Android as the POWER button, including the key combinations you mentioned, will put the FTV (or any other Android device) to sleep. I've seen mention of some third-party BT remotes being able to put the FTV to sleep with their POWER button.
If you're rooted, my XBMC repo has a screensaver that can put the FTV to sleep, and also my Confluence++ skin can put it to sleep via the XBMC power menu. Both methods simply simulate a POWER button press.
Good deal bro! Thanks. I'll check it out tonight when I get home
I'm new to the fire.. How can I load just the screensaver? Anyway to just get the screensaver??
mroneeyedboh said:
Good deal bro! Thanks. I'll check it out tonight when I get home
I'm new to the fire.. How can I load just the screensaver? Anyway to just get the screensaver??
Click to expand...
Click to collapse
No, you'll need XBMC.
I have xbmc And I see your skin installed ( bought this aftv setup already by a seller.. ) and I also see the screensaver installed.
It is enabled, but it doesn't activate in xbmc. The skin is also enabled...
mroneeyedboh said:
I have xbmc And I see your skin installed ( bought this aftv setup already by a seller.. ) and I also see the screensaver installed.
It is enabled, but it doesn't activate in xbmc. The skin is also enabled...
Click to expand...
Click to collapse
It only works if you're rooted, and you need to give XBMC root/SU permissions from within the screensaver's settings or the skin's settings.
elmerohueso said:
It only works if you're rooted, and you need to give XBMC root/SU permissions from within the screensaver's settings or the skin's settings.
Click to expand...
Click to collapse
I have all of that. Im rooted, I did the SU check and all...
mroneeyedboh said:
I have all of that. Im rooted, I did the SU check and all...
Click to expand...
Click to collapse
If you have the Power menu enabled in my skin settings, does the Sleep command put your FTV to sleep? If so, then the screensaver should also work fine if you have the settings in my screensaver set to Sleep.
Yeah .. Figured it out . the screensaver was enabled but not selected under the option under settings/appearance. Thanks

Stream running in background / sleep mode

I have set up some fire tv sticks (stock, non-root) with the latest kodi + llama and IP TV. Works pretty well so far. But there is a big problem: often the streams keep running if accidentally the home button is pressed and the fire tv stick got back to homescreen. Even if you put the stick manually in "sleep mode" the stream keeps running in the background (you can her the audio on the tv speaker). How can I fix this?
You could try to set up a Llama rule: when KODI is running and HOME button is pressed then kill KODI.
Well, how to set it up in llama to detect home button press?
Try the following (LLama starts in german on my devices so my translation may not be exact but the meaning should be clear ):
1.) create a new Llama rule
2.) set a new condition for "KODI" but change the default value "is started or in foreground" to "is quit or in background"
3.) kill application "KODI"
What should happen here: as long as KODI runs regulary nothing because it is still in foreground but when the HOME button is pressed KODI should go to the background and here the Llama condition 2.) should be triggered and Llama has to 3.) kill KODI.
thanks for sharing your idea. I set up llama according to your suggestion but unfortunately it not work. The stream is still running in the background, even when you put the fire tv stick manually in sleep mode you can still hear the audio.
If you hold down the home button long enough from the amazon home screen, you'll get option to go to settings>applications>manage applications>kodi>force stop.
TROJAN4EVR said:
If you hold down the home button long enough from the amazon home screen, you'll get option to go to settings>applications>manage applications>kodi>force stop.
Click to expand...
Click to collapse
Well that works but pretty complicated and I am sure my kids won't do that always before they shut off tv.
I observed that on a Fire TV that problem not arises. But on the FTV stick it does. Something must be different with the sleep mode.
In firestarter go to settings and under "home button single click application" select "no action". It worked for me on a stick and fire tv. Ususally its set to FireTV home. I was able to replicate your issue on a stick and fire tv and setting the home button single click application to no action in the firestarter setting worked for me. But keep in mind that kodi will still be running in the background as its only paused. So if you double click home button from the amazon home screen you'll just go back to kodi on a paused screen. Kodi should always be turned off using it's power button or force closed from amazon app settings.

Firestarter worked fine for a week - double-click to launch Kodi stopped working

Not sure what happened or how to fix it. Had Firestarter configured for double click Home to launch Kodi, this no longer works... Either just goes to FireTV home or goes to list of Firestarter list of apps.
Any ideas
cpuken said:
Not sure what happened or how to fix it. Had Firestarter configured for double click Home to launch Kodi, this no longer works... Either just goes to FireTV home or goes to list of Firestarter list of apps.
Any ideas
Click to expand...
Click to collapse
there probably was a firetv software update... may have to remove and re-install firestarter

Assign additional commands to power button

I have recently unlocked and rooted my FTV 4K sticks which is working great with Wolf Launcher.
Something which I have always wanted to do which could now be possible is for the power button on the remote to send an ir command to turn off/ on the tv. But also send a home command to the Fire Stick, this means whatever is playing will pause and the tv will retunr to the main menu, due to the way I stream live tv forgetting to press home is annoying before turning off the tv.
Is this possible not that my sticks are unlocked and rooted? If so can anyone explain what is the best app / method to achieve this?
Thanks in advance
dougie175 said:
I have recently unlocked and rooted my FTV 4K sticks which is working great with Wolf Launcher.
Something which I have always wanted to do which could now be possible is for the power button on the remote to send an ir command to turn off/ on the tv. But also send a home command to the Fire Stick, this means whatever is playing will pause and the tv will retunr to the main menu, due to the way I stream live tv forgetting to press home is annoying before turning off the tv.
Is this possible not that my sticks are unlocked and rooted? If so can anyone explain what is the best app / method to achieve this?
Thanks in advance
Click to expand...
Click to collapse
You can use ADB
Code:
adb shell input keyevent 26
AmznUser444 Dev said:
You can use ADB
Code:
adb shell input keyevent 26
Click to expand...
Click to collapse
Thanks could you expand a little further on this or point me to a topic that may help me understand how to achieve what I am looking to achieve
I am guessing that single command "adb shell input keyevent 26" doesn't make the power button act as a power button as well as a home button just in that simple single line of command?
Thanks very much
The power button is a not programmable beyond powering on and off a tv. It operates on IR. The home button operates on Wifi direct.
Thanks for confirmation. It's a shame but it's what I thought the issue would be

Categories

Resources