Remove 'query formats' feature
[libquvi.git] / src / lua / def.h
blobc8a51344cee8db3ddc1072c3bbcdfb703497d725
1 /* libquvi
2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301, USA.
20 #ifndef l_def_h
21 #define l_def_h
23 #define USERDATA_QUVI_T "_quvi_t"
25 /* Common to all scripts */
27 #define GS_VERBOSE "verbose" /* Verbose flag */
29 /* Media script */
31 #define MS_START_TIME_MS "start_time_ms" /* Start streaming at */
32 #define MS_DURATION_MS "duration_ms" /* Media duration in ms */
33 #define MS_CATEGORIES "categories" /* Protocol categories */
34 #define MS_STREAM_URL "stream_url" /* Media stream URL */
35 #define MS_REQ_FORMAT "req_format" /* User requested format */
36 #define MS_INPUT_URL "input_url" /* App req. URL */
37 #define MS_THUMB_URL "thumb_url" /* Image thumbnail URL */
38 #define MS_GOTO_URL "goto_url" /* Redirect to URL */
39 #define MS_ACCEPTS "accepts" /* Script accepts URL */
40 #define MS_DOMAINS "domains" /* Accepted domains */
41 #define MS_TITLE "title" /* Media title */
42 #define MS_ID "id" /* Media ID */
44 #define MS_EMPTY ""
46 /* Playlist script */
48 #define PS_INPUT_URL "input_url" /* App req. URL */
49 #define PS_MEDIA_URL "media_url" /* Array of found media URLs */
50 #define PS_ACCEPTS "accepts" /* Script accepts URL */
51 #define PS_DOMAINS "domains" /* Accepted domains */
52 #define PS_ID "id" /* Playlist ID */
54 /* Scan script */
56 #define SS_INPUT_URL "input_url" /* App req. URL */
57 #define SS_MEDIA_URL "media_url" /* Array of found media URLs */
58 #define SS_CONTENT "content" /* Content to scan */
60 /* Utility script */
62 #define US_INPUT_URL "input_url" /* App req. URL */
64 #endif /* l_def_h */
66 /* vim: set ts=2 sw=2 tw=72 expandtab: */