inotify: Fix new video file detection for TYPE_AUDIO|TYPE_VIDEO media_dirs.
We were missing a return in one of the cases for the switch. Patch #150 from user Shrimpkin. Fixes: Support Request #40 (Inotify don't work when add *.mts video)
This commit is contained in:
parent
13d36533b5
commit
a294f624e0
@ -328,6 +328,7 @@ inotify_insert_file(char * name, const char * path)
|
|||||||
if( !is_audio(path) &&
|
if( !is_audio(path) &&
|
||||||
!is_video(path) &&
|
!is_video(path) &&
|
||||||
!is_playlist(path) )
|
!is_playlist(path) )
|
||||||
|
return -1;
|
||||||
break;
|
break;
|
||||||
case TYPE_AUDIO|TYPE_IMAGES:
|
case TYPE_AUDIO|TYPE_IMAGES:
|
||||||
if( !is_image(path) &&
|
if( !is_image(path) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user