Skip to content
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

Remove timestamp from share url for all services except youtube #5228

Merged
merged 1 commit into from
Dec 20, 2020

Conversation

B0pol
Copy link
Member

@B0pol B0pol commented Dec 19, 2020

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Remove timestamp from share url unless it's youtube.
It produced not found error for PeerTube, media.ccc.de, SoundCloud.

Ideally we should implement this
#4316 (comment)

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

but it has been three months and no one is willing to work on this, then I'd like to get this PR merged for the next release.

Fixes the following issue(s)

APK testing

app-debug.zip

Due diligence

It produces not found error for PeerTube, media.ccc.de, SoundCloud
@TobiGr
Copy link
Member

TobiGr commented Dec 20, 2020

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Looks good in my opinion

@B0pol B0pol added bug Issue is related to a bug multiservice Issues related to multiple services labels Dec 20, 2020
@B0pol
Copy link
Member Author

B0pol commented Dec 20, 2020

@TobiGr please read the pr description

@TobiGr
Copy link
Member

TobiGr commented Dec 20, 2020

@Stypox
Copy link
Member

Stypox commented Dec 20, 2020

@TobiGr that should be handled extractor-side, this is just a (hopefully temporary) workaround, so it shouldn't include timestamp share for all services

@TobiGr
Copy link
Member

TobiGr commented Dec 20, 2020

I read the PR description. But why only fix the bug for YouTube and not for other services as well?

@B0pol
Copy link
Member Author

B0pol commented Dec 20, 2020

@Stypox you are right, so that it doesn't break URLs

@TobiGr TobiGr merged commit 0c656ab into TeamNewPipe:dev Dec 20, 2020
This was referenced Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug multiservice Issues related to multiple services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Share does not work from soundcloud
4 participants