Re: [Banshee-List] file management plugin



On 8/28/06, Patrick van Staveren <trick vanstaveren us> wrote:
* Should not use a move - use copy.  Copy->update library
TrackInfo->Make sure there's no errors->Delete original

While I see where you're coming from, copies are substantially less
efficient than moves, especially when you're talking about a fifty gig
music collection.  It seems that doing rename() if possible (both
files on same filesystem), falling back to copy+delete if not, and
then checking the library at the end for consistency would be much
quicker.

OTOH the user will probably only pay the penalty once so maybe it
doesn't matter so much.

Bob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]