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

Yeah that is why mine worked I never did turn on Compatibility mode on my Chromecast.

Connects to Onn Android TV device, but is not able to open the application and change to stream

I have a new Onn device connected over wireless. The ADBTuner is running as docker on Unraid server. The Onn is in developer mode. I have approved the debug requests on the Onn when the ADBTuner app sends commands to open the stream. The ADBTuner application recognizes the Onn as an AndroidTv device and successfully connects to the steaming endpoint.

However, when I try to preview the Fubo TV channel on the Onn, I do not see any video. And the stream does not open on the Onn device.

Any suggestions are appreciated. Thanks.

Here are the logs:

2023-08-28 14:28:48.344 - server - Released tuner 1
2023-08-28 14:28:48.344 - lib.adb - ADB: Stopping media playback.
2023-08-28 14:28:48.345 - lib.adb - ADB: 192.168.1.215 - input keyevent KEYCODE_MEDIA_STOP
2023-08-28 14:28:48.418 - lib.adb - ADB: 192.168.1.215 - input keyevent KEYCODE_MEDIA_PAUSE
2023-08-28 14:28:48.444 - server - Reserved tuner 1
2023-08-28 14:28:48.444 - server - Using tuner id: 1
2023-08-28 14:28:48.444 - uvicorn.access - 192.168.1.83:61235 - "GET /stream/1 HTTP/1.1" 307
2023-08-28 14:28:48.453 - server - Tuner: Tuning to USA on Onn1
2023-08-28 14:28:48.455 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-28 14:28:48.518 - lib.adb - ADB: Connected.
2023-08-28 14:28:48.518 - lib.adb - ADB: 192.168.1.215 - dumpsys display
2023-08-28 14:28:48.575 - lib.adb - ADB: 192.168.1.215 - getprop ro.build.version.release
2023-08-28 14:28:48.620 - lib.adb - ADB: Android Version: 12.0.
2023-08-28 14:28:48.620 - lib.adb - ADB: 192.168.1.215 - pm list packages -3
2023-08-28 14:28:48.693 - lib.adb - ADB: 192.168.1.215 - pidof com.fubo.firetv.screen
2023-08-28 14:28:48.752 - lib.adb - ADB: Stopping media playback.
2023-08-28 14:28:48.752 - lib.adb - ADB: 192.168.1.215 - input keyevent KEYCODE_MEDIA_STOP
2023-08-28 14:28:48.833 - lib.adb - ADB: 192.168.1.215 - am start -a android.intent.action.VIEW -d "https://www.fubo.tv/watch?channelId=12444" com.fubo.firetv.screen
2023-08-28 14:28:50.511 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:28:52.797 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:28:55.077 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:28:57.387 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:28:59.646 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:01.907 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:04.193 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:06.460 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:08.709 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:10.987 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:13.244 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:15.512 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:17.781 - server - Tuner: Waiting for playback start. Status: unknown
2023-08-28 14:29:18.478 - server - Tuner: Could not detect playback state. Giving up after 30.03 seconds. Display was on, application (com.fubo.firetv.screen) was running.
2023-08-28 14:29:18.478 - server - Released tuner 1
2023-08-28 14:29:18.478 - lib.adb - ADB: Stopping media playback.
2023-08-28 14:29:18.478 - lib.adb - ADB: 192.168.1.215 - input keyevent KEYCODE_MEDIA_STOP
2023-08-28 14:29:18.551 - lib.adb - ADB: 192.168.1.215 - input keyevent KEYCODE_MEDIA_PAUSE
2023-08-28 14:29:18.617 - uvicorn.access - 192.168.1.83:61235 - "GET /stream/1/1 HTTP/1.1" 404

Make sure you have “compatibility mode” enabled for channels using that provider.

Looks like something at Fubo has changed.
Getting stuck at the who is watching prompt everytime.

Thank YOU! This is even better than I'd envisioned. This is beautiful :slight_smile:

SCR-20230829-rcsv

Along these lines, I'm also hoping ADBTuner could one day include support for other tags, like tvc-guide-genres and tvc-guide-categories, so channels integrated into CDVR can work with features like Automatic Channel Collections and the new Sports and News sections.

1 Like

Can confirm, seeing this too.

Has anybody here had success recording 4K TV content, including verifying the resulting recording is in-fact 4K? I'm not seeing that any of these encoders are HDCP 2.2 compliant (only HDCP 1.4 or no HDCP), and I have a suspicion this is going to cause issues with 4K.

If you've had success, any details regarding encoder and Android streaming device used would be appreciated.

Good News for Sling TV watchers. Deeplinks DO INDEED WORK!

Check out the HDMI Channels thread for more info, but here's an example JSON

{
  "provider_name": "Sling TV",
  "number": 8000,
  "name": "TV5Monde",
  "url": "https://watch.sling.com/1/channel/fb0bf7eccb2f492ab304abd2d51f9e9f/watch",
  "package_name": "com.sling",
  "alternate_package_name": "",
  "compatibility_mode": false,
  "tvc_guide_stationid": ""
}
1 Like

We are fortunate we have 2 ways to deal with DRM now. Fubo obviously rolled out their new interface.

Can you get me some logs when you have a chance. Maybe also see if you can find what version of the app is installed? I tested here this morning and don’t see any change with the profile screen, but maybe it’s a staggered rollout.

I will later today.....

Fubo Version 5.1.0

2023-08-31 16:43:05 2023-08-31 21:43:05.844 - server - Reserved tuner 1
2023-08-31 16:43:05 2023-08-31 21:43:05.844 - server - Using tuner id: 1
2023-08-31 16:43:05 2023-08-31 21:43:05.844 - uvicorn.access - 172.17.0.1:52136 - "GET /stream/26 HTTP/1.1" 307
2023-08-31 16:43:05 2023-08-31 21:43:05.853 - server - Tuner: Tuning to Bally Wisconsin on ChromeCast 1
2023-08-31 16:43:05 2023-08-31 21:43:05.854 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-31 16:43:06 2023-08-31 21:43:06.028 - lib.adb - ADB: Connected.
2023-08-31 16:43:06 2023-08-31 21:43:06.028 - lib.adb - ADB: 192.168.1.41 - dumpsys display
2023-08-31 16:43:06 2023-08-31 21:43:06.120 - lib.adb - ADB: 192.168.1.41 - getprop ro.build.version.release
2023-08-31 16:43:06 2023-08-31 21:43:06.158 - lib.adb - ADB: Android Version: 12.0.
2023-08-31 16:43:06 2023-08-31 21:43:06.158 - lib.adb - ADB: 192.168.1.41 - pm list packages -3
2023-08-31 16:43:06 2023-08-31 21:43:06.225 - lib.adb - ADB: 192.168.1.41 - pidof com.fubo.firetv.screen
2023-08-31 16:43:06 2023-08-31 21:43:06.289 - lib.adb - ADB: Stopping media playback.
2023-08-31 16:43:06 2023-08-31 21:43:06.289 - lib.adb - ADB: 192.168.1.41 - input keyevent KEYCODE_MEDIA_STOP
2023-08-31 16:43:06 2023-08-31 21:43:06.625 - lib.adb - ADB: 192.168.1.41 - am start -a android.intent.action.VIEW -d "https://link.fubo.tv/al1%3Fv%3D1%26a%3Dplay%26t%3Dchannel%26channel_id%3D16348" com.fubo.firetv.screen
2023-08-31 16:43:15 2023-08-31 21:43:15.363 - server - Tuner: Compatibility Mode - Stream released after 9.52 seconds. Display was on, application (com.fubo.firetv.screen) was closed.
2023-08-31 16:43:15 2023-08-31 21:43:15.363 - lib.adb - ADB: Closing connection - 192.168.1.41
2023-08-31 16:43:15 2023-08-31 21:43:15.364 - uvicorn.access - 172.17.0.1:52136 - "GET /stream/1/26 HTTP/1.1" 200
2023-08-31 16:43:15 2023-08-31 21:43:15.373 - root - Tuner: Stream open (attempt 1).
2023-08-31 16:43:15 2023-08-31 21:43:15.439 - httpx - HTTP Request: GET http://192.168.1.168/0.ts "HTTP/1.1 200 OK"

At this point, its waiting at the who is watching prompt.

Yup! There's no "See less often" button anymore either.

2023-08-31 15:17:28.156 - server - Reserved tuner 4
2023-08-31 15:17:28.156 - server - Using tuner id: 4
2023-08-31 15:17:28.156 - uvicorn.access - 192.168.6.248:39744 - "GET /stream/2 HTTP/1.1" 307
2023-08-31 15:17:28.157 - server - Tuner: Tuning to HGTV on ChromeCast 1
2023-08-31 15:17:28.159 - lib.adb - ADB: Connecting to device (attempt 1).
2023-08-31 15:17:28.336 - lib.adb - ADB: Connected.
2023-08-31 15:17:28.336 - lib.adb - ADB: 192.168.6.199 - dumpsys display
2023-08-31 15:17:28.424 - lib.adb - ADB: 192.168.6.199 - getprop ro.build.version.release
2023-08-31 15:17:28.513 - lib.adb - ADB: Android Version: 12.0.
2023-08-31 15:17:28.513 - lib.adb - ADB: 192.168.6.199 - pm list packages -3
2023-08-31 15:17:28.589 - lib.adb - ADB: 192.168.6.199 - pidof com.fubo.firetv.screen
2023-08-31 15:17:28.703 - lib.adb - ADB: Stopping media playback.
2023-08-31 15:17:28.703 - lib.adb - ADB: 192.168.6.199 - input keyevent KEYCODE_MEDIA_STOP
2023-08-31 15:17:28.791 - lib.adb - ADB: 192.168.6.199 - am start -a android.intent.action.VIEW -d "https://link.fubo.tv/al1%3Fv%3D1%26a%3Dplay%26t%3Dchannel%26channel_id%3D82117" com.fubo.firetv.screen
2023-08-31 15:17:37.565 - server - Tuner: Compatibility Mode - Stream released after 9.41 seconds. Display was on, application (com.fubo.firetv.screen) was closed.
2023-08-31 15:17:37.565 - lib.adb - ADB: Closing connection - 192.168.6.199
2023-08-31 15:17:37.566 - uvicorn.access - 192.168.6.248:39744 - "GET /stream/4/2 HTTP/1.1" 200
2023-08-31 15:17:37.571 - root - Tuner: Stream open (attempt 1).
2023-08-31 15:17:37.579 - httpx - HTTP Request: GET http://192.168.6.198/ts/1_0 "HTTP/1.0 200 Ok"

@Anvil_DVR @Ryboflavins

I took a look at the new version of the Fubo app and as you noticed it's a big change and unfortunately what worked before won't with the new version. We will have to go back to the drawing board on this one and I can't say for certain if/when there will be another solution for this.

In the meantime I would recommend turning off automatic app updates (settings->apps->manage updates), uninstalling the current version, and then sideloading the 4.75 apk. It still works for now.

One of many places to download the apk:
https://www.apkmirror.com/apk/fubotv/fubotv-watch-live-sports-tv-android-tv/fubotv-watch-live-sports-tv-android-tv-4-75-0-release/fubotv-watch-live-sports-tv-android-tv-4-75-0-android-apk-download/

There are a bunch of ways to install it, the easiest being adb install path_to_apk_file.apk if you already have adb setup (or are willing to set it up) on a computer.

Other options involve installing "downloader" apps on the device first and then using that app to download the apk. I don't have a specific recommendation on that, but a google search should point you in the right direction.

Hey, thanks for looking into it.
I'll try and roll back tonight.

Oh shoot, that’s my worst fear with this setup.

Thanks so much for your work on this, I’ll give the rollback a go.

And if you’re reading this Fubo, booooooo. :smiley:

I've had issues today getting the Gracenote ID to import. Below is some test data I've been using. Also I notice some examples having a component but the export doesn't export one. Any details on that?

[
    {
        "provider_name": "Youtube TV",
        "number": 3001,
        "name": "ABC-GTV",
        "url": "https://tv.youtube.com/watch/cxlQRHTKurQ?onboard=1",
        "package_name": "com.google.android.youtube.tvunplugged",
        "alternative_package_name": null,
        "compatibility_mode": false,
        "tvc_guidestation_id": "1234"
    },
    {
        "provider_name": "Youtube TV",
        "number": 3002,
        "name": "NBC-GTV",
        "url": "https://tv.youtube.com/watch/cxlQRHTKurQ?onboard=1",
        "package_name": "com.google.android.youtube.tvunplugged",
        "alternative_package_name": null,
        "compatibility_mode": false,
        "tvc_guidestation_id": "5678"
    }
]
2 Likes

Right?
Cat/Mouse

I'm back in business....for now.

Do we have a list of which apps work or don’t work with ADB tuner?

I use XFINITY Stream... To Capture Premium Channels.