Skip to content

Conversation

fynngodau
Copy link
Member

@fynngodau fynngodau commented Jan 3, 2020


Fixes #138
Fixes TeamNewPipe/NewPipe#1284

I had to add the org.json library because the website contains some JSON that has unquoted keys.

  • Search
  • Multiple search pages
  • Search suggestions
  • Streams
    Descriptions are suboptimal because their newlines get eaten and then lyrics are really difficult to read Not anymore for some reason.
  • Channels
    Actually implemented, but depends on Playlist in channels #227
  • Playlists work
    Playlists with a lot of streams take ages to load, because for every playlist info item, a separate request needs to be made to find out the URL of its cover. I'll see whether I can add a workaround just for playlists with more than a number (e.g. 10) of streams Workaround ba967f1 only loads cover art of each track individually for playlists <= 10 streams
  • Kiosks
    • Featured kiosk
      Currently only loads nine items currently can't load further "pages"; can contain preorder albums whose cover is not always displayed correctly and which shows errors but works once opened
    • Bandcamp weekly (Radio) kiosk
      Clicking uploader's (primary host's) name causes the crash reporter to open as it is a link to a fan page
  • Fan pages
    Are extra work because they look different and don't really provide a lot of value I think
  • Comments
    (fanthanks / writings)
  • Unit tests
    But I'm not sure of their quality

@TobiGr TobiGr added bandcamp service, https://bandcamp.com enhancement New feature or request labels Jan 3, 2020
Additionally, get cover art from json instead of html
@fynngodau
Copy link
Member Author

Is the CI failing my fault? I believe it is not; one of my tests was failing, but I fixed it with 46e1f39.

@Stypox
Copy link
Member

Stypox commented Jan 3, 2020

@fynngodau you can see whether it's your fault or not by clicking on Details to the right of continuous-integration/travis-ci/pr. As you can see there, the problem is not yours, but is caused by SoundCloud that at the moment is buggy ;-)

Copy link
Collaborator

@XiangRongLin XiangRongLin left a comment

Choose a reason for hiding this comment

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

From a quick look it looks ok for me. Except for the license line, the things I commented on can be addresses in seperate PRs.

I did not look at the tests

Also is there anywhere global state? From my cursory glace it does not look like it.

Comment on lines 33 to 35
public void onFetchPage(@Nonnull Downloader downloader) throws IOException, ExtractionException {

}
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this empty

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can the reason for why its empty be added here

Copy link
Contributor

Choose a reason for hiding this comment

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

it is not empty anymore. i moved some of the code which was falsely placed in getInitialPage()

When using the index here, it the index needs to be decremented once an element is removed. To cirecumvent this, the native Collections.removeIf() method is used.
@TobiGr TobiGr requested a review from XiangRongLin March 4, 2021 21:05
Copy link
Collaborator

@XiangRongLin XiangRongLin left a comment

Choose a reason for hiding this comment

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

Reviewing something this big again is really time consuming. If the points from my previous review were addressed, then its good to go.

The small stuff can be handled in seperate PR, which are then way easiert to review. Like adding the reason for empty methods and replace the remaining occurences of bandcamp.com


On a side note: Since all of the most recent commits were made by you @TobiGr, are you going to continue maintaining this service or is @fynngodau going to help too?

Comment on lines 33 to 35
public void onFetchPage(@Nonnull Downloader downloader) throws IOException, ExtractionException {

}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can the reason for why its empty be added here

@fynngodau
Copy link
Member Author

On a side note: Since all of the most recent commits were made by you @TobiGr, are you going to continue maintaining this service or is @fynngodau going to help too?

Hi, I'm still interested in maintaining this, however after having maintained this PR without it actually being used for a year or so, I'm glad that I don't have to do these final steps myself. Then I can open some other, smaller PRs with fixes as needed or follow-up features.

In case you're wondering why I was not in the IRC channel, I was probably kicked for inactivity, or I forgot to join with my new matrix account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bandcamp service, https://bandcamp.com enhancement New feature or request new service Issues (feature request) or PR related to a new service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bandcamp Support

10 participants