Getting the timestamp before the metadata request makes it a bit more accurate, if, for some reason, the MusicBrainz request takes a while (or even timeouts).
External metadata should only be requested from MusicBrainz on resubmission if enabled, to be consistent with the normal operation.
Lastly, the user data can be queried once instead of in every loop iteration.
Getting the timestamp before the metadata request makes it a bit more accurate, if, for some reason, the MusicBrainz request takes a while (or even timeouts).
External metadata should only be requested from MusicBrainz on resubmission if enabled, to be consistent with the normal operation.
Lastly, the user data can be queried once instead of in every loop iteration.