Good catch! I double checked and that seems to be the name of the package on both platforms.
Make sure the Package Name field in ADBTuner is just com.fubo.firetv.screen
And yeah the folks at Fubo seemingly couldn't be bothered to rename their application package for other platforms.
AH! Switching now...
Ok, I got this working nicely with the NBC app. I thought that I could get the HDhomerun app to run the same way, so I tried it.
I used com.silicondust.view as the package name, and then for the URL I used http://172.16.5.31:5004/auto/v3 which is the channel on the HDhomerun device. I thought it would work, but it did not. It did open a view of the fireTV but on the main page, has anyone been able to open up the HDhomerun app through ADBTuner and switch the channel?
No you have to use ADB Commands to change Channels ...ADBTuner only launches URLS. I use NETPVR and the Script below .... This script works all it needs to be launched is the Channel #. This is the baseline now it is up to Channels DVR users to incorporate probably on HDMI to Channels.
@echo off
setlocal
set device=192.168.50.189:5555
SET PATH=%PATH%;C:\platform-tools\
set first=2.1
SET "var="&for /f "delims=0123456789." %%i in ("%1") do set var=%%i
if defined var (
echo "error: invalid character"
goto :ends
)
set line=
set channel=%1
set /a counter=0
:loop
set /a counter += 1
if %counter% EQU 2 (
set line=%line%;input keyevent
)
set digit=%channel:~0,1%
set channel=%channel:~1%
if "%digit%" NEQ "." (
if "%line%" == "" (
set line=shell input keyevent KEYCODE_%digit%;sleep 1.0
) else (
set line=%line% KEYCODE_%digit%
)
) else (
set line=%line% KEYCODE_PERIOD
)
if NOT "%channel%" == "" goto loop
set channel=%1
if "%channel%" == "%first%" (
set line=%line%;input keyevent 111; sleep 0.25;input keyevent 19 66
) else (
set line=%line%;input keyevent 111; sleep 0.25; input keyevent 66
)
if %counter% gtr 6 (
echo "error: max 6 characters"
goto :ends
)
adb connect %device% >NUL
set ret=%errorlevel%
if "%ret%" NEQ "0" (
echo "error: adb not found"
goto :ends
)
adb -s %device% shell "dumpsys power | grep =Awake" >NUL
set ret=%errorlevel%
if "%ret%" == "1" adb -s %device% shell input keyevent KEYCODE_WAKEUP ; sleep 2
adb -s %device% shell pidof com.silicondust.view >NUL
set ret=%errorlevel%
if "%ret%" == "0" goto home:
rem adb -s %device% shell am force-stop com.silicondust.view >NUL
rem adb -s %device% shell sleep 1
adb -s %device% shell am start -W -n com.silicondust.view/.App >NUL 2>NUL
adb -s %device% shell sleep 10
goto :adbtune
:home
adb -s %device% shell "am start -W -n com.silicondust.view/.App | grep -q WARM"
set ret=%errorlevel%
if "%ret%" == "0" (
adb -s %device% shell sleep 4
)
:adbtune
adb -s %device% shell sleep 0.5; input keyevent 19 19 19;sleep 0.5; input keyevent 21 21 21 66
adb -s %device% %line%
@REM ffmpeg -v panic -re -f dshow -rtbufsize 40M -video_size 1280x720 -framerate 30 -i video="USB3. 0 capture":audio="Digital Audio Interface (USB3. 0 capture)" -vcodec h264_qsv -b:v 4000k -acodec aac -f mpegts -
@REM ffmpeg -v panic -re -i http://172.16.3.60/1.ts -codec copy -f mpegts -
curl -s http://192.168.50.242:8086/8.ts
@REM adb -s %device% shell sleep 5
adb -s %device% shell sleep 1; input keyevent 4; am force-stop com.silicondust.view >NUL
:ends
exit
In hopes of actually being able to watch some of these OTA ATSC 3 channels in the near future, I included some experimental support for the HDHomeRun app in an update I pushed this morning (08/18).
If you want to give it a shot, install the update and enter the full channel number (ex. 11.1) in the URL field (the label will change to Channel Number if you select the HDHomeRun package).
Make sure you have the HDHomeRun app configured to open on the Live TV tab (this is the default).
Example config:
2023/08/18 07:54:19.986797 [ERR] Failed to start stream for ch2000: M3U: 404 Not Found
2023/08/18 07:54:20.044988 [HLS] Couldn't generate stream playlist for ch2000-dANY-ip192.168.50.186: M3U: 404 Not Found
2023/08/18 07:54:20.044988 [HLS] Stopping transcoder session ch2000-dANY-ip192.168.50.186
Where do I put The IP of the device to launch HDHR App on ?
Cool, I'll try it this afternoon.
Hmm.. It should use the Device IP Address for the "Tuner" at the top (Main4). Can you provide the docker logs?
I see HDHR is not Installed on that Device will Install it now sorry about that.
2023-08-18 07:54:13 2023-08-18 14:54:13.920 - server - Reserved tuner 1
2023-08-18 07:54:13 2023-08-18 14:54:13.920 - server - Using tuner id: 1
2023-08-18 07:54:13 2023-08-18 14:54:13.920 - uvicorn.access - 172.17.0.1:38888 - "GET /stream/6 HTTP/1.1" 307
2023-08-18 07:54:13 2023-08-18 14:54:13.929 - server - Tuner: Tuning to FOX 12 on Main4
2023-08-18 07:54:13 2023-08-18 14:54:13.930 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:54:14 2023-08-18 14:54:14.004 - lib.adb - ADB: Connected.
2023-08-18 07:54:14 2023-08-18 14:54:14.004 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:54:14 2023-08-18 14:54:14.059 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:54:14 2023-08-18 14:54:14.088 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:54:14 2023-08-18 14:54:14.088 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:54:14 2023-08-18 14:54:14.166 - server - Released tuner 1
2023-08-18 07:54:14 2023-08-18 14:54:14.166 - server - Tuner: Application (com.silicondust.view) is not installed. Exiting.
2023-08-18 07:54:14 2023-08-18 14:54:14.167 - uvicorn.access - 172.17.0.1:38888 - "GET /stream/1/6 HTTP/1.1" 404
2023-08-18 07:54:14 2023-08-18 14:54:14.606 - server - Reserved tuner 1
2023-08-18 07:54:14 2023-08-18 14:54:14.606 - server - Using tuner id: 1
2023-08-18 07:54:14 2023-08-18 14:54:14.606 - uvicorn.access - 172.17.0.1:38892 - "GET /stream/6 HTTP/1.1" 307
2023-08-18 07:54:14 2023-08-18 14:54:14.615 - server - Tuner: Tuning to FOX 12 on Main4
2023-08-18 07:54:14 2023-08-18 14:54:14.617 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:54:14 2023-08-18 14:54:14.688 - lib.adb - ADB: Connected.
2023-08-18 07:54:14 2023-08-18 14:54:14.688 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:54:14 2023-08-18 14:54:14.746 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:54:14 2023-08-18 14:54:14.774 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:54:14 2023-08-18 14:54:14.775 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:54:14 2023-08-18 14:54:14.857 - server - Released tuner 1
2023-08-18 07:54:14 2023-08-18 14:54:14.857 - server - Tuner: Application (com.silicondust.view) is not installed. Exiting.
2023-08-18 07:54:14 2023-08-18 14:54:14.858 - uvicorn.access - 172.17.0.1:38892 - "GET /stream/1/6 HTTP/1.1" 404
2023-08-18 07:54:15 2023-08-18 14:54:15.946 - server - Reserved tuner 1
2023-08-18 07:54:15 2023-08-18 14:54:15.946 - server - Using tuner id: 1
2023-08-18 07:54:15 2023-08-18 14:54:15.946 - uvicorn.access - 172.17.0.1:38896 - "GET /stream/6 HTTP/1.1" 307
2023-08-18 07:54:15 2023-08-18 14:54:15.955 - server - Tuner: Tuning to FOX 12 on Main4
2023-08-18 07:54:15 2023-08-18 14:54:15.957 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:54:16 2023-08-18 14:54:16.027 - lib.adb - ADB: Connected.
2023-08-18 07:54:16 2023-08-18 14:54:16.027 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:54:16 2023-08-18 14:54:16.100 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:54:16 2023-08-18 14:54:16.137 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:54:16 2023-08-18 14:54:16.137 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:54:16 2023-08-18 14:54:16.214 - server - Released tuner 1
2023-08-18 07:54:16 2023-08-18 14:54:16.215 - server - Tuner: Application (com.silicondust.view) is not installed. Exiting.
2023-08-18 07:54:16 2023-08-18 14:54:16.215 - uvicorn.access - 172.17.0.1:38896 - "GET /stream/1/6 HTTP/1.1" 404
2023-08-18 07:54:16 2023-08-18 14:54:16.646 - server - Reserved tuner 1
2023-08-18 07:54:16 2023-08-18 14:54:16.647 - server - Using tuner id: 1
2023-08-18 07:54:16 2023-08-18 14:54:16.647 - uvicorn.access - 172.17.0.1:38902 - "GET /stream/6 HTTP/1.1" 307
2023-08-18 07:54:16 2023-08-18 14:54:16.658 - server - Tuner: Tuning to FOX 12 on Main4
2023-08-18 07:54:16 2023-08-18 14:54:16.659 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:54:16 2023-08-18 14:54:16.725 - lib.adb - ADB: Connected.
2023-08-18 07:54:16 2023-08-18 14:54:16.725 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:54:16 2023-08-18 14:54:16.779 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:54:16 2023-08-18 14:54:16.805 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:54:16 2023-08-18 14:54:16.805 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:54:16 2023-08-18 14:54:16.882 - server - Released tuner 1
2023-08-18 07:54:16 2023-08-18 14:54:16.882 - server - Tuner: Application (com.silicondust.view) is not installed. Exiting.
2023-08-18 07:54:16 2023-08-18 14:54:16.883 - uvicorn.access - 172.17.0.1:38902 - "GET /stream/1/6 HTTP/1.1" 404
2023-08-18 07:54:17 2023-08-18 14:54:17.959 - server - Reserved tuner 1
2023-08-18 07:54:17 2023-08-18 14:54:17.959 - server - Using tuner id: 1
2023-08-18 07:54:17 2023-08-18 14:54:17.959 - uvicorn.access - 172.17.0.1:38906 - "GET /stream/6 HTTP/1.1" 307
2023-08-18 07:54:17 2023-08-18 14:54:17.974 - server - Tuner: Tuning to FOX 12 on Main4
2023-08-18 07:54:17 2023-08-18 14:54:17.975 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:54:18 2023-08-18 14:54:18.043 - lib.adb - ADB: Connected.
2023-08-18 07:54:18 2023-08-18 14:54:18.043 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:54:18 2023-08-18 14:54:18.108 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:54:18 2023-08-18 14:54:18.136 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:54:18 2023-08-18 14:54:18.136 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:54:18 2023-08-18 14:54:18.212 - server - Released tuner 1
2023-08-18 07:54:18 2023-08-18 14:54:18.213 - server - Tuner: Application (com.silicondust.view) is not installed. Exiting.
2023-08-18 07:54:18 2023-08-18 14:54:18.214 - uvicorn.access - 172.17.0.1:38906 - "GET /stream/1/6 HTTP/1.1" 404
2023-08-18 07:55:20 2023-08-18 14:55:20.886 - uvicorn.access - 172.17.0.1:38912 - "GET / HTTP/1.1" 200
2023-08-18 07:55:20 2023-08-18 14:55:20.929 - uvicorn.access - 172.17.0.1:38912 - "GET /css/style.css?t=1692370520 HTTP/1.1" 200
2023-08-18 07:55:21 2023-08-18 14:55:21.142 - uvicorn.access - 172.17.0.1:38912 - "GET /js/main.js?t=1692370520 HTTP/1.1" 200
2023-08-18 07:55:21 2023-08-18 14:55:21.245 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:55:21 2023-08-18 14:55:21.249 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 07:55:21 2023-08-18 14:55:21.317 - lib.adb - ADB: Connected.
2023-08-18 07:55:21 2023-08-18 14:55:21.317 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 07:55:21 2023-08-18 14:55:21.343 - lib.adb - ADB: Connected.
2023-08-18 07:55:21 2023-08-18 14:55:21.343 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 07:55:21 2023-08-18 14:55:21.376 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 07:55:21 2023-08-18 14:55:21.402 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 07:55:21 2023-08-18 14:55:21.410 - uvicorn.access - 172.17.0.1:38916 - "GET /admin/tuner/installed-packages?_=1692370522539 HTTP/1.1" 200
2023-08-18 07:55:21 2023-08-18 14:55:21.534 - httpx - HTTP Request: GET http://192.168.50.242:8086/6.ts "HTTP/1.1 200 OK"
2023-08-18 07:55:21 2023-08-18 14:55:21.535 - uvicorn.access - 172.17.0.1:38912 - "GET /admin/tuner/metadata?_=1692370522537 HTTP/1.1" 200
2023-08-18 07:59:16 2023-08-18 14:59:16.023 - uvicorn.access - 172.17.0.1:38946 - "GET /channels.m3u HTTP/1.1" 200
2023-08-18 07:59:16 2023-08-18 14:59:16.072 - uvicorn.access - 172.17.0.1:38946 - "GET /channels.m3u HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.053 - uvicorn.access - 172.17.0.1:39010 - "GET / HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.084 - uvicorn.access - 172.17.0.1:39014 - "GET /css/style.css?t=1692371477 HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.085 - uvicorn.access - 172.17.0.1:39010 - "GET /css/bootstrap.min.css HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.102 - uvicorn.access - 172.17.0.1:39014 - "GET /img/adbtuner.svg HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.118 - uvicorn.access - 172.17.0.1:39018 - "GET /js/jquery-3.7.0.min.js HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.128 - uvicorn.access - 172.17.0.1:39022 - "GET /js/bootstrap.bundle.min.js HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.138 - uvicorn.access - 172.17.0.1:39026 - "GET /js/main.js?t=1692371477 HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.176 - uvicorn.access - 172.17.0.1:39030 - "GET /js/mpegts.js HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.300 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 08:11:17 2023-08-18 15:11:17.307 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-18 08:11:17 2023-08-18 15:11:17.312 - uvicorn.access - 172.17.0.1:39018 - "GET /img/favicon.ico HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.504 - lib.adb - ADB: Connected.
2023-08-18 08:11:17 2023-08-18 15:11:17.504 - lib.adb - ADB: 192.168.50.140 - pm list packages -3
2023-08-18 08:11:17 2023-08-18 15:11:17.520 - lib.adb - ADB: Connected.
2023-08-18 08:11:17 2023-08-18 15:11:17.521 - lib.adb - ADB: 192.168.50.140 - dumpsys display
2023-08-18 08:11:17 2023-08-18 15:11:17.584 - lib.adb - ADB: 192.168.50.140 - getprop ro.build.version.release
2023-08-18 08:11:17 2023-08-18 15:11:17.607 - uvicorn.access - 172.17.0.1:39022 - "GET /admin/tuner/installed-packages?_=1692371477255 HTTP/1.1" 200
2023-08-18 08:11:17 2023-08-18 15:11:17.612 - lib.adb - ADB: Android Version: 9.0.
2023-08-18 08:11:17 2023-08-18 15:11:17.681 - httpx - HTTP Request: GET http://192.168.50.242:8086/6.ts "HTTP/1.1 200 OK"
2023-08-18 08:11:17 2023-08-18 15:11:17.862 - uvicorn.access - 172.17.0.1:39030 - "GET /admin/tuner/metadata?_=1692371477253 HTTP/1.1" 200
Thanks!
It looks like you need to install the HDHomeRun app.
Unless it has a different package name. I checked the Chromecast and Fire TV and they both used that name. Let me know if you have something different.
It works thanks a lot ...
I tested both my OTA Tuners and Cable Tuners and they all work.
Ok, so it seems to work somewhat. I figured that it will change the channels correctly if the channels are lets say 3.1, but it will not change it if the channel is 5. It will try, but it just hangs there. A little background, I do have two HDhomeruns running, one is a Prime cable one, which is the ones with the regular channel numbers, and the antenna one is the one with the 3.5 etc channels
I plan on having a mixture of URL and HDHomeRun I guess the best way to do this is to have 2 different Containers ...??
Does 5.0
work by any chance?
I currently don't have active cable service so I can't test on my Prime.
I tried 5.0, and just 5. and neither will change the channel.
Could it be that my firestick is running android 7? It's a 4k, but android 7
I tried just 9 and it worked will try just 5.
Channel 5 did not Change Android 9 it appears no select(enter) was issued.
Nah. I think it might be the way the HDHomeRun app filters the channels when you are entering them by number. The "enter" button does nothing unless there is only one result for the search.
I'm not filtering out letters in the channel number field so you can possibly try call letters (ex. KPXG) or something as the channel number to see if that helps. Edit: this no longer works.
After more testing, you are correct, I checked other channels from 6 to 20s, and they all change. It just won't change channel 5 or channel 3, but other than that it seems to be working.
This will be great. I will purchase a chromecast now, since firestick won't play DRM channels, but I believe chromecast will.