Watch on TV shows Duplicate Phantom links which can't be Unlinked
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
**Describe the bug**
In my morphe and revanced youtube apps, the two links to my Xiaomi TV Box still appearing which doesn't even link to the TV Box, neither can't I Unlik these. I added one in the past.
These would'nt appear if:
- My phone's WIFI is off and the TV Box is on and connected to WIFI.
- My Phone's WIFI is on and the TV Box is off
These would appear if:
- If phone and tv box are turned on and connected to the same wifi
**To Reproduce**
Steps to reproduce the behavior:
If you have previsouly linked your Morphe or Revanced Youtube to your android tv, then in either app:
Go to Settings --> Watch on TV. There you will find your connected TV links. In my case there are 2 links to the same tv device:
I click on any of these links, it would show that it is connected and would give you the option to Unlink:
**Expected behavior**
The videos should be playing on the TV box and the Unlink button should Unlink the TV Device.
But none of those happen.
Additionally, I tried to generate a Remote Control from SmartTube installed on the same TV Box and tried to create a new link. But it never accepts it:
**System**
Android Version: 16
Phone Model: Samsung Galaxy S25 Ultra
One UI Version: 8.5.
Morphe Youtube version: 21.04.223
microG About:
Android Jetpack:
Apache License 2.0, The android Open Source Project.
CBOR
Creative Commons Zero, Peter O
ChromeCast Java API v2
Apache License 2.0, Vitaly Litvak
CirclelmageView
Apache License 2.0, Henning Dodenhof
Conscrypt
Apache License 2.0, The Android Open Source Project
Cronet
BSD-style License, The Chromium Authors
Kotlin
Apache License 2.0, JetBrains s.r.o.
MapLibre Native for Android
Two-Clause BSD, MapLibre contributors
|Material Components
Apache License 2.0, The Android Open Source Project
Volley
Apache License 2.0, The Android Open Source Project
Wire Protocol Buffers
Apache License 2.0, Square Inc.
ZXing
Apache License 2.0, ZXing authors
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the duplicate entries through Settings → Watch on TV with the phone and Xiaomi TV Box on the same Wi-Fi. Trace the linking and Unlink behavior in the Android implementation, including the failed SmartTube remote-control case. Done means duplicate phantom links no longer appear, existing links can be unlinked, and a new link is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100