]> git.sesse.net Git - vlc/blobdiff - src/input/vlmshell.c
Revert "Do not scan for subtitles files in the current dir for TS files"
[vlc] / src / input / vlmshell.c
index db5d005a9bdb2b632a5669c517cc342384e3bed8..d2fcc54e78f515ac520481dcf0a91d4ce5e23721 100644 (file)
@@ -134,7 +134,7 @@ static int Unescape( char *out, const char *in )
         // 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;
@@ -666,6 +666,7 @@ static int ExecuteScheduleProperty( vlm_t *p_vlm, vlm_schedule_sys_t *p_schedule
     *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 );