-
-
Notifications
You must be signed in to change notification settings - Fork 518
[PeerTube] playlist support #307
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
Conversation
...ava/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubePlaylistExtractor.java
Outdated
Show resolved
Hide resolved
cb6d4ab to
fcb3f25
Compare
...schabi/newpipe/extractor/services/peertube/linkHandler/PeertubeStreamLinkHandlerFactory.java
Outdated
Show resolved
Hide resolved
a98e417 to
982b28d
Compare
|
Could you add subchannel stuff for playlists as well? |
| } | ||
| PeertubeParsingHelper.validate(playlistVideos); | ||
|
|
||
| this.total = JsonUtils.getNumber(playlistVideos, "total").longValue(); |
There was a problem hiding this comment.
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.
I've added playlist support and removed code duplication with
getNextPageUrl()across peertube classes.