TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.6k stars 3.07k forks source link

Use Sepia API as default PeerTube instance #4470

Closed Booteille closed 3 years ago

Booteille commented 4 years ago

Checklist

Describe the feature you want

Weeks ago, Framasoft, which is developping PeerTube, released Sepia, a search engine frontend (with an API) to search through videos from PeerTube. I think it would be a good idea to use Sepia as the default search engine for PeerTube, instead of relying to a specific instance.

Alternatively, NewPipe project could also host their own index and use it as the default search engine.

Is your feature request related to a problem? Please describe it

Additional context

Sepia source code: https://framagit.org/framasoft/peertube/search-index/

If you read the blog post, you should've read that Sepia is using Framasoft's instances index. It should satisfy most uses to stay under the French law (and most others, I guess) but if it does not fit well enough to NewPipe's need, using another index could be an option.

How will you/everyone benefit from this feature?

wb9688 commented 4 years ago

Hmm… imho it would make sense to add that as an additional search option (like YouTube Music is for YouTube), because it isn't an actual service providing videos.

test2a commented 4 years ago

tubelab on f-droid was recently updated with sepiasearch and that works fine right now. this would be a good enhancement for newpipe

B0pol commented 3 years ago

I don't think it should be the default option. PeerTube is designed in a decentralized way, that's why on PeerTube instances default search engine is the local one. Global search with sepia search is here to answer the need of content, but it's not the default search index on peertube instances (it's the local one), and is not enabled by default (you can read "has to be explicitely enabled by admins" on v2.3.0 changelog).

What do you think @TobiGr @Stypox?

test2a commented 3 years ago

look. you are right. when you have a "home instance" you are logged in to, you get to access sepia search if admins have enabled it or you can directly access sepia search to get new content. when a user is using newpipe, we do not have an instance we can log into and consequent to that, be restricted by that instances terms. we can already follow multiple peertube instances so do you accept sepia search constraint from one instance to another based on what their admins have enabled? second thing. if i open youtube, i get access to all of youtube search. if i select say tilvids.com on newpipe to be at top, would i be only able to search between results from that instance only? what about discovery as you said. the idea of sepia search is to bring content discovery. newpipe can help immensely with that goal

Stypox commented 3 years ago

@B0pol I agree with @wb9688 about the fact that sepia search should be a search option like Youtube Music, not the default one (also for the problems you pointed out). Other than that I don't have a strong opinion