// Don't escape the end of the string if we find a '#'
// that's the begining of a vlc command
// TODO: find a better solution
- if( c == '#' || param )
+ if( ( c == '#' && !quote ) || param )
{
param = true;
*out++ = c;
*pp_status = vlm_MessageSimpleNew( psz_cmd );
vlc_mutex_lock( &p_vlm->lock_manage );
+ p_vlm->input_state_changed = true;
vlc_cond_signal( &p_vlm->wait_manage );
vlc_mutex_unlock( &p_vlm->lock_manage );