All Albums Showing 1st of the month

I recently went to fix dates in my live albums and noticed an issue with all albums being “Originally Available” on the 1st of Jan for year of release.

I only noticed today i havent seen "on this day " for so long i had forgot it existed .

I Had run all albums thru musicbrainz picard and have prefer local meta data on .

An example tagged in picard 2013-05-27 in plexamp it shows originally availble as 2013-01-01.

I rescanned library with local metadata off and that appeared to tag correctly from brief check but when i switch prfer local metadata back on its all january 1st .

Scanner and agent set to Plex Music

Any ideas ?

I’ve repro’d the issue and filed an issue.

This is a regression in the latest beta version, I’ll patch this before it goes to public.

Thanks for the report!

2 Likes

Thats great mate , saves me going nuts re-tagging :slight_smile:

Thanks for quick reply much appreciated

Thought i would mention im on Server update Channel Public and Version 1.41.8.9834

Thanks. Yep, I’ve been looking into this and it doesn’t appear to be a recent regression.

Still investigating but it looks like when Picard tags the files, it sets the “Original release date” incorrectly (only the year is present).

We’ll always prefer this tag over the regular “Date” tag when it exists so that’s why we’re pulling it in as YEAR-01-01 because there is no month and day values.

1 Like

So just to correct myself earlier, this won’t be fixed in the 1.41.9 public release as it’s not a regression and technically not a bug as we’re just pulling what data we have.

I’ve left an open issue for us to discuss whether we should fall back to the regular date tag if it has the full date when the original date doesn’t.

1 Like

Thanks mate ,

Yeah it all started when i ran my library thru picard at start of year was fine before that .

Typically i thought i was doing well running it all thru picard took months bit by bit.

That fallback to regular date would save me a lot of work lol

For what its worth, I’m pretty sure its been like this forever. I think there was old threads on it from years ago and what I ended up doing to work around this was to set date = originaldate …

$set(date,$if2(%originaldate%,%date%))
$if($eq($len(%date%),4),$set(date,$if2(%originaldate%-01-01,%date%))) $noop( Add missing month & day )
$if($eq($len(%date%),7),$set(date,$if2(%originaldate%-01,%date%))) $noop( Add missing day )

… and then delete originaldate and originalyear

$delete(originaldate)
$delete(originalyear)

… this is all done via scripting within musicbrainz picard options.

1 Like

many thanks for that , will have a play around with picard.

That script is a massive help . may save my sanity :slight_smile:

FYI… found the old thread (2022) for reference → Music: Anyway to get Originally Available to use embedded tag date rather than originaldate? ( user anon5074910 is actually my old account ).

If your interested here is my scripting settings but do make sure to test out as while these work for me they may do something for you which you don’t want …

$set(artistsort,%albumartist%)
$set(albumartistsort,%albumartist%)
$set(albumsort,%album%)
$set(date,$if2(%originaldate%,%date%))
$if($eq($len(%date%),4),$set(date,$if2(%originaldate%-01-01,%date%))) $noop( Add missing month & day )
$if($eq($len(%date%),7),$set(date,$if2(%originaldate%-01,%date%))) $noop( Add missing day )
$delete(acoustid_id)
$delete(acoustid_fingerprint)
$delete(arranger)
$delete(asin)
$delete(barcode)
$delete(catalognumber)
$delete(compilation)
$delete(composer)
$delete(composersort)
$delete(conductor)
$delete(discsubtitle)
$delete(djmixer)
$delete(engineer)
$delete(isrc)
$delete(lyricist)
$delete(mixer)
$delete(originaldate)
$delete(originalyear)
$delete(performer)
$delete(producer)
$delete(releasecountry)
$delete(releasestatus)
$delete(remixer)
$delete(script)
$delete(writer)
$unset(performer:*)

Also, I use this renaming script in case its of any interest …

$if2(%albumartist%,%artist%)/
$if(%albumartist%,%album%) ($left(%date%,4)) [%releasetype%]/
$if($gt(%totaldiscs%,1),%discnumber%,)
$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2),) - %title%

I’ve over 11,500 albums on my plex server all tagged using the above from musicbrainz picard and all match 100% with plex.

1 Like

the first scripts you gave me worked a charm ,

Cant wait to try the others ,

Thanks again mate

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.