Description
Checklist
- I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- [ x] I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- [ x] This issue contains only one feature request. I will open one issue for every feature I want to request.
Describe the feature you want
currently newpipe can play peertube urls just fine but cannot accept direct links from apps. as in, if i have to play a peertube video, i have to either search or copy url and paste in search to run.
i am proposing to add url intent just like "tubelab" a peertube android app does.
it looks for videos/watch in the url and tries to play it or throw to other apps if unable to.
look here.
https://framagit.org/tom79/fedilab-tube/-/commit/824c4e0cbbf693467d79ac4195611b10aeff10e5#e6606aeb8715512e114c47ddfcf04b979958e466_223_224
a simple regex
Pattern link = Pattern.compile("(https?://[\da-z.-]+\.[a-z.]{2,10})/videos/watch/(\w{8}-\w{4}-\w{4}-\w{4}-\w{12})$");
Is your feature request related to a problem? Please describe it
currently newpipe plays peertube videos but does not understand url intent like it does for youtube links. pressing any youtube url plays that video in newpipe or at least asks us to. not the case with peertube. they open in browser which is less than ideal.
Additional context
How will you/everyone benefit from this feature?
peertube compatibility would be better now that livestreaming is a thing on peertube.