# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_meta.h>
vlc_module_begin();
set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_CONTROL );
- set_shortname( _( "Notify" ) );
- set_description( _("LibNotify Notification Plugin") );
+ set_shortname( N_( "Notify" ) );
+ set_description( N_("LibNotify Notification Plugin") );
add_integer( "notify-timeout", 4000,NULL,
TIMEOUT_TEXT, TIMEOUT_LONGTEXT, true );
intf_sys_t *p_sys = p_intf->p_sys;
p_input = p_playlist->p_input;
- pl_Release( p_playlist );
+ pl_Release( p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_yield( p_input );