#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_playlist.h>
+#include <vlc_art_finder.h>
#include <vlc_charset.h>
#include <vlc_url.h>
*****************************************************************************/
static int FindMeta( vlc_object_t *p_this )
{
- input_item_t *p_item = (input_item_t *)p_this->p_private;
+ art_finder_t *p_finder = (art_finder_t *)p_this;
+ input_item_t *p_item = p_finder->p_item;
bool b_have_art = false;
int i;
{
if( i == -1 ) /* higher priority : configured filename */
{
- char *psz_userfile = config_GetPsz( p_this, "filename" );
+ char *psz_userfile = config_GetPsz( p_this, "album-art-filename" );
if( !psz_userfile )
continue;
snprintf( psz_filename, MAX_PATH, "%s%s", psz_path, psz_userfile );