INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: daveman on April 22, 2012, 07:44:35 pm

Title: TV Show File names
Post by: daveman on April 22, 2012, 07:44:35 pm
Hi there,

I am loving MC more and more as I use it.  I have organized my music and the file management features are great.

Now I am starting to organize tv shows and video media.

Here is my question

When I update a video file using "Get Movie and TV Info" the file name changes to the episode name.

Is there a way to control how the file gets renamed?  I would like to have the file name include the season and episode before the actual name  - like "s01e02 - The Cold Open", rather than the way it now shows up "the Cold Open"

Thanks

dave
Title: Re: TV Show File names
Post by: fitbrit on April 22, 2012, 08:40:23 pm
I currently do this. You can do a batch rename of the [name] tag after selecting the files you want to change. Then type the following:
=S[season]E[episode] - [name]

That will not pad out the season and episode to 2 digits, though. To do that you need custom fields, and I don't remember all the specifics of the expression required.
Title: Re: TV Show File names
Post by: daveman on April 22, 2012, 08:51:31 pm
Looks good.

I adapted what you provided

=[Series] - S0[season]E0[episode] - [name]

but would love to know how to add padding

thanks a lot for the help

dave
Title: Re: TV Show File names
Post by: MrC on April 22, 2012, 09:43:52 pm
See how this works for you:

[Series] - Spadnumber([season],2)Epadnumber([episode],2) - [name]

Here's the syntax of padnumber() (http://wiki.jriver.com/index.php/Media_Center_expression_language#PadNumber.28....29:_Adds_leading_zeros_to_any_given_number).