Welcome Guest

Pages: 1
Disc Total and Track Total request
rpmzinePostJuly 7, 2026, 19:47
Newbie
Posts: 3
Registered:
July 7, 2026, 22:40
Normal topicDisc Total and Track Total request

Hi guys.

I am still getting acquainted with the many things you can do with Yate, as well as its different language and terminology. Anyway, I may have run into a problem with how older FLAC files are interpreted and sent to Apple.
I usually do the following procedures:
- Batch check files on Picard for general matching.
- Then I move to Yate for those who are not found or are not precisely recognised. It's Discogs time.
When importing from Discogs, I update or write over fields. However, by default, Yate doesn't seem to update when older FLAC files have something like TRACKNUMBER=13/13, because it displays on the Info tab as Track 13 of 13. However, when looking at the tag list, neither DISC TOTAL nor TRACK TOTAL is present.
- I keep FLAC saved and send to XLD to make a m4a version for Music app.

Which means that, when the file goes through XLD, it will be left with no disc total or track total.
In Picard and Metadatics, it is solved in different ways. In Picard, it will be standardised to VORBIS when it is moved to the processed side. In Metadatics, DISC TOTAL will be empty if it comes in that format.
I would like it so that whenever I save a file in Yate, these tags are standardised to the proper Vorbis format, without having to go through them every time. Or at least have a settings option for that in the future...

Thanks!

2MR2PostJuly 7, 2026, 20:19
Avatar photo
Administrator
Posts: 2468
Registered:
August 23, 2012, 19:27
Normal topicDisc Total and Track Total request

This is a mapping and workflow issue. All FLAC mappings are configurable and are read many, write one.

With the default mappings Yate's Disc Count writes DISCTOTAL and also reads TOTALDISCS.

With the default mappings Yate's Track Count writes TOTALTRACKS and also reads TRACKTOTAL.

These tags are about as standard as you can get in a world with almost no FLAC standards.

When you read a file with TRACKNUMBER=13/13, Yate will successfully decode it but unless the file is saved, it will not be changed to TRACKNUMBER=13, TOTALTRACKS=13.

The good news is that Yate has an action suite which contains an action which will call XLD to convert the files and then forces all the metadata to be identical to what is displayed.

Do a Yate>Resource Actions Installer. Look or search for Sync Files; select the row and enable its checkbox; Hit the Install Checked Actions button.

You will now have an action named: Convert Files

The action supports Permute and XLD.

Load up some files and run the action. The displayed configuration panel has a help button. Basically if you have an XLD preset which does what you want it's trivial to configure.

I have found that no converter preserves everything which is why this action was written. I use it constantly.

rpmzinePostJuly 8, 2026, 20:21
Newbie
Posts: 3
Registered:
July 7, 2026, 22:40
Normal topicDisc Total and Track Total request

Very interesting. And it makes a lot of sense. Thanks for the prompt response and clear explanation.
So I did what you told me and opted for one of the XLD presets (the one that transforms FLAC into M4A/ALAC). However, it gave an error without further reason. Here's an example from the log file.

2026-07-08T21:19:27
Action: Convert Files
Converter: XLD
Profile: M4A
Destination folder: /Volumes/iTunes/XLD Folder

***** Error converting:
/Users/xxxxx/Music/xxxxx/complete/_The Raconteurs/2006-10-20 - Brixton Academy, London, UK/1-01 The Raconteurs - Intimate Secretary.flac

By the way, if I force save any file, it still won't fix the issue, but let's suppose I just want to force that, when saving, the total disc and total tracks are "fixed". How can I do that, since Sync Action basically only works during transcoding?

2MR2PostJuly 8, 2026, 20:45
Avatar photo
Administrator
Posts: 2468
Registered:
August 23, 2012, 19:27
Normal topicDisc Total and Track Total request

Hmm... I've just tried it here and its working for me. Try using a preset as opposed to a profile. The preset I'm using is: 'Apple Lossless'.

rpmzinePostJuly 8, 2026, 21:56
Newbie
Posts: 3
Registered:
July 7, 2026, 22:40
Normal topicDisc Total and Track Total request

Nothing. Still the same error. Are there any limitations? Do I need to restart the computer or something like that? XLD is working on its own, by the way.

_> I think I found the problem: my XLD is in a subfolder of Applications, not in its root. I found it might be the reason as I ran FLAC to ALAC on selected files.

Edit 2: By creating another XLD instance on the /Applications folder, the "FLAC to ALAC" worked, but the Sync Files didn't. So it is not just the location of XLD...

2MR2PostJuly 8, 2026, 22:32
Avatar photo
Administrator
Posts: 2468
Registered:
August 23, 2012, 19:27
Normal topicDisc Total and Track Total request

The script that gets run is essentially:

/Applications/XLD.app/Contents/MacOS/XLD/Contents/MacOS/XLD --cmdline -o "path to output file.m4a" -f alac "path to source file.flac"

/Applications/XLD.app is not hard coded. I'm asking the OS for the path to XLD based on the XLD's bundle id. As long as you do not also have a copy of XLD in the Applications folder it should find the single item. If you have two copies of XLD it could be an issue. It's also possible that XLD assumes it's in the root.

Try moving XLD.app to /Applications. If it still doesn't reliably work please send me the following to support@2manyrobots.com:

- a screenshot of the XLD>About panel.
- a screenshot of the action's configuration panel.
- if possible a link to a file which is failing.

I'll have a look at it tomorrow.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.026 seconds.