00001 /***************************************************************************** 00002 * art.h: 00003 ***************************************************************************** 00004 * Copyright (C) 1999-2008 VLC authors and VideoLAN 00005 * $Id: eb3aa231c989e2ee91098db119055c372e79da66 $ 00006 * 00007 * Authors: Samuel Hocevar <sam@zoy.org> 00008 * Clément Stenac <zorglub@videolan.org> 00009 * 00010 * This program is free software; you can redistribute it and/or modify it 00011 * under the terms of the GNU Lesser General Public License as published by 00012 * the Free Software Foundation; either version 2.1 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public License 00021 * along with this program; if not, write to the Free Software Foundation, 00022 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00023 *****************************************************************************/ 00024 00025 #ifndef _PLAYLIST_ART_H 00026 #define _PLAYLIST_ART_H 1 00027 00028 typedef struct 00029 { 00030 char *psz_artist; 00031 char *psz_album; 00032 char *psz_arturl; 00033 bool b_found; 00034 00035 } playlist_album_t; 00036 00037 int playlist_FindArtInCache( input_item_t * ); 00038 00039 int playlist_SaveArt( playlist_t *, input_item_t *, const uint8_t *p_buffer, int i_buffer, const char *psz_type ); 00040 00041 #endif 00042
1.7.1