Page 1 of 1
Simple script to add movie date to title
Posted: 03 Mar 2026 22:11
by mrbosco
Looking for a simple script, probably using RenameItem to append movie date to filename.
For example
I'd like Mary Poppins.mp4 to become Mary Poppins (1964).mp4
I wish the documentation had more examples.
Thank You.
Re: Simple script to add movie date to title
Posted: 03 Mar 2026 23:15
by RalphM
Where would the "1964" come from? MovieDB or meta data within the file?
Certainly not going to be a "simple" script as you describe it.
Re: Simple script to add movie date to title
Posted: 04 Mar 2026 02:42
by mrbosco
The year comes from meta data within the mp4 file.
It can be displayed by added a column with the Select Property being Year or by Window...Show Info Panel...Meta
Just can't figure out how to access this property to use to rename the file in a script.
Re: Simple script to add movie date to title
Posted: 04 Mar 2026 03:34
by jupe
Here is one way to do it that should work for any files that show the date in the Year property column.
rename , '* (<prop System.Media.Year>)', p, , 64;
Re: Simple script to add movie date to title
Posted: 04 Mar 2026 04:16
by mrbosco
Terrific!
Thank You!