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.
Simple script to add movie date to title
-
RalphM
- Posts: 2089
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Simple script to add movie date to title
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.
Certainly not going to be a "simple" script as you describe it.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
mrbosco
- Posts: 141
- Joined: 03 Sep 2011 09:40
Re: Simple script to add movie date to title
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.
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.
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Simple script to add movie date to title
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;-
mrbosco
- Posts: 141
- Joined: 03 Sep 2011 09:40
Re: Simple script to add movie date to title
Terrific!
Thank You!
Thank You!
XYplorer Beta Club