Gosh ... will have a look at it :-)The thing is the script needs to delete 'J:\' and ' H:\' parts, not replace them If you do what you wrote, you still have the same problem.
I can always get the search down to the recently-modified files, save as .m3u, edit with H:\ replaced by J:\ as appropriate, load the new ones, kill dead items, and I will have two that match in paths.
(By the way, I missed that m-tags could commit to file - the then-absence of such a feature was the reason I never used it. foo_external_tags can commit to file, actually.)
The script compares tags file (which has 'H') to selected tracks ('J'). Therefore you need to delete paths internally when comparing paths or change the pats of the tags file. If you replace paths of selected tracks editing the playlist, you are simply pointing the files to the original tracks again. Thus comparing the tags file to the tracks they were originated from!
Either you adjust the script args with the right paths as written OR you edit the tag file (*.json):
- Omit step 1.
- Do step 2.
- Do step 3.
- Open tags.json file and replace all 'H:\' (current tracks path) with 'J:\' (backup tracks path) and done.
- Do step 4.
- Do step 5.