1 /*****************************************************************************
2 * vlc_meta_engine.h: meta engine module.
3 *****************************************************************************
4 * Copyright (C) 2006 the VideoLAN team
7 * Authors: Antoine Cellerier <dionoea A videolan D org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef _VLC_META_ENGINE_H
25 #define _VLC_META_ENGINE_H
29 #define VLC_META_ENGINE_TITLE 0x00000001
30 #define VLC_META_ENGINE_AUTHOR 0x00000002
31 #define VLC_META_ENGINE_ARTIST 0x00000004
32 #define VLC_META_ENGINE_GENRE 0x00000008
33 #define VLC_META_ENGINE_COPYRIGHT 0x00000010
34 #define VLC_META_ENGINE_COLLECTION 0x00000020
35 #define VLC_META_ENGINE_SEQ_NUM 0x00000040
36 #define VLC_META_ENGINE_DESCRIPTION 0x00000080
37 #define VLC_META_ENGINE_RATING 0x00000100
38 #define VLC_META_ENGINE_DATE 0x00000200
39 #define VLC_META_ENGINE_URL 0x00000400
40 #define VLC_META_ENGINE_LANGUAGE 0x00000800
42 #define VLC_META_ENGINE_ART_URL 0x00001000
44 #define VLC_META_ENGINE_MB_ARTIST_ID 0x00002000
45 #define VLC_META_ENGINE_MB_RELEASE_ID 0x00004000
46 #define VLC_META_ENGINE_MB_TRACK_ID 0x00008000
47 #define VLC_META_ENGINE_MB_TRM_ID 0x00010000
49 typedef struct meta_engine_sys_t meta_engine_sys_t;
57 uint32_t i_mandatory; /**< Stuff which we really need to get */
58 uint32_t i_optional; /**< Stuff which we'd like to have */