Permalink
Browse files

remove fswatcher call

  • Loading branch information...
1 parent afe6e41 commit 08c1a78c782ceec99e7b521b8dbaae76c5e6b08f @RJ committed Apr 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 playdar_modules/library/src/library_dets.erl
@@ -150,7 +150,7 @@ handle_call({add_file, File, Mtime, Size, Tags}, _From, State) when is_list(Tags
handle_call({scan, Dir}, From, State) ->
dets:insert(State#state.fdb, {music_dirs, music_dirs(State#state.fdb)++[Dir]}),
- fswatcher_driver:watch(Dir),
+ %fswatcher_driver:watch(Dir),
spawn(fun()->
gen_server:reply(From, (catch scanner:scan_dir(State#state.scanner, Dir)))

0 comments on commit 08c1a78

Please sign in to comment.