Skip to content

Commit

Permalink
Fix (SoundCloud large playlist can’t load)[TeamNewPipe#10012]
Browse files Browse the repository at this point in the history
Copy this commit by StyPox
TeamNewPipe@e236d37
Fixes TeamNewPipe#10012

Also Update Extractor to Detect whether for SoundCloud there are any more search results
ShareASmile/NewPipeExtractor#41

Co-Authored-By: Tobi <17365767+tobigr@users.noreply.github.com>
Co-Authored-By: Stypox <stypox@pm.me>
  • Loading branch information
3 people committed Jun 13, 2024
1 parent 0881c21 commit d3a95f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ dependencies {
// name and the commit hash with the commit hash of the (pushed) commit you want to test
// This works thanks to JitPack: https://jitpack.io/
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'com.github.ShareASmile:NewPipeExtractor:4aea925d97'
implementation 'com.github.ShareASmile:NewPipeExtractor:9f741d54b2'

/** Third-party libraries **/
// Instance state boilerplate elimination
Expand Down Expand Up @@ -215,7 +215,7 @@ dependencies {
implementation "com.jakewharton.rxbinding2:rxbinding:2.2.0"

// Date and time formatting
implementation "org.ocpsoft.prettytime:prettytime:5.0.7.Final"
implementation "org.ocpsoft.prettytime:prettytime:5.0.8.Final"

/** Debugging **/
// Memory leak detection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ public void handleResult(@NonNull final I result) {
if (result.getRelatedItems().size() > 0) {
infoListAdapter.addInfoItemList(result.getRelatedItems());
showListFooter(hasMoreItems());
} else if (hasMoreItems()) {
loadMoreItems();
} else {
infoListAdapter.clearStreamItemList();
showEmptyState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ public void handleResult(@NonNull final ChannelInfo result) {

if (!TextUtils.isEmpty(currentInfo.getParentChannelName())) {
headerSubChannelTitleView.setText(String.format(
getString(R.string.channel_created_by),
currentInfo.getParentChannelName())
getString(R.string.channel_created_by),
currentInfo.getParentChannelName())
);
headerSubChannelTitleView.setVisibility(View.VISIBLE);
headerSubChannelAvatarView.setVisibility(View.VISIBLE);
Expand Down

0 comments on commit d3a95f2

Please sign in to comment.