[...to count discs...] we need an extra storage place to hold a user defined value while
an action runs against the selected tracks
Since then, Mp3tag as acquired actions for Export and Import. So perhaps a solution is: an Export action counts the discs and writes the results to a text file, and then a Import Text File action does a lookup to write them into the tags.
Though this would not work before the fix to the bug at /t/5799/1 .
Yet I didn't tested the new export/import actions in full scope. Today I thought about the discnumber problem of this thread can be solved by export/import action.
I was in great hope that export/import actions can be used as a temporary storage while running a stream of actions, but we have to realize that the export/import actions are not so powerful and flexible like the other actions. Now we have to find a new workaround for this upcoming new Mp3tag design glitch. That's a pity.
Florian will surely be unable to resist the urge to allow Export first! This will unleash the power of scripting for action data!
If we then also had Action Tagfile - Tag it would permit very neat solutions to two-pass problems such as tagging disc quantity and track quantity, plsu album keying and more exotic things like Album Artist deduction.
Florian, if you would consider this, please also add a %tempfilepath% placeholder, to allow Export and Import to link up without deployment problems. Simple %tempfolderpath% would be incompatible with possible future multiple instances.
You don't have a single operation, you need to export, then import.
The user has a single operation: run an action group. The author has put the Export and Import as multiple actions within the group, no more so that your proposed two-operation method has multiple actions within the group(s)
Either method will work, it is just a mattter of opinion as to where it is best accomplished.
I would like to use an export action that can be freely positioned into an actiongroup at multiple places anywhere in the actiongroup where it is needed and should be applied (fileput), each export action with full support of creating a new textfile by default and having an additional option to append output to existing textfile (fileputappend).
As an sideeffect, such an export action can be used as a debugging instrument.
Beside this physical storage attempt, I would like to use one ore more global in memory placeholder/s for counting and other purposes e. g. as a disc counter.
"Tag format as global constant/variable" or so.
I couldn't get either of these to work.I think the method is okay but my beginners scripting is in error. could anybody suggest where I am going wrong?