2 -- Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com>
4 -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
6 -- This program is free software: you can redistribute it and/or
7 -- modify it under the terms of the GNU Affero General Public
8 -- License as published by the Free Software Foundation, either
9 -- version 3 of the License, or (at your option) any later version.
11 -- This program is distributed in the hope that it will be useful,
12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 -- GNU Affero General Public License for more details.
16 -- You should have received a copy of the GNU Affero General
17 -- Public License along with this program. If not, see
18 -- <http://www.gnu.org/licenses/>.
24 -- (q)uvi (err)or codes
28 M
.qerr_callback_aborted
= 0x01
29 M
.qerr_no_subtitle_export_scripts
= 0x02
30 M
.qerr_no_subtitle_scripts
= 0x03
31 M
.qerr_no_playlist_scripts
= 0x04
32 M
.qerr_no_media_scripts
= 0x05
33 M
.qerr_no_scan_scripts
= 0x06
34 M
.qerr_no_util_scripts
= 0x07
35 M
.qerr_keyword_croak
= 0x08
36 M
.qerr_invalid_arg
= 0x09
37 M
.qerr_proxy_init
= 0x0a
38 M
.qerr_curl_init
= 0x0b
39 M
.qerr_lua_init
= 0x0c
40 -- dynamically created
41 M
.qerr_no_support
= 0x40
42 M
.qerr_callback
= 0x41
43 -- an error occurred in a callback, e.g. a network error.
47 -- (q)uvi (o)bject (o)ption
49 M
.qoo_croak_if_error
= 0x01 -- Terminate if an error occurs
51 M
.qoo_fetch_from_charset
= 0x20 -- Convert (to UTF-8) from this charset
53 M
.qoo_http_user_agent
= 0x40 -- Identify to HTTP servers as
55 M
.qoo_crypto_cipher_flags
= 0x60 -- Cipher flags
56 M
.qoo_crypto_cipher_mode
= 0x61 -- Cipher mode
57 M
.qoo_crypto_cipher_key
= 0x62 -- Cipher key (hex-string)
58 M
.qoo_crypto_algorithm
= 0x63 -- Algorithm, e.g. 'aes' or 'sha1'
61 -- (q)uvi (o)bject (c)rypto (o)ption
62 -- See gcrypt.h, and http://www.gnupg.org/documentation/manuals/gcrypt/
65 M
.qoco_cipher_mode_ecb
= 0x01
66 M
.qoco_cipher_mode_cfb
= 0x02
67 M
.qoco_cipher_mode_cbc
= 0x03
68 M
.qoco_cipher_mode_stream
= 0x04
69 M
.qoco_cipher_mode_ofb
= 0x05
70 M
.qoco_cipher_mode_ctr
= 0x06
72 M
.qoco_cipher_secure
= 0x01
73 M
.qoco_cipher_enable_sync
= 0x02
74 M
.qoco_cipher_cbc_cts
= 0x04
75 M
.qoco_cipher_cbc_mac
= 0x08
82 M
.st_tts
= 0x1 -- text-to-speech
83 M
.st_cc
= 0x2 -- closed caption
85 -- (s)ubtitle (i)nternal (f)ormat
86 M
.sif_tt
= 0x1 -- timed text
90 -- vim: set ts=2 sw=2 tw=72 expandtab: