To be able to distinguish albums at OS level, I would like to include the total number of tracks on an album in the directory name. Often the field TOTALTRACKS is missing or contains the value of only one CD\LP of the album. I am therefore looking for a way to correctly fill this field in an action for multi-CD albums (e.g. the Woodstock box set).
Is there a simple solution?
TOTALTRACKS is a field only in MP4 files.
Other formats use TRACK with the format e.g. 7/9
I think that the total number of tracks always refers to one medium.
If you want to have it in a different way, you have to set the auto numbering wizard accordingly and renumber the files.
I think that the total number of tracks always refers to one medium.
If you want to have it in a different way, you have to set the auto numbering wizard accordingly and renumber the files.
I am satisfied with the results of the numbering wizard.
I am currently seeking a counter in the name of the directory.
If it would be helpful, I can set up a new tag.
If it would be at all possible, it would be nice if someone could suggest a way to create a procedure that depends on the name of the album and that can handle a number of albums at a time.
The principle problem is: MP3tag does not compare the data of 2 different files. So, MP3tag does not know/detect when e.g. the string in ALBUM changes.
Any kind of grouping would only work with an export - and then you would have to import the result somehow into the corresponding files.
So I think it will be tricky
This is the problem I would like to overcome.
Is there a way to have an internal variable?
Can an export (on ALBUM level) help to achive this?
Here is a quick&dirty counter export:
$filename(CountFiles.txt,utf-8)
$loop(%album%,1)$loop(%_filename%)$loopend()%album%: %_max_counter%
$loopend()
See if you can do something with the output.
Just an observation on the (first) action with $num(%discnumber%,2): this cuts away the part following the slash so, 2/3 would become 02.
After that you would not know how many discs there are in the disc set.
@ohrenkino: Thank you for your immediate help.
But at this moment I have to organise my luggage,
as I will start my holiday tomorrow.
But I will continue this process in July at the latest....
Nice! ![]()
I never looked into this option. I rip my CDs in fre:ac in a very simple/strict way, never really have to fix on the folder level.
I used to this in bash, but it was difficult to know if there were files missing due to a bad rip!
This way I can compare much better in the way I rip CDs and use mp3tag.
If discogs does not have the right number, I add it myself.
With AutoSelect option turned on I see the number of files right away.



