Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.11k stars 1.51k forks source link

Add "remote videos" scope to video filters #5820

Open raazkarkee405 opened 1 year ago

raazkarkee405 commented 1 year ago

Describe the problem to be solved

In the trending, recently added and local videos there is a filter that can be used to filter videos based on various aspects.

Under the scope there are only two options to filter videos (Local videos & Federated videos). When I set the scope to federated videos then the videos will be listed including both of the current instance and followed instances together.

The problem currently I am facing is that I am unable to identify which video belongs to which instance. And, to find out I have to visit the video channel of the respected video.

Describe the solution you would like

The solution I would like will be to add a new scope Federated videos (followed instances) and a dropdown to select followed instances. image

Chocobozzz commented 1 year ago

Hi,

I think it's because https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L816 is true. The display name, unlike the handle, doesn't include the domain name.

raazkarkee405 commented 1 year ago

@Chocobozzz

I think adding new scope to filter videos based on followed instances will enable users to view videos list on the basis of instances.

Is it possible to add new scope to filter videos based on the followed instances?