Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Inconsistent subscriber count #701

Closed
2 tasks done
kalwadi opened this issue Apr 26, 2024 · 3 comments
Closed
2 tasks done

[Bug]: Inconsistent subscriber count #701

kalwadi opened this issue Apr 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kalwadi
Copy link

kalwadi commented Apr 26, 2024

I've read the documentation

Operating System

Linux

Your Bug Report

Describe the bug

When navigating to any channel and switching between "Videos", "Streams" and "About" tabs subscriber count is inconsistent
image
image
image

Steps To Reproduce

  1. Open any channel that you are subscribed for a while
  2. Check subscriber count on each tab
  3. Go to "About" tab, press reindex.
  4. After reindex is completed there should be different number of subscriber

Expected behavior

All tabs should show the same number of subscribers

Relevant log output

## log output of reindex
[2024-04-26 20:21:57,556: INFO/MainProcess] Task check_reindex[db4db427-cf18-4009-92af-3c8c5a7e7b80] received
[2024-04-26 20:21:57,557: WARNING/ForkPoolWorker-8] check_reindex create callback
[2024-04-26 20:21:57,559: WARNING/ForkPoolWorker-8] [task][check_reindex] reindex {'channel': ['UCsXVk37bltHxD1rDPwtNM8Q']}
[2024-04-26 20:21:57,568: WARNING/ForkPoolWorker-8] validating cookie
[2024-04-26 20:21:57,679: WARNING/ForkPoolWorker-8] UCsXVk37bltHxD1rDPwtNM8Q: get metadata from es
[2024-04-26 20:21:57,687: WARNING/ForkPoolWorker-8] UCsXVk37bltHxD1rDPwtNM8Q: get metadata from youtube
[2024-04-26 20:21:58,692: WARNING/ForkPoolWorker-8] UCsXVk37bltHxD1rDPwtNM8Q: download channel thumbnail
[2024-04-26 20:21:59,519: WARNING/ForkPoolWorker-8] UCsXVk37bltHxD1rDPwtNM8Q: start full scan
[2024-04-26 20:22:02,412: WARNING/ForkPoolWorker-8] ERROR: [youtube:tab] UCsXVk37bltHxD1rDPwtNM8Q: This channel does not have a streams tab
[2024-04-26 20:22:02,948: WARNING/ForkPoolWorker-8] Qtmrp_4BKRQ: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] xRF7WIZV4lA: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] 4ClLMrfYmmw: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] FaB41TtgS54: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] f9uZ0REjIjo: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] xxFqPNPJuU8: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] Nv4Nk4AAgk8: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] LS6lecUl3M0: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] fMJqwD7_-NU: no remote match found
[2024-04-26 20:22:02,949: WARNING/ForkPoolWorker-8] UCsXVk37bltHxD1rDPwtNM8Q: fixing 6 videos
[2024-04-26 20:22:06,027: WARNING/ForkPoolWorker-8] db4db427-cf18-4009-92af-3c8c5a7e7b80 success callback
[2024-04-26 20:22:06,029: INFO/ForkPoolWorker-8] Task check_reindex[db4db427-cf18-4009-92af-3c8c5a7e7b80] succeeded in 8.470149763976224s: 'reindexed 1 channels'

Anything else?

About tab shows most up to date number after reindex.
Looks like numbers in other tabs get updated at some point but not consistently. But could not track down under what circumstances.
Tried restarting and recreating containers.
By the looks of subscriber count on CGP grey channel, last update did not update those numbers either.

@bbilly1
Copy link
Member

bbilly1 commented Apr 27, 2024

Hmm, looks like the channel data doesn't properly get synced back to the videos after a reindex. need to look into that.

@bbilly1 bbilly1 added the bug Something isn't working label Apr 27, 2024
@bbilly1
Copy link
Member

bbilly1 commented May 9, 2024

That's actually an upstream problem. I reported it: yt-dlp/yt-dlp#9893

We can see if we can implement a temporary workaround.

@bbilly1 bbilly1 added the pending-release Fixed and pending release label May 11, 2024
bbilly1 added a commit that referenced this issue May 17, 2024
@bbilly1 bbilly1 removed the pending-release Fixed and pending release label May 22, 2024
@bbilly1
Copy link
Member

bbilly1 commented May 22, 2024

there is a workaround in v0.4.8 for that. please update. also release notes have instructions with how to fix that manually.

@bbilly1 bbilly1 closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants