Skip to content

Conversation

@B0pol
Copy link
Member

@B0pol B0pol commented Apr 9, 2020

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

I've added playlist support and removed code duplication with getNextPageUrl() across peertube classes.

@B0pol B0pol force-pushed the playlists_peertube branch from cb6d4ab to fcb3f25 Compare April 10, 2020 17:55
@B0pol B0pol force-pushed the playlists_peertube branch from a98e417 to 982b28d Compare April 11, 2020 13:04
@TobiGr TobiGr added the peertube service, https://joinpeertube.org/ label Apr 11, 2020
@wb9688
Copy link
Contributor

wb9688 commented Apr 16, 2020

Could you add subchannel stuff for playlists as well?

@B0pol B0pol force-pushed the playlists_peertube branch from 982b28d to 061720d Compare May 5, 2020 13:29
@wb9688 wb9688 added this to the 0.19.4 milestone May 7, 2020
@B0pol B0pol changed the title [PeerTube] playlist support & avoid duplicate [PeerTube] playlist support May 7, 2020
@B0pol B0pol force-pushed the playlists_peertube branch from 061720d to 7cae95b Compare May 9, 2020 08:19
@B0pol B0pol added the enhancement New feature or request label May 9, 2020
@B0pol B0pol requested a review from wb9688 May 10, 2020 11:46
}
PeertubeParsingHelper.validate(playlistVideos);

this.total = JsonUtils.getNumber(playlistVideos, "total").longValue();
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't happen like this, however it's not worth fixing it until my next page PR (where you could just make it a normal variable in the function), especially as it's done like this in the other PeerTube ListExtractors as well.

@TobiGr TobiGr merged commit b40ccb5 into TeamNewPipe:dev May 11, 2020
@B0pol B0pol deleted the playlists_peertube branch May 11, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request peertube service, https://joinpeertube.org/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants