Skip to content

Add a channel twice, unsubscribe does not work #5091

Open
@Zykino

Description

@Zykino

Checklist

  • I am using the latest version - 0.20.5
  • I checked, but didn't find any duplicates (open OR closed) of this issue in the repo. I found some issues and a workaround (see at the end) but a bug persist so I still opened this issue
  • I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
  • This issue contains only one bug. I will open one issue for every bug report I want to file.

Steps to reproduce the bug

  1. Subscribe to a channel
  2. Wait (long time like multiples weeks) I guess here there is a rename/URL change Youtube side
  3. In the subscription page select a channel (did not happened to all of them, I found that Linus Tech Tips, Fermilab, Smarter Everyday among other have the issue on my phone)
  4. Click on subscribe twice (sub - unsub)
  5. Click on subscribe (once)

Actual behaviour

After 3, see in the channel page that I am not subscribed
After 4, on the subscription page see that nothing changed we are still subscribed to the channel
After 5, on the subscription page see that the channel is now present twice. And if we visit one or the other it is shown that we are subscribed. (But unsubscribing to one still keep one subscription in the list).

Expected behavior

After 3, the channel is written as subscribed and clicking on it once should unsubscribe me.

Device info

  • Android version/Custom ROM version: OxygenOS 9.0.6 (Android 9 by the manufacturer)
  • Device model: OnePlus 3

Workaround found on older/closed issues: long press to have an option to unsubscribe.
I still wanted to register the issue since compared to the older issue theses channels are not deleted. Also, the issue may be handled more smoothly by the app. (Changing the saved url when a redirect is detected ?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugchannelAnything to do with creator channels in the appdatabaseIssue and PRs related to database operationsyoutubeService, https://www.youtube.com/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions