Cleanup on music folders

All your suggestions, requests and ideas for future development
Post Reply
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Cleanup on music folders

Post by techitch »

I'm using the move action to to rename and move my mp3/flac files
I notice the clean up still leaves some residual dir and files in there. It seems that .cue and .m3u are not handled by clean up.

Is it possible to make sure these files are handled in the cleanup? perhaps you could add a variable in args that allows you to specify cleanup extensions.
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cleanup on music folders

Post by rednoah »

Assuming that you're using the cleaner script, you can pass in your own extension blacklist via --def exts.

:!: If you run the cleaner script on music files, won't it delete everything because everything is below the 20 MB filesize limit?

Please read the docs for details: viewtopic.php?f=4&t=5#p1341

EDIT: Added m3u and cue to the defaults: https://github.com/filebot/scripts/comm ... 3933ed57bf
:idea: Please read the FAQ and How to Request Help.
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Re: Cleanup on music folders

Post by techitch »

sorry, meant to specific, i'm using AMC and have enabled the clean up function in there.
It cleans everything else except the m3u and cue.

Also regarding processing of music, it would be great to be able to create a new playlist file based on the renamed filenames. If we process the files and change the names, it generally renders the m3u useless (hence the desire to remove it) - would be nice if we could create a new working m3u file as part of the process with the updated names
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cleanup on music folders

Post by rednoah »

I've added m3u and cue to the default clutter extension list so it should remove those as well if you use the latest revision.

Creating m3u/cue files is definitely out-of-scope for FileBot, but cross-referencing the FileBot history with given m3u/cue files wouldn't be more than a few lines of code if somebody wants to contribute a 3rd party script for that.
:idea: Please read the FAQ and How to Request Help.
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Re: Cleanup on music folders

Post by techitch »

yeah, upon research it actually would need to be some kind of .cue conversion tool as the .cue contains the pregap information for gapless playback which we'd want to preserve.
It means the script would need to update the .cue with the new filenames rather than delete and re-create
Post Reply