Warning: Tag 'yrrc' is not defined

Started by foremtehan, February 07, 2023, 03:50:50 PM

Previous topic - Next topic

foremtehan

I wanted to add some tags listed here but some of them not working, for example (Year tag):

$ exiftool -yrrc=2011 file.m4a -overwrite_original
result: "Warning: Tag 'yrrc' is not defined
Nothing to do."

I tried to replace yrrc with year but the output file does not have year tag.

Also what is the suitable tag for 'user defined tag'? (same thing in id3v2 which is TXXX), Thanks.

StarGeek

You write to the tag name, not the id
C:\>exiftool -P -overwrite_original -year=1999 Y:\!temp\Test.m4a
    1 image files updated

C:\>exiftool -G1 -a -s -year Y:\!temp\Test.m4a
[ItemList]      Year                            : 1999

Quote from: foremtehan on February 07, 2023, 03:50:50 PMI tried to replace yrrc with year but the output file does not have year tag.

Did you check with exiftool or some other program.  Check with exiftool first, as I did above.  If the file shows that the Year tag exists, then this would be FAQ #3.  You need to figure out what tag that other program is actually reading.

Also note that there are three separate Year tags.  It may be that your other program is looking for the tag in a different group
C:\>exiftool -P -overwrite_original -ItemList:year=1999 -Keys:year=1999 -Userdata:year=1999 Y:\!temp\Test.m4a
    1 image files updated

C:\>exiftool -G1 -a -s -year Y:\!temp\Test.m4a
[ItemList]      Year                            : 1999
[UserData]      Year                            : 1999
[Keys]          Year                            : 1999
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

foremtehan

#2
Yeah, That would work.

The MediaInfo app shows it correctly:

Released date               : 1999
Writing application         : Lavf59.27.100
yrrc                        : 1999
com.apple.quicktime.year    : 1999

But the app i was working on is Edit ID Tag from dbpoweramp which still does not show the year:

https://i.imgur.com/9ABbeAX.jpg

Update: The AIMP app not recognize the year too

Update2: Looks like the tag i'm looking for is ContentCreateDate, now i got:
Warning: Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z]) in ItemList:ContentCreateDate (PrintConvInv)
:((

Phil Harvey

Add -n to the command or use -itemlist:contentcreatedate#=1999

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).