Commit graph

3 commits

Author SHA1 Message Date
Andrew Kelley
5c8f45b6e9 improve import by URL feature. closes #171
* Drop dependency on temp module
 * Download files to music-folder/.tmp/ before moving them.
 * Don't watch folders that start with a '.'
 * Don't allow generated paths to start with a '.'

Fixes import file race condition.

Prevents needless file copy operation when importing in situations where
the music directory is in a different device than /tmp.
2014-03-26 17:17:07 -07:00
Andrew Kelley
4e560b93e8 don't end directory names with ".". closes #177 2014-03-26 16:21:33 -07:00
Andrew Kelley
0770149c55 fix download plugin 2013-09-26 05:21:27 -04:00