# Tagging-Scripts: Remixes & Compilations: Best Dates Strategy? (Date-Variables/ID3-Frames)

**URL:** https://community.metabrainz.org/t/tagging-scripts-remixes-compilations-best-dates-strategy-date-variables-id3-frames/584018
**Category:** MusicBrainz Picard
**Created:** [May 6, 2022, 12:16pm UTC](https://community.metabrainz.org/t/tagging-scripts-remixes-compilations-best-dates-strategy-date-variables-id3-frames/584018 "2022-05-06T12:16:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![davidesp](https://community.metabrainz.org/user_avatar/community.metabrainz.org/davidesp/32/53423_2.png) [@davidesp](https://community.metabrainz.org/u/davidesp)
#### Post date: [May 6, 2022, 12:16pm UTC](https://community.metabrainz.org/t/tagging-scripts-remixes-compilations-best-dates-strategy-date-variables-id3-frames/584018/1 "2022-05-06T12:16:56Z")

</div>

Remixes and Compilations seem to “throw a spanner in the works”. From the few examples I’ve so far seen, it looks to me as if MusicBrainz treats them like fresh recordings. In that case I can imagine two work-arounds:

- Either make my own custom TXXX frame e.g. `TXXX: Description: RecordedYear Value: 1965`, drawing its input from the Picard variable %\_recording\_firstreleasedate%.
- Or instead first copy the %date% value into say `TXXX: Description: MixReleaseDate` then overwrite %date% with %\_recording\_firstreleasedate%

In practice, in both cases, I’d use `$set(date,$if2(%_recording_firstreleasedate%,%originaldate%,%date%))`  
(as per [the example in the manual](https://picard-docs.musicbrainz.org/en/extending/scripts.html#tagging-script-examples)).

The latter of the two suggestions best-matches my immediate use-case. But would this be “going off piste” (e.g. in a way that might “bite me back” later)?

Does it sound reasonable?

---

<div class="post-metadata">

### Author: ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)
#### Post date: [May 6, 2022, 12:34pm UTC](https://community.metabrainz.org/t/tagging-scripts-remixes-compilations-best-dates-strategy-date-variables-id3-frames/584018/2 "2022-05-06T12:34:07Z")

</div>

> [@davidesp](#):
>
> From the few examples I’ve so far seen, it looks to me as if MusicBrainz treats them like fresh recordings

They _should_ be linked to the original recordings where it can be shown they are the same recording. This is sometimes too much work for the person adding the compilation release and they just make new recordings instead.

There were some threads on this kind of “best date” algorithms and progress is happening in Picard land. Trouble is it is hard to make a simple rule that “always works” as you will always have exceptions to a rule. There is always some level of manual checking going to be required.
