Skip to content
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

Delete "extra" files after album import #416

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments
Open

Delete "extra" files after album import #416

GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

We could find lot of useless files when downloading music albums (legally for 
sure :p)

Ex :

/Downloads/Queen - Night at the Opera (1990)/extras/back.jpg
/Downloads/Queen - Night at the Opera (1990)/extras/front.jpg
/Downloads/Queen - Night at the Opera (1990)/extras/live 2012.mp3
/Downloads/Queen - Night at the Opera (1990)/01 Track.mp3
/Downloads/Queen - Night at the Opera (1990)/02 Track.mp3 
/Downloads/Queen - Night at the Opera (1990)/03 Track.mp3 
/Downloads/Queen - Night at the Opera (1990)/04 Track.mp3 
/Downloads/Queen - Night at the Opera (1990)/05 Track.mp3 
/Downloads/Queen - Night at the Opera (1990)/readme.txt
/Downloads/Queen - Night at the Opera (1990)/uploaded-by-MAsTer-UploaDer.nfo
/Downloads/Queen - Night at the Opera (1990)/folder.jpg
/Downloads/Queen - Night at the Opera (1990)/cover.jpg
/Downloads/Queen - Night at the Opera (1990)/Look.At.My.Other.Uploads.url

So here we are : 50% of thoses files above are useless and when downloading 
severals albums, it take a lot of time to clean up everything.

I think about two options in .beetsconfig to do the job :

delete-files: readme.txt *.nfo *.jpg .DS_Store
=> Will delete only files that match above pattern (after import)
=> Default : ''

delete-folder: yes
=> Will delete the entire album folder after import regardless to remaining 
files in it
=> Default : no

What do you think about this ?

Original issue reported on code.google.com by [email protected] on 1 Aug 2012 at 4:41

@untitaker
Copy link

Do not comment here, but on beetbox/beets#145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants