[Fire TV Themes and Apps] fbifido:
ReQuest: Feature List

The name of the amazon FTV is like: android-*

1) u can use ping -a <ftv ip> or better use nslookup <ftv-ip> to get the name, with the name saved you can always use nslookup <ftv-name> to get the ip.

2) u can get a list of all installed apps, just filter out the amazon ones, see code below

3) u can generate a list of all the .apk files in apps, as to allow easy access to then in the GUI, and to show if it's already installed, so as to let users uninstalled an app.

4) u can provide a link for up-to-date xbmc or spmc, and show in apps list, so that it can be downloaded and place in the xbmc folder, by your program.

5) can you keep a list of all known working apps, and link to them so as to let users download them, and allow your program to keep this list up-to-date.

I am not good at any type of programming, but copy & paste is a good friend of mine.

ECHO OFF

CLS

powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

CLS

:START

ECHO.

ECHO ...............................................

ECHO SENAXX AMAZON FIRE TV XBMC INSTALLER

ECHO IP_ADDR=%ip%

ECHO ...............................................

ECHO.

ECHO 1 - Install / Upgrade XBMC

ECHO 2 - Install Autopilot

ECHO 3 - Install AnyWhere TV 3.31

ECHO 4 - Install Show BOX

ECHO 5 - Install TWC TV 5.1

ECHO.

ECHO 0 - CUSTOM APPS

ECHO.

ECHO 6 - Uninstall XBMC

ECHO 7 - Exit

ECHO.

ECHO 8 - List all APPS installed on your device

ECHO.

ECHO 9 - Change the Splash Screen

ECHO.

ECHO Please Run XBMC before selection option 9

ECHO.

SET /P M=Type 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9 then press ENTER:

IF %M%==0 GOTO CUSAPP

IF %M%==1 GOTO INSTALL

IF %M%==2 GOTO AUTOPILOT

IF %M%==3 GOTO ANYWHERE

IF %M%==4 GOTO SHOWBOX

IF %M%==5 GOTO TWC

IF %M%==6 GOTO SURE

IF %M%==7 GOTO EOF

IF %M%==8 GOTO APPLIST

IF %M%==9 GOTO SPLASH

GOTO MENU

:INSTALL

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./xbmc/xbmc-*-Gotham-armeabi-v7a.apk

GOTO START

:SURE

SET /P ANSWER1=Are you sure you want to uninstall? (yes/no)?

if /i {%ANSWER1%}=={yes} (goto :UNINSTALL)

if /i {%ANSWER1%}=={y} (goto :UNINSTALL)

if /i {%ANSWER1%}=={no} (goto MENU)

if /i {%ANSWER1%}=={n} (goto MENU)

:UNINSTALL

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb uninstall org.xbmc.xbmc

GOTO START

:AUTOPILOT

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./other/Autopilot.apk

GOTO START

:ANYWHERE

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./other/Anywhere.apk

GOTO START

:SHOWBOX

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./other/showbox.apk

GOTO START

:TWC

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./other/TWC_TV-v5_1.apk

GOTO START

:SPLASH

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb pull /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/splash.png

start /b /wait adb push ./splash1.png /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/splash.png

GOTO START

:APPLIST

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb shell pm list packages -f > ./Applist.txt

GOTO START

:CUSAPP

rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt

start /b /wait adb kill-server

start /b /wait adb start-server

start /b /wait adb connect %ip%

start /b /wait adb install -r ./other/NRB*Network-tv.nrbnetwork.gtv-2-v1.1.apk

start /b /wait adb install -r ./other/Show*Box-com.tdo.showbox-14-v2.9.apk

start /b /wait adb install -r ./other/TBN_Mobile-tbn_mobile.android-5-v3.0.1.apk

start /b /wait adb install -r ./other/Orientation_Manager-com.sachin.orientationmanager-2-v1.01.apk

start /b /wait adb install -r ./other/IROKOtv-com.irokotv-5-v1.4.apk

GOTO START

:MENU

cls

GOTO START

:EOF

exit