*****************************************************************************
* Copyright © 2006-2008 Rafaël Carré
* Copyright © 2007-2008 Mirsal Ennaime
+ * Copyright © 2009 The VideoLAN team
* $Id$
*
* Authors: Rafaël Carré <funman at videolanorg>
#include <vlc_plugin.h>
#include <vlc_aout.h>
#include <vlc_interface.h>
-#include <vlc_meta.h>
-#include <vlc_input.h>
#include <vlc_playlist.h>
#include <math.h>
SIGNAL_PLAYLIST_ITEM_APPEND,
SIGNAL_PLAYLIST_ITEM_DELETED,
SIGNAL_RANDOM,
+ SIGNAL_REPEAT,
SIGNAL_LOOP,
SIGNAL_STATE
};
TrackListChangeEmit( p_intf, info->signal, info->i_node );
break;
case SIGNAL_RANDOM:
+ case SIGNAL_REPEAT:
case SIGNAL_LOOP:
- case SIGNAL_STATE:
StatusChangeEmit( p_intf );
break;
default:
info->signal = SIGNAL_PLAYLIST_ITEM_DELETED;
else if( !strcmp( "random", psz_var ) )
info->signal = SIGNAL_RANDOM;
+ else if( !strcmp( "repeat", psz_var ) )
+ info->signal = SIGNAL_REPEAT;
else if( !strcmp( "loop", psz_var ) )
info->signal = SIGNAL_LOOP;
- else if( !strcmp( "state", psz_var ) )
- info->signal = SIGNAL_STATE;
else
assert(0);