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
1. Copy this commit by StyPox
TeamNewPipe@e236d37
Fixes TeamNewPipe#10012

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

Update date time library prettytime to 5.0.8.Final
Fixes: TeamNewPipe#11092

3. Fixes: Upload dates have a minus prepended if they're in the past and language is set to Ukrainian
Fixed in ocpsoft/prettytime#270

Co-Authored-By: Tobi <[email protected]>
Co-Authored-By: Stypox <[email protected]>
Co-Authored-By: moontoaster <[email protected]>
  • Loading branch information
4 people committed Jun 13, 2024
1 parent 0881c21 commit c3b2dbe
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 c3b2dbe

Please sign in to comment.