When I try your script in Picards editor for file naming scripts, the disc number is shown in the examples at the bottom of the window. The only thing missing is an ( in front of $num(%discnumber%,2)). What does it say in your case?
Is it possible that you’re just using the existing metadata in your files and the %discnumber% value is missing? If so, try replacing %discnumber% in your script with $if2(%discnumber%,1) and see if that does what you want. I’ll try translating this to Spanish with DeepL.
Hello! thanks for the translation, really google translator is a good tool to communicate internationally
I have tried what you tell me, and it still does not write the disk number in the file.
I have uninstalled MBP, I have tried it on another PC, I have verified that the files are not read-only… and there is no way, it is very strange.
Do you mean that the disc number doesn’t appear in your file name, or doesn’t appear in the file’s metadata? If it doesn’t show up in the metadata then I’m guessing that you have this in your file renaming script and not in a tagging script. If it is in a tagging script, then I’m guessing that you’re not matching your files to releases retrieved from MusicBrainz before saving them but are saving directly from the clustering pane. That would cause the tagging script not to be run. If that’s the case, you need to force the script to run by right-clicking on the cluster, go to “Run scripts” and then select the appropriate tagging script.
If the disc numbers show in the metadata, but your files are not being renamed then check that you have the “Rename files when saving” option checked in the “File Naming” section of the “Options…”
Before entering the forum, I checked those things, still, I will check what you say again, but I have another problem with the software. After several sessions, it stops saving the file metadata, a red icon appears next to the files. I have to uninstall the program and reinstall it. I don’t know what could be happening