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

Show subscriber count on video details page #9173

Merged
merged 2 commits into from
Dec 4, 2022

Conversation

Theta-Dev
Copy link
Contributor

@Theta-Dev Theta-Dev commented Oct 22, 2022

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

I added the subscriber count to the channel tag on the player page. It currently only shows on YouTube videos because NPE does not return the subscriber count for streams on other platforms, but that can be fixed in the extractor later.

Before/After Screenshots/Screen Record

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@tsiflimagas
Copy link
Contributor

Related issue #2587.
Thanks for the change btw!

@TobiGr TobiGr added the feature request Issue is related to a feature in the app label Oct 22, 2022
Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you

@TobiGr TobiGr added the GUI Issue is related to the graphical user interface label Oct 22, 2022
@AudricV
Copy link
Member

AudricV commented Oct 23, 2022

Thanks for this feature!

I am not sure if the method used to add the subscriber count is the good one, in terms of code and for RTL languages (even if I don't really know Android specific things). Could you check this, please?

@tvnmguy
Copy link

tvnmguy commented Nov 2, 2022

Make subscribers count dimmed

IMG_20221102_081220.jpg

@Stypox Stypox changed the title Show subscriber count on player page Show subscriber count on video details page Dec 4, 2022
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased and made the text dimmer (for your reference, the image has font size set to Huge). Thank you :-D
image

@Stypox Stypox merged commit a6f57a8 into TeamNewPipe:dev Dec 4, 2022
@sonarcloud
Copy link

sonarcloud bot commented Dec 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@SameenAhnaf SameenAhnaf mentioned this pull request Jan 14, 2023
6 tasks
@Stypox Stypox mentioned this pull request Jan 22, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The number of subscribers of a youtube channel is not shown below the video
6 participants