Newpipe: Share does not work from soundcloud

Created on 25 Sep 2020  Â·  9Comments  Â·  Source: TeamNewPipe/NewPipe

Sharing does not work

bug good first issue soundcloud

All 9 comments

When playing a video and sharing it, the timestamp is appended to the URL. Replacing the & with # makes SoundCloud recognize it.

https://soundcloud.com/mahdyar/agh&t=40 -> https://soundcloud.com/mahdyar/agh#t=40

Ah wait. We produce an invalid URL here in the first place. We should check the cause for this, too. I guess people only thought about YouTube when changing the share logic.

@TobiGr: And this is why URL exists… we really shouldn't append Strings and hope it becomes a valid URL.

Edit: we also shouldn't even use URL there client-side, but add an extractor-side API for getting an URL with timestamp.

Hey, I would love to work on this. Can you assign me?

I guess people only thought about YouTube when changing the share logic.

(sideways glance at @Stypox 🤭)

@spacemonkey1101 Sure. Also have a look at #3264.

I am unable to build because of the checkstyle errors already present. Should I solve them one by one or is there a way to disable checkstyle checks.

I am unable to build because of the checkstyle errors already present. Should I solve them one by one or is there a way to disable checkstyle checks.

could paste the error log?

there should be only warnings, no errors. If you want to disable checkstyle comment or remove runCheckstyle here.

@spacemonkey1101 So, could you get past the build issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

android1973 picture android1973  Â·  3Comments

danialbehzadi picture danialbehzadi  Â·  3Comments

f242 picture f242  Â·  3Comments

fnadde42 picture fnadde42  Â·  3Comments

Hunter9888x picture Hunter9888x  Â·  3Comments