]> git.sesse.net Git - vlc/blob - src/playlist/art.h
avcodec: map LCL MSZH and ZLIB
[vlc] / src / playlist / art.h
1 /*****************************************************************************
2  * art.h:
3  *****************************************************************************
4  * Copyright (C) 1999-2008 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Samuel Hocevar <sam@zoy.org>
8  *          ClĂ©ment Stenac <zorglub@videolan.org>
9  *
10  * This program is free software; you can redistribute it and/or modify it
11  * under the terms of the GNU Lesser General Public License as published by
12  * the Free Software Foundation; either version 2.1 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * along with this program; if not, write to the Free Software Foundation,
22  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23  *****************************************************************************/
24
25 #ifndef _PLAYLIST_ART_H
26 #define _PLAYLIST_ART_H 1
27
28 typedef struct
29 {
30     char *psz_artist;
31     char *psz_album;
32     char *psz_arturl;
33     bool b_found;
34
35 } playlist_album_t;
36
37 int playlist_FindArtInCache( input_item_t * );
38 int playlist_FindArtInCacheUsingItemUID( input_item_t * );
39
40 int playlist_SaveArt( vlc_object_t *, input_item_t *,
41                       const void *, size_t, const char *psz_type );
42
43 #endif
44