Page 1 of 1

Cleanup on music folders

Posted: 06 Nov 2016, 03:52
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.

Re: Cleanup on music folders

Posted: 06 Nov 2016, 07:18
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

Re: Cleanup on music folders

Posted: 11 Nov 2016, 22:29
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

Re: Cleanup on music folders

Posted: 12 Nov 2016, 18:32
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.

Re: Cleanup on music folders

Posted: 12 Nov 2016, 22:58
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