On Fri, 21 Nov 2014, Geoff Barkman wrote:
Thats interesting about the files importing before they are finished copying. I struck that a few years back when copying pcm wave files into dropboxes... I assumed the network was too slow... so I assumed. I solved it by saving as 320k mp3.... and hadn't struck the problem since. I wonder if an option would be for a dropbox to wait a few mins before it started importing? Perhaps a checkbox or an ability to wait x number of minutes before it started importing?
30 seconds is usually enough, although it's easy to change the value in my script. It runs at the top of each minute, checking all subfolders of /home/scott/import except "bad", which is where invalid files end up, and any other subfolders listed in an exceptions list.
If a previous instance of the script is already running the new one immediately terminates.
The script will run rdimport on any files with a .wav suffix. Anything else gets moved to 'bad", along with any file that fails to import.
Rob _______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
