# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_stream.h>
#include <vlc_meta.h>
/* If we already checked this album in this session, skip */
if( psz_artist && psz_album )
{
- FOREACH_ARRAY( playlist_album_t album, p_playlist->p_fetcher->albums )
+ FOREACH_ARRAY( playlist_album_t album, pl_priv(p_playlist)->fetcher.albums )
if( !strcmp( album.psz_artist, psz_artist ) &&
!strcmp( album.psz_album, psz_album ) )
{
a.psz_album = psz_album;
a.psz_arturl = input_item_GetArtURL( p_item );
a.b_found = (i_ret == VLC_EGENERIC ? false : true );
- ARRAY_APPEND( p_playlist->p_fetcher->albums, a );
+ ARRAY_APPEND( pl_priv(p_playlist)->fetcher.albums, a );
}
else
{
const char *psz_title,
const char *psz_artist, const char *psz_album )
{
- char *psz_cachedir = config_GetCacheDir();
+ (void)p_obj;
+ char *psz_cachedir = config_GetCacheDir();
if( !EMPTY_STR(psz_artist) && !EMPTY_STR(psz_album) )
{