Maybe the NAS OS handles it properly when the quick read happens over the network (which in any case would be slower and so less likely to happen before the real write completes). But here LMS is running on the NAS.
Quick hack to test that as a theory ... put a sleep 1s call before the file open call ... Code: -------------------- open my $fh, '<', $file or $log->error("Failed to open $file"); -------------------- Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland ------------------------------------------------------------------------ Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=112241 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter