ADBTuner: A "channel tuning" application for networked Google TV / Android TV devices

This one is relatively inexpensive and works fine. Link Pi is mentioned fairly often here. This one is even cheaper and should work fine - it just doesn't have HDMI out, so it may be a bit annoying to set up initially. I also have this 4K one that worked great right out of the box, but is also more expensive. I suspect that any HDMI/IPTV encoder that you find on Amazon would do it.

Go with the link pi, you will be happy..

I have two LinkPis and the screenshots and forum posts make them easy to setup. Working flawless.

Until recently I had this working with direct links using the DirecTV app on Fire sticks. However there's a new directv app update and it no longer plays nice with ADBTuner. It seems like the links work but only if the app is already open. I tried disabling compatibility mode which sends the link and changes the channel but ADBTuner isn't detecting there is a stream. Anybody with any ideas on a fix?

Just recently switched back from Fubo to using ADB. I recorded Monday Night Raw tonight on SyFy. It seems like it has a darker look to the feed or darker tint of black. It doesn’t seem like it’s coming from the encoder. Also, when it tunes to the channel I don’t remember it keeping up the NBC logo, LIVE logo, and the profile logo. I have to get it to go away with my remote. Any ideas as to why this would be happening? I don’t remember this happening before.

1 Like

I use DTV with deeplinks as well, via the ah4c project, and saw the same issue materialize with this latest app update. I've got it working with ah4c, but this new requirement to have the app running first may make this out-of-scope for ADBTuner. I'm not aware of any other app behaving this way with deeplinks.

1 Like

Posted also in AndroidHDMI, but this may be a better place. Does anyone have the deeplinks figured out for the Paris Extras 1 and 2 channels on the nbc app? I'd like to put them in ADBTuner.

I am so lost. I have everything connected, and I think configured, but it doesn't work. I have Philo installed and logged in on the FireStick. Developer mode enabled. Everything has a DHCP reservation and is pulling the correct IP addresses. Everything is in the same BD. I see the tuner go into in-use, but nothing ever streams. I keep seeing the Fire Stick go into no signal on the LinkPi under overlay. LinkPi is running 3.2.0. I have no idea how to try to pull it up under VLC.

Do you have USB Debugging enabled on the FireSticks?

I didn't, but now I do. I kept getting a message on the FireStick to trust the computer, but it would pop up again every time I selected always trust this computer. Rebooted the FireStick, and I can see it tuning to the station, but I'm still not getting the stream in Channels.

How do you have your custom channels source setup in CDVR? Can you post a screenshot?

1 Like

Some improvement, but not quite there yet.

What are you seeing in the CDVR logs when you try to tune to a station? And, Portainer (assuming you're using it) logs for the ADBTuner container following an attempted channel tune?

Just running Docker.

Channels logs:

2024/08/03 20:18:23.533780 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:23.533814 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:23.533847 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:18:37.209243 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: HLS: 901 Tuner Unreachable: Could not tune to ch10225 after 12s
2024/08/03 20:18:37.209435 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:18:37.234513 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:37.277598 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:37.277640 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:37.277674 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:18:37.299441 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:37.299484 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:37.299530 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:18:37.299483 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:50.318337 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: HLS: 901 Tuner Unreachable: Could not tune to ch10225 after 12s
2024/08/03 20:18:50.318444 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:18:50.349752 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:50.375668 [ERR] Failed to start stream for ch10225: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:50.375703 [HLS] Couldn't generate stream playlist for ch10225-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592: GET: http://10.255.51.101:5592/stream/20: 404 Not Found
2024/08/03 20:18:50.375738 [HLS] Stopping transcoder session ch10225-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:25:50.961223 [ERR] Failed to start stream for ch10227: M3U: Could not fetch playlist from 10.255.51.101:5592 (Timeout): Get "http://10.255.51.101:5592/stream/3/26": net/http: timeout awaiting response headers
2024/08/03 20:25:50.962070 [HLS] Couldn't generate stream playlist for ch10227-dANY-ip10.255.51.212: M3U: Could not fetch playlist from 10.255.51.101:5592 (Timeout): Get "http://10.255.51.101:5592/stream/3/26": net/http: timeout awaiting response headers
2024/08/03 20:25:50.962119 [HLS] Stopping transcoder session ch10227-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:26:02.972972 [HLS] Couldn't generate stream playlist for ch10227-dANY-ip10.255.51.212: HLS: 901 Tuner Unreachable: Could not tune to ch10227 after 12s
2024/08/03 20:26:02.973135 [HLS] Stopping transcoder session ch10227-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:26:04.976890 [ERR] Failed to start stream for ch10227: M3U: Could not fetch playlist from 10.255.51.101:5592 (Timeout): Get "http://10.255.51.101:5592/stream/2/26": net/http: timeout awaiting response headers
2024/08/03 20:26:09.856839 [HLS] Stopping transcoder session ch10227-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:26:18.981394 [ERR] Failed to start stream for ch10227: M3U: Could not fetch playlist from 10.255.51.101:5592 (Timeout): Get "http://10.255.51.101:5592/stream/3/26": net/http: timeout awaiting response headers
2024/08/03 20:26:21.862274 [HLS] Couldn't generate stream playlist for ch10227-dANY-ip10.255.51.212: HLS: 901 Tuner Unreachable: Could not tune to ch10227 after 12s
2024/08/03 20:26:21.862337 [HLS] Stopping transcoder session ch10227-dANY-ip10.255.51.212 (out=0s finished=false first_seq=0 last_seq=-1)
2024/08/03 20:26:32.986380 [ERR] Failed to start stream for ch10227: M3U: Could not fetch playlist from 10.255.51.101:5592 (Timeout): Get "http://10.255.51.101:5592/stream/1/26": net/http: timeout awaiting response headers`Preformatted text`

Docker logs:

2024-08-03 20:26:18 2024-08-04 00:26:18.985 - server - Name: HDMI-2-FireStick Priority: 
2024-08-03 20:26:18 2024-08-04 00:26:18.985 - server - Selecting random tuner
2024-08-03 20:26:18 2024-08-04 00:26:18.985 - server - Reserved Tuner: Name: HDMI-1-FireStick Priority: 
2024-08-03 20:26:18 2024-08-04 00:26:18.985 - server - Using tuner id: 1 for stream.
2024-08-03 20:26:18 2024-08-04 00:26:18.985 - uvicorn.access - 192.168.65.1:47063 - "GET /stream/26 HTTP/1.1" 307
2024-08-03 20:26:18 2024-08-04 00:26:18.987 - server - Tuner: Tuning to METV Toons on HDMI-1-FireStick
2024-08-03 20:26:18 2024-08-04 00:26:18.988 - lib.adb - ADB: Connecting to device (attempt 1).
2024-08-03 20:26:19 2024-08-04 00:26:19.026 - lib.adb - ADB: Connected.
2024-08-03 20:26:19 2024-08-04 00:26:19.026 - lib.adb - ADB: 10.255.51.55 - settings list global
2024-08-03 20:26:19 2024-08-04 00:26:19.079 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-08-03 20:26:19 2024-08-04 00:26:19.079 - lib.adb - ADB: 10.255.51.55 - dumpsys display
2024-08-03 20:26:19 2024-08-04 00:26:19.118 - lib.adb - ADB: 10.255.51.55 - getprop ro.build.version.release
2024-08-03 20:26:19 2024-08-04 00:26:19.146 - lib.adb - ADB: Android Version: 11.0.
2024-08-03 20:26:19 2024-08-04 00:26:19.146 - lib.adb - ADB: 10.255.51.55 - input keyevent KEYCODE_WAKEUP
2024-08-03 20:26:19 2024-08-04 00:26:19.440 - lib.adb - Checking for profile screen
2024-08-03 20:26:20 2024-08-04 00:26:20.325 - lib.adb - ADB: 10.255.51.55 - pm list packages -3
2024-08-03 20:26:20 2024-08-04 00:26:20.427 - lib.adb - ADB: 10.255.51.55 - pm list packages -3
2024-08-03 20:26:20 2024-08-04 00:26:20.505 - lib.adb - ADB: 10.255.51.55 - pidof com.philo.philo
2024-08-03 20:26:20 2024-08-04 00:26:20.566 - lib.adb - ADB: Stopping media playback.
2024-08-03 20:26:20 2024-08-04 00:26:20.566 - lib.adb - ADB: 10.255.51.55 - input keyevent KEYCODE_MEDIA_STOP
2024-08-03 20:26:21 2024-08-04 00:26:21.397 - server - Tuner: Compatibility Mode - Stream released after 16.41 seconds. Display was on, application (com.philo.philo) was closed.
2024-08-03 20:26:21 2024-08-04 00:26:21.397 - lib.adb - ADB: Closing connection - 10.255.51.57
2024-08-03 20:26:21 2024-08-04 00:26:21.397 - server - http disconnect
2024-08-03 20:26:21 2024-08-04 00:26:21.399 - lib.adb - ADB: Connecting to device (attempt 1).
2024-08-03 20:26:21 2024-08-04 00:26:21.406 - root - Tuner: Stream open (attempt 1).
2024-08-03 20:26:21 2024-08-04 00:26:21.436 - httpx - HTTP Request: GET http://10.255.51.50:8090/stream2 "HTTP/1.0 200 OK"
2024-08-03 20:26:21 2024-08-04 00:26:21.445 - lib.adb - ADB: Connected.
2024-08-03 20:26:21 2024-08-04 00:26:21.446 - lib.adb - ADB: 10.255.51.57 - settings list global
2024-08-03 20:26:21 2024-08-04 00:26:21.484 - root - Using https://www.philo.com/player/player/channel/Q2hhbm5lbDo2MDg1NDg4OTk2NDg0Mzk4MTQ to load channel.
2024-08-03 20:26:21 2024-08-04 00:26:21.485 - lib.adb - ADB: 10.255.51.55 - am start -a android.intent.action.VIEW -d "https://www.philo.com/player/player/channel/Q2hhbm5lbDo2MDg1NDg4OTk2NDg0Mzk4MTQ" com.philo.philo
2024-08-03 20:26:21 2024-08-04 00:26:21.548 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-08-03 20:26:21 2024-08-04 00:26:21.549 - lib.adb - ADB: Stopping media playback.
2024-08-03 20:26:21 2024-08-04 00:26:21.549 - lib.adb - ADB: 10.255.51.57 - input keyevent KEYCODE_MEDIA_STOP
2024-08-03 20:26:21 2024-08-04 00:26:21.616 - server - Tuner: Waiting 5 seconds to allow sleeping device to setup.
2024-08-03 20:26:22 2024-08-04 00:26:22.523 - lib.adb - ADB: 10.255.51.57 - input keyevent KEYCODE_MEDIA_PAUSE
2024-08-03 20:26:23 2024-08-04 00:26:23.531 - lib.adb - ADB: Force stopping com.philo.philo.
2024-08-03 20:26:23 2024-08-04 00:26:23.531 - lib.adb - ADB: 10.255.51.57 - am force-stop com.philo.philo
2024-08-03 20:26:23 2024-08-04 00:26:23.579 - lib.adb - ADB: Closing connection - 10.255.51.57
2024-08-03 20:26:23 2024-08-04 00:26:23.579 - server - Released tuner ID: 3
2024-08-03 20:26:23 2024-08-04 00:26:23.579 - server - Tuner: Cleanup complete. HDMI-3-FireStick (METV Toons)
2024-08-03 20:26:29 2024-08-04 00:26:29.619 - lib.adb - Checking for profile screen
2024-08-03 20:26:32 2024-08-04 00:26:32.478 - lib.adb - Checking for profile screen
2024-08-03 20:26:34 2024-08-04 00:26:34.406 - lib.adb - Checking for profile screen
2024-08-03 20:26:36 2024-08-04 00:26:36.411 - lib.adb - Checking for profile screen
2024-08-03 20:26:38 2024-08-04 00:26:38.408 - lib.adb - Checking for profile screen
2024-08-03 20:26:40 2024-08-04 00:26:40.309 - server - Tuner: Compatibility Mode - Stream released after 21.32 seconds. Display was off, application (com.philo.philo) was closed.
2024-08-03 20:26:40 2024-08-04 00:26:40.309 - lib.adb - ADB: Closing connection - 10.255.51.55
2024-08-03 20:26:40 2024-08-04 00:26:40.310 - server - http disconnect
2024-08-03 20:26:40 2024-08-04 00:26:40.311 - lib.adb - ADB: Connecting to device (attempt 1).
2024-08-03 20:26:40 2024-08-04 00:26:40.316 - root - Tuner: Stream open (attempt 1).
2024-08-03 20:26:40 2024-08-04 00:26:40.345 - httpx - HTTP Request: GET http://10.255.51.50:8090/stream0 "HTTP/1.0 200 OK"
2024-08-03 20:26:40 2024-08-04 00:26:40.348 - lib.adb - ADB: Connected.
2024-08-03 20:26:40 2024-08-04 00:26:40.348 - lib.adb - ADB: 10.255.51.55 - settings list global
2024-08-03 20:26:40 2024-08-04 00:26:40.407 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-08-03 20:26:40 2024-08-04 00:26:40.407 - lib.adb - ADB: Stopping media playback.
2024-08-03 20:26:40 2024-08-04 00:26:40.407 - lib.adb - ADB: 10.255.51.55 - input keyevent KEYCODE_MEDIA_STOP
2024-08-03 20:26:41 2024-08-04 00:26:41.464 - lib.adb - ADB: 10.255.51.55 - input keyevent KEYCODE_MEDIA_PAUSE
2024-08-03 20:26:42 2024-08-04 00:26:42.689 - lib.adb - ADB: Force stopping com.philo.philo.
2024-08-03 20:26:42 2024-08-04 00:26:42.689 - lib.adb - ADB: 10.255.51.55 - am force-stop com.philo.philo
2024-08-03 20:26:42 2024-08-04 00:26:42.747 - lib.adb - ADB: Closing connection - 10.255.51.55
2024-08-03 20:26:42 2024-08-04 00:26:42.748 - server - Released tuner ID: 1
2024-08-03 20:26:42 2024-08-04 00:26:42.748 - server - Tuner: Cleanup complete. HDMI-1-FireStick (METV Toons)`Preformatted text`

Are you able to view an M3U through your browser at 10.255.51.101:5592/channels.m3u?

This is what I get:

#EXTM3U



#EXTINF:-1 channel-id="156405509268078344709463733098189145974" channel-number="1001" tvc-guide-stationid="10035",AETV
http://10.255.51.101:5592/stream/1



#EXTINF:-1 channel-id="246341172648294384759855701077097102537" channel-number="1002" tvc-guide-stationid="10021",AMC
http://10.255.51.101:5592/stream/2



#EXTINF:-1 channel-id="177518295486016220171055336852948586801" channel-number="1003" tvc-guide-stationid="18284",AHC
http://10.255.51.101:5592/stream/3



#EXTINF:-1 channel-id="174292723523010485230130068136996569076" channel-number="1004" tvc-guide-stationid="16331",Animal Planet
http://10.255.51.101:5592/stream/4



#EXTINF:-1 channel-id="201975514874389067943839034311312500445" channel-number="1005" tvc-guide-stationid="18332",BBC America
http://10.255.51.101:5592/stream/5



#EXTINF:-1 channel-id="59368483282857551053334988183046732437" channel-number="1006" tvc-guide-stationid="91415",Catchy Comedy
http://10.255.51.101:5592/stream/6



#EXTINF:-1 channel-id="139644481314944069091612899025700568083" channel-number="1007" tvc-guide-stationid="10138",CMT
http://10.255.51.101:5592/stream/7



#EXTINF:-1 channel-id="1947840918793290435038314268634514040" channel-number="1008" tvc-guide-stationid="10149",Comedy Central
http://10.255.51.101:5592/stream/8



#EXTINF:-1 channel-id="190804729035069499911230623108511129880" channel-number="1009" tvc-guide-stationid="30156",The Cooking Channel
http://10.255.51.101:5592/stream/9



#EXTINF:-1 channel-id="290500379498213566597183458658641467424" channel-number="1010" tvc-guide-stationid="16617",Destination America
http://10.255.51.101:5592/stream/10



#EXTINF:-1 channel-id="306332297556369736039548596960439700518" channel-number="1011" tvc-guide-stationid="12574",Food
http://10.255.51.101:5592/stream/11



#EXTINF:-1 channel-id="111806731688410330287457628882288763030" channel-number="1012" tvc-guide-stationid="11221",Hall
http://10.255.51.101:5592/stream/12



#EXTINF:-1 channel-id="283999591219566251265590241727838602328" channel-number="1013" tvc-guide-stationid="105723",HFM
http://10.255.51.101:5592/stream/13



#EXTINF:-1 channel-id="309442151498775931754528083693509672810" channel-number="1014" tvc-guide-stationid="46710",HMYS
http://10.255.51.101:5592/stream/14



#EXTINF:-1 channel-id="148940174689348545927578347250219077734" channel-number="1015" tvc-guide-stationid="110477",HERICN
http://10.255.51.101:5592/stream/15



#EXTINF:-1 channel-id="173805944614296378690403754170776270054" channel-number="1016" tvc-guide-stationid="14902",HGTV
http://10.255.51.101:5592/stream/16



#EXTINF:-1 channel-id="339370429602699659180535443246690907049" channel-number="1017" tvc-guide-stationid="43362",HIST
http://10.255.51.101:5592/stream/17



#EXTINF:-1 channel-id="123930062340526074155180161673585261756" channel-number="1018" tvc-guide-stationid="10918",LIFE
http://10.255.51.101:5592/stream/18



#EXTINF:-1 channel-id="284488659559511251312864996417901878687" channel-number="1019" tvc-guide-stationid="18480",LMN
http://10.255.51.101:5592/stream/19



#EXTINF:-1 channel-id="26065116874450547769218239988379830638" channel-number="1020" tvc-guide-stationid="70436",METV
http://10.255.51.101:5592/stream/20



#EXTINF:-1 channel-id="329217139134317735005256832746790997213" channel-number="1021" tvc-guide-stationid="119266",METV+
http://10.255.51.101:5592/stream/22



#EXTINF:-1 channel-id="55264774484871880420430561127933102281" channel-number="1022" tvc-guide-stationid="159817",METV Toons
http://10.255.51.101:5592/stream/26



#EXTINF:-1 channel-id="179912282120723632906024779858793483847" channel-number="1023" tvc-guide-stationid="48999",MILH
http://10.255.51.101:5592/stream/23



#EXTINF:-1 channel-id="35803009216317611700098930446879282879" channel-number="1024" tvc-guide-stationid="59186",PAR
http://10.255.51.101:5592/stream/24



#EXTINF:-1 channel-id="267283675712676182587807198280364997752" channel-number="1025" tvc-guide-stationid="57390",SCI
http://10.255.51.101:5592/stream/25



Are you able to play the above URL in VLC?

Did you sign-in to the Philo app on each of your target FireStick devices?

Yes, it eventually plays in VLC. I went to file > open network and added the URL. It takes 15-20 seconds before it starts playing.

Yes, I signed into Philo on all 3 FireSticks when I initially set them up.

@chDVRuser Would you mind splitting this last group of ADBTuner-related messages (starting with the @Curtis "I am so lost" post) and moving them to the ADBTuner thread. I'm out of ideas, but hopefully somebody there will see what I'm missing.

I appreciate you taking the time to look. I did miss a few steps and I have tried rebooting everything a couple of times since you started helping. I thought it was an encoder issue which is why I posted here, but it seems logical for it to moved to the ADBTuner thread.