QUVI-DUMP(1) | quvi Manual | QUVI-DUMP(1) |
NAME¶
quvi-dump - The dull-witted property printer
SYNOPSIS¶
quvi dump [OPTIONS] [ARGS]
DESCRIPTION¶
This command queries the properties for an URL and prints them to the stdout.
DEFAULT BEHAVIOUR¶
The command will attempt to determine if any of the libquvi-scripts(7) accept the input URL before exiting with an error. The script type {playlist,media,...} determines how the command will handle the input URL.
Playlist URLs
Media URLs
Available {subtitles,streams}
The --print-format may be used to change the default behaviour.
SUPPORT¶
The support for the media hosts is determined by the current selection of libquvi-scripts(7).
CONFIGURATION¶
See quvirc(5) for more information about the groups and the variables that quvi parses.
INPUT¶
The command will read stdin by default. The input is expected to contain URLs. The command arguments are expected to be either URLs or file paths. If the input is read from either stdin or a file, the contents are read as RFC2483. The input may contain file URIs.
OPTIONS¶
Core¶
-o, --check-mode-offline
config: core.check-mode-offline=<boolean>
-B, --print-subtitles
-S, --print-streams
-l, --subtitle-language PATTERN[,PATTERN,...]
The value may also contain the reserved keyword croak which will cause libquvi(3) to exit with an error when reached.
Note
The first available subtitle language will be chosen if nothing matched the PATTERN
config: core.subtitle-language=<PATTERN[,PATTERN,...]>
-s, --stream PATTERN[,PATTERN,...]
The value may contain the following reserved keywords:
The best quality is determined by the libquvi-scripts(7) by comparing the media quality properties, e.g. the video height property, although the actual method may vary depending on the data provided by the media hosting service.
Note
The first available stream is selected if nothing matched
config: core.stream=<PATTERN[,PATTERN,...]>
-p, --print-format FORMAT (default: varies)
Note
The default value varies, see DEFAULT BEHAVIOUR.
config: core.print-format=<FORMAT>
-b, --verbosity LEVEL (default: verbose)
config: core.verbosity=<LEVEL>
Dump¶
-q, --query-metainfo
config: dump.query-metainfo=<boolean>
Exec¶
-A, --exec-dump-argv
config: exec.dump-argv=<boolean>
-E, --exec-enable-stderr
config: exec.enable-stderr=<boolean>
-O, --exec-enable-stdout
config: exec.enable-stdout=<boolean>
-e, --exec COMMAND
%s Media property: start time (ms) %T Media property: thumbnail URL %d Media property: duration (ms) %u Media stream property: URL %I Media stream property: ID %t Media property: title %i Media property: ID %e File extension[1] %f Path to the saved media file[2]
[1]: The file extension is parsed from the HTTP content-type header.
quvi-get(1) replaces this sequence with HTTP media streams only.
quvi-dump(2) replaces it only when --query-metainfo is used with
HTTP media streams.
[2]: This sequence is unique to quvi-get(1)
This option may be specified multiple times. In the quvirc(5) file, specify the commands in a comma-separated list.
config: exec.external=<COMMAND[,COMMAND,...]>
HTTP¶
-c, --enable-cookies
config: http.enable-cookies=<boolean>
-u, --user-agent USERAGENT (default: Mozilla/5.0)
Note
libquvi-scripts(7) may override this value
config: http.user-agent=<USERAGENT>
EXAMPLES¶
$ quvi dump -p xml MEDIA_URL
$ quvi dump -e "totem %u" MEDIA_URL
$ quvi dump -p json PLAYLIST_URL
$ quvi dump -p json -B MEDIA_URL
$ quvi dump -S MEDIA_URL
$ quvi dump PLAYLIST_URL | quvi dump
ENVIRONMENT¶
See quvi(1)
EXIT STATUS¶
Either EXIT_SUCCESS or EXIT_FAILURE. The actual value depends on the platform, on POSIX systems they are 0 (success) and 1 (failure).
SEE ALSO¶
FURTHER RESOURCES¶
Home
Development code
gitweb
AUTHORS¶
Toni Gundogdu <legatvs@gmail.com>
REPORTING BUGS¶
Report bugs to the quvi-devel mailing list <quvi-devel@lists.sourceforge.net> where the development and the maintenance is primarily done. You do not have to be subscribed to the list to send a message there.
LICENSE¶
quvi is Free Software licensed under the GNU Affero GPLv3+
QUVI¶
Part of the quvi(1) suite
11/10/2013 | quvi 0.9.5 |