-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty directories are sometimes left behind #130
Comments
Same here. With 1.3.6 all empty directories are left behind. I don’t know if the |
I can see scenarios where removing the top-level directory could be surprising for users e.g. a directory where you dump new files into for importing later. That directory would need to be recreated each time you wanted to add new files to it. On the other hand, the docs don't mention this at all - they imply that all empty directories will be pruned. So you could argue the current behaviour is more confusing :) IMO it makes more sense to prune the top level directory since it's something user has to explicitly enable by setting Maybe the best solution would be a new setting to enable this (disabled by default, of course). Usually adding more config options is not desirable but if this change would be confusing to existing users it seems like the only simple solution. |
Good point about the docs; I've added a note. Yes, a config option may be the only way here. That's what I was trying to avoid (it's such a hyper-specific behavior with potentially difficult-to-explain meaning), but I clearly haven't come up with any better ideas. 😃 |
I do no think adding a option — off by default — to always remove empty top-level directories after importing is that confusing, nor too difficult to explain. Currently, the docs on
If you add the option
Not sure if there would be any other caveats to having such an option, but you could always reiterate them in the docs. I understand that option bloat is a concern, but then again, the amount of options beets currently understands is probably already close to 100. Thanks for the cool utility btw :) The current behavior of clutter is currently my only little annoyance. |
Sure; it could definitely work! I'd suggest a name like |
This issue was automatically migrated from Google Code.
Original author: [email protected] (October 07, 2012 05:33:16)
Original issue: google-code-export/beets#445
The text was updated successfully, but these errors were encountered: