QUVIRC(5) | quvi Manual | QUVIRC(5) |
quvirc - The simple configuration file for the quvi program
A quvi configuration file consists of groups of key-value pairs similar to the so called .ini-like configuration files. quvi uses the GLib to parse the configuration. GLib refers to these files as key files, for lack of a better name.
The lines beginning with a # are considered as comments. You can annotate your configuration file using this character. All text after the comment character to the end of the line is ignored.
GKeyFile has some limitations that should be considered when you use a configuration file to configure quvi.
Multiple keys
Multiple groups
The syntax of the configuration file is described in detail in the Desktop Entry Specification at http://freedesktop.org/Standards/desktop-entry-spec
GKeyFile is described in detail in the GLib reference documentation at http://developer.gnome.org/glib/stable/glib-Key-value-file-parser.html
The program will by default search the quvirc file from the typical configuration file paths. These paths (order and location) are determined by GLib, based on how it was configured.
$ quvi info --print-config-paths /usr/share/gnome/quvi/quvirc /usr/share/gdm/quvi/quvirc /usr/local/share/quvi/quvirc /usr/share/quvi/quvirc /home/legatvs/.local/share/quvi/quvirc /home/legatvs/.config/quvi/quvirc
Each of the same group variable value read from another quvirc replaces the current value. For example:
~/.local/share/quvi/quvirc [core] stream = foo ~/.config/quvi/quvirc [core] stream = bar
The program would use "bar" as the core.stream value.
A given quvirc could look like:
[core] check-mode-offline = true print-format = json subtitle-language = cc_en,tts_en stream = 480p,720p,best #verbosity = debug [dump] query-metainfo = true [exec] enable-stdout = true external = echo %t,mplayer %u [get] output-regex = %t:/\\w|\\s/,%t:s/\\s\\s+/ / output-name = %t_%i.%e resume-from = -1 throttle = 500 [http] #user-agent = foo/1.0 enable-cookies = true
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 |