Skip to content

Introduce Image class and provide all available images#268

Closed
wb9688 wants to merge 8 commits intoTeamNewPipe:devfrom
wb9688:image
Closed

Introduce Image class and provide all available images#268
wb9688 wants to merge 8 commits intoTeamNewPipe:devfrom
wb9688:image

Conversation

@wb9688
Copy link
Copy Markdown
Member

@wb9688 wb9688 commented Mar 1, 2020

  • I carefully read the contribution guidelines and agree to them.
  • I did test the API against NewPipe.
  • I agree to ASAP create a PULL request for NewPipe for making in compatible when I changed the api.

See TeamNewPipe/NewPipe#3121.

This PR will introduce an Image class, so that NewPipeExtractor will also return the width and height of an image, which NewPipe could use to determine which image to load. It'll also provide a list of all available images (i.e. different resolutions), but that's not implemented yet. Also, currebtly I've only implemented getting the actual width and height of the image for YouTube, I still have to look into the other services.

@TobiGr: Don't merge this for v0.18.6 though, this will be for v0.19.0 (or whatever we end up calling the next proper non-hotfix release).

@wb9688
Copy link
Copy Markdown
Member Author

wb9688 commented Mar 1, 2020

@mauriciocolli and @TobiGr: Could you review this PR (except for the tests)?

Copy link
Copy Markdown
Contributor

@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.

I don't have time for deep reviews now. I'll take a closer look at the structure at the weekend

@wb9688 wb9688 added the enhancement New feature or request label Mar 4, 2020
@wb9688 wb9688 marked this pull request as ready for review March 4, 2020 16:49
@XiangRongLin
Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants