From 465981ea9a5e56e6a8b2cebcc6102849e5bc5acf Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 4 Jun 2018 21:20:43 +0200 Subject: Document and test focus --- docs/index.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 85b4b60..0dc31f8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -409,6 +409,7 @@ Media dicts # May additionally contain an "fps" field giving a videos frames per second (possibly # rounded), and a "length" field giving a videos length in a human-readable format. # Note that a video may have an image as preview. + # May also contain a 'focus' dict. } # Metadata dicts (image) - all fields are optional: @@ -429,6 +430,12 @@ Media dicts 'bitrate': # Average bit-rate of the video in bytes per second } + # Focus Metadata dict: + { + 'x': Focus point x coordinate (between -1 and 1) + 'y': Focus point x coordinate (between -1 and 1) + } + Card dicts ~~~~~~~~~~ .. _card dict: -- cgit v1.2.3