Is there a way of combining what a particular tool does along with a related action?
For example, I have made a tool that deletes a CDG & MP3 pair (or pairs) selected in MP3Tag (runs the DOS DEL command). I'd like to pair it with an ACTION that removes the file info (still selected) from the current list so I wouldn't have to click Remove after the tool operation completes. I've looked everywhere but can't find anything that does this.
No, there are not actions for file deletion or refresh. You also should be aware that all your operations with the tools feature happen outside of Mp3tag.
Yes, I'm aware that Tools are outside of Mp3tag. I was hoping there might be some sort of batch function that could combine the two. Run the tool I've set up then when finished (or even after a delay) run some action to remove the selected files that were deleted from the view. But, I guess there isn't a way of doing that. Oh well.
Is there a reason why you want to do this deletion with a tool? I think that if you have to mark the files in Mp3tag to call this tool it would be even faster to delete these marked files with CTRL-DEL.
No.
MP3tag has no control over what a "tool" does and when it finished.
So, if you deleted files with a tool, then it would probably still be displayed in MP3tag and cause an error as it is not accessible any more.
I think that the only way out is a modification in the workflow that separates tagging actions from file system operations.
Because Mp3tag does not delete karaoke pairs (CDG & MP3). It does copy/move fine but delete gets the MP3 file and leaves the CDG mate behind. Unless there's a different programmatic form of Del that kills both, I needed the tool.
If "Move" works with a pair you could use a workaround and move them to an operational folder (i.e. C:\ToBeDeleted) and delete the moved files from time to time all together.
Mp3tag can delete any file shown in the file list.
Options > Tags > add *.cdg to "Restrict incoming files to:"
However, the file list might have to be sorted in a way that shows karaoke pairs together (eg. by path or filename) to make accurately identifying them easier.
Well I tried it but it doesn't work as needed. It moves the file OK but the item still stays in the list view. I'm doing a lot of moving karaoke files around and usually select all of an artist. If say a few of those are formatted to the DELETE folder, they would still get selected. Uggh.
I tried showing the .CDG files but it appears to create a bug. If I run my Filename format action (to put the filename in the format of ARTIST - TITLE [PUBLISHER] on BOTH files, it the .CDG file gets blanked in the name leaving only the dash and brackets. If I run the same action (that works when only the .MP3 is shown) on just the .MP3 file, it doesn't change the .CDG name at all. I don't know if there's a problem with my format string but it works fine when the .CDG file is not displayed in the list.
ACTION: FORMAT VALUE %artist% - %title% '['%publisher%']'
(Publisher is what I use to denote the Karaoke source)
BOTH SELECTED:
ONLY MP3 SELECTED:
AND WHEN CDG NOT DISPLAYED
PRE RUNNING ACTION:
Mp3Tag:
Explorer:
Check the result in Explorer.
When I changed the filename of a MP3 file, the name of the matching CDG file was also changed.
To see the new file name in Mp3tag, refresh the file list. (View > refresh, or F5)
Did you have the list view changed so CDG files were also shown? I've checked this twice. If the CDG files are shown in the MP3Tag list and you delete JUST the MP3, the CDG does not get deleted.
I can not see any difference if the cdg-suffix is included or not included for deletion. Did it ever work this way, that you only have to delete the mp3-file and the cdg-files gets deleted too?
If you mark both files and delete them both are deleted and Mp3tag also refreshes the view.
If you mark both files and rename them with your format string this cannot work, because for renaming the tags are used and the cdg-file has no tags.
If you mark only the mp3-file and rename it, the cdg-file also gets renamed, but you cannot see the result in the list-view. You have to refresh the view in Mp3tag to see the result, the same for moving files.
This feature is obviously not completely designed to be used with a scenario where the cdg-files are configured to be shown. If you use Convert->Filename, the preview does also not show any result for the silently also renamed cdg-file.