QUVI-DUMP(1) | quvi Manual | QUVI-DUMP(1) |
quvi-dump - The dull-witted property printer
quvi dump [OPTIONS] [ARGS]
This command queries the properties for an URL and prints them to the stdout.
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.
The support for the media hosts is determined by the current selection of libquvi-scripts(7).
See quvirc(5) for more information about the groups and the variables that quvi parses.
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.
-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.
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.
The first available stream is selected if nothing matched
config: core.stream=<PATTERN[,PATTERN,...]>
-p, --print-format FORMAT (default: varies)
The default value varies, see DEFAULT BEHAVIOUR.
config: core.print-format=<FORMAT>
-b, --verbosity LEVEL (default: verbose)
config: core.verbosity=<LEVEL>
-q, --query-metainfo
config: dump.query-metainfo=<boolean>
-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,...]>
-c, --enable-cookies
config: http.enable-cookies=<boolean>
-u, --user-agent USERAGENT (default: Mozilla/5.0)
libquvi-scripts(7) may override this value
config: http.user-agent=<USERAGENT>
$ 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
See quvi(1)
Either EXIT_SUCCESS or EXIT_FAILURE. The actual value depends on the platform, on POSIX systems they are 0 (success) and 1 (failure).
Home
http://quvi.sourceforge.net/
Development code
git://repo.or.cz/quvi-tool.git
gitweb
http://repo.or.cz/w/quvi-tool.git
Toni Gundogdu <legatvs@gmail.com>
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.
quvi is Free Software licensed under the GNU Affero GPLv3+
Part of the quvi(1) suite
11/10/2013 | quvi 0.9.5 |