Closed zanhesl closed 3 years ago
Maybe someone could tell me, which procedure initialises video copying from followed instance (I have redundancy enabled on both servers).
My fork is here: https://github.com/zanhesl/PeerTube/tree/pocketnet-updates, and the last commit somehow brakes redundancy at all
Hello,
You can create a plugin instead using filter:api.video.get.result
hook: https://docs.joinpeertube.org/api-plugins
Peertube Version: 3.1.0
Goal: I want to add aspect ratio of a video to api call
/api/v1/videos/video_id
Implementation: Firstly, I created new db migration:
Then I added new attribute to video model (path is at the top end of the screenshot):
Same goes to video-create model
And then added new param to the api:
It works fine, however when I am trying to access video information from another following server, aspect ratio is always zero.
How can I fix this?
Thanks for your attention.