# What is the renaming command for the year of a movie?

**URL:** https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192
**Category:** Metadata and Renaming
**Created:** [July 5, 2017, 1:51am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192 "2017-07-05T01:51:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Eboman](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/e/85e7bf/32.png) [@Eboman](https://discussion.mcebuddy2x.com/u/Eboman)
#### Post date: [July 5, 2017, 1:51am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192/1 "2017-07-05T01:51:23Z")

</div>

Hi folks,  
I already put in a follow up to a previous post that was marked “solved”, so I figured I better start a new post.

I’m currently saving a bunch of videos with HDHomerun’s DVR service. Then I’ve got MCEBuddy doing the next step and removing commercials and renaming them for easy import into Plex.

The TV shows are working fine. But what is the %-command for the year of a movie? For example, I want to rename something “Movie (1995)”…but it seems all of the %-commands are directed toward TV shows (%airyear%, %premieryear%, %recordyear%, etc.). What is the command for a movie’s year?

When I try %year%, it doesn’t seem to work.

Thanks!!  
Eric

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [July 5, 2017, 2:49am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192/2 "2017-07-05T02:49:35Z")

</div>

`%premiereyear%`

> [@MCEBuddy - Advanced Settings, Commands and Tweaking](https://discussion.mcebuddy2x.com/t/mcebuddy-advanced-commands-and-tweaking/30):
>
> Advanced concepts to use MCEBuddy Refer to the [MCEBuddy Profiles Basics](https://discussion.mcebuddy2x.com/t/27) page to learn about basic Profiles creation NOTE: Advanced Conversion Parameters apply to profiles.conf Do NOT edit mcebuddy.conf. As of v2.3.13 ALL Advanced Configuration Parameters (except FFmpegBackupRemux) in mcebuddy.conf can be accessed through the GUI, Settings → Expert Settings page DO NOT REPLACE THE NEW CONFIGURATION FILES WITH THE OLD FILES AS PARAMETERS IN THE NEW FILES ARE ADDED/UPDATED WITH EACH RELEASE. …

---

<div class="post-metadata">

### Author: ![Eboman](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/e/85e7bf/32.png) [@Eboman](https://discussion.mcebuddy2x.com/u/Eboman)
#### Post date: [July 6, 2017, 1:56am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192/3 "2017-07-06T01:56:10Z")

</div>

Thanks!!!  
I’m going to update my settings tonight and finally get this thing working!!

Thanks RBoy!!

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [April 2, 2019, 12:22am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192/5 "2019-04-02T00:22:52Z")

</div>

You can update to today’s 2.4.10 BETA build.  
We’ve added 3 additional custom renaming commands:

> a. `%ifpremieredate%<RenamePatternIfTrue,RenamePatternIfFalse>` - If Series Premiere Date is present rename using True pattern, else rename using False pattern (v2.4.10+)  
> b. `%ifairdate%<RenamePatternIfTrue,RenamePatternIfFalse>` - If Original Air Date is present rename using True pattern, else rename using False pattern (v2.4.10+)  
> c. `%ifrecorddate%<RenamePatternIfTrue,RenamePatternIfFalse>` - If Video Record Date is present rename using True pattern, else rename using False pattern (v2.4.10+)

With this version you can something like:  
`%showname%%ifpremieredate%< (%premiereyear%),>`

---

<div class="post-metadata">

### Author: ![Ricky4001](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/ricky4001/32/956_2.png) [@Ricky4001](https://discussion.mcebuddy2x.com/u/Ricky4001)
#### Post date: [April 2, 2019, 1:31am UTC](https://discussion.mcebuddy2x.com/t/what-is-the-renaming-command-for-the-year-of-a-movie/192/6 "2019-04-02T01:31:59Z")

</div>

Excellent, thanks!
