6 quvi-dump - The dull-witted property printer
11 'quvi dump' [OPTIONS] [ARGS]
15 This command queries the properties for an URL and prints them to
20 The command will attempt to determine if any of the
21 linkman:libquvi-scripts[7] accept the input URL before exiting with an
22 error. The script type {playlist,media,...} determines how the command
23 will handle the input URL.
26 The playlist properties (media URLs) are printed in the "rfc2483"
30 The media properties will be printed in the "enum" format.
32 Available {subtitles,streams}::
33 Printed in the "rfc2483" format.
35 The '--print-format' may be used to change the default behaviour.
43 include::opts-core.txt[]
44 include::opts-core-print-format.txt[]
45 include::opts-core-verbosity.txt[]
50 -q, --query-metainfo::
51 Instruct the command to query the HTTP metainfo properties, namely
52 Content-{Length,Type}. This will cause linkman:libquvi[3] to send an
53 HTTP HEAD request for each HTTP media stream URL and parse the
54 returned data. When used, the command will include these properties
55 to the printed media properties.
57 config: dump.query-metainfo=<boolean>
59 include::opts-exec.txt[]
60 include::opts-http.txt[]
64 * Print media properties in XML:
67 $ quvi dump -p xml MEDIA_URL
70 * Execute a child program:
73 $ quvi dump -e "totem %u" MEDIA_URL
76 * Print playlist properties in JSON:
79 $ quvi dump -p json PLAYLIST_URL
82 * Print available subtitles in JSON:
85 $ quvi dump -p json -B MEDIA_URL
88 * Print available media streams:
91 $ quvi dump -S MEDIA_URL
94 * Query media properties for each playlist item:
97 $ quvi dump PLAYLIST_URL | quvi dump
100 include::footer.txt[]