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

Add possibility to open PeerTube links in NP for some instances (without needing to share to NP) #3406

Merged
merged 4 commits into from
Jun 26, 2020

Conversation

B0pol
Copy link
Member

@B0pol B0pol commented Apr 9, 2020

What is it?

  • Bug fix (user facing)
  • improvement
  • Feature (user facing)
  • Code base improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Add support for opening PeerTube links in NewPipe without needing to share it to newpipe (see in manifest for the instances choosen).

Fixes the following issue(s)

No issue fixed, we discussed previously that the default instance should be added, I also added instances we are using for tests in extractor, and media assassinate you which is the instance where some NewPipe videos are hosted (cf this video), and some other popular peertube instances.

Relies on the following changes

TeamNewPipe/NewPipeExtractor#307 : for playlist part. It's really needed because otherwise it will cause lots of crashes "could not get name" as playlist follow this pattern : videos/watch/playlist, then current extractor think it's a video and not playlist

Testing apk

peertube_playlists.zip

Agreement

Copy link
Contributor

@wb9688 wb9688 left a comment

Choose a reason for hiding this comment

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

Please add all instances from https://instances.joinpeertube.org/instances. It would also be nice if we could add a test that checks whether we have all instances (in case the list changes). Also add support for the channels.

@TobiGr
Copy link
Contributor

TobiGr commented Apr 9, 2020

@wb9688 That are 449 instances. I am not sure if we should add them all.

@wb9688
Copy link
Contributor

wb9688 commented Apr 9, 2020

@TobiGr: It's "only" 449 instances. Why should we not add them to the manifest?

@B0pol B0pol force-pushed the playlist_peertube branch from 844dcea to 3539618 Compare April 9, 2020 19:58
@B0pol B0pol changed the title add support for some peertube instances add support for all peertube instances Apr 9, 2020
@B0pol B0pol force-pushed the playlist_peertube branch 3 times, most recently from 73a5013 to 9212c28 Compare April 11, 2020 18:37
@B0pol B0pol mentioned this pull request Apr 11, 2020
5 tasks
@TobiGr TobiGr added the peertube Service, https://joinpeertube.org/ label Apr 11, 2020
@TobiGr
Copy link
Contributor

TobiGr commented Apr 11, 2020

@B0pol added some instances now. Please suggest more instances if you are missing one.

@B0pol B0pol changed the title add support for all peertube instances Add support for some PeerTube instances Apr 11, 2020
@B0pol
Copy link
Member Author

B0pol commented Apr 16, 2020

Can you add this PR to 0.19.3 milestone?

@B0pol B0pol added this to the 0.19.4 milestone May 5, 2020
@B0pol B0pol force-pushed the playlist_peertube branch from 9212c28 to 78b7ca5 Compare May 5, 2020 13:48
@B0pol B0pol changed the title Add support for some PeerTube instances Add support for opening link for some PeerTube instances May 5, 2020
@B0pol B0pol changed the title Add support for opening link for some PeerTube instances Add possibility to open PeerTube links in NP for some instances (without needing to share to NP) May 7, 2020
@B0pol B0pol force-pushed the playlist_peertube branch from 9b1f2a5 to ee78e38 Compare May 9, 2020 08:42
B0pol added 3 commits May 11, 2020 21:41
The one used for tests, popular instances and user wanted (e.g. la quadrature du net, video.lqdn.fr, or @TheAssassin instance, media-assassinate-you.net)
@B0pol B0pol force-pushed the playlist_peertube branch from ee78e38 to 55027a9 Compare May 11, 2020 19:42
TobiGr
TobiGr previously approved these changes May 16, 2020
@B0pol B0pol requested a review from wb9688 May 17, 2020 08:10
@Stypox Stypox modified the milestones: 0.19.4, 0.19.5 May 28, 2020
@TobiGr TobiGr merged commit e03d970 into TeamNewPipe:dev Jun 26, 2020
@B0pol B0pol deleted the playlist_peertube branch June 26, 2020 17:48
@wb9688 wb9688 removed their request for review June 27, 2020 17:18
This was referenced Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
peertube Service, https://joinpeertube.org/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants