ccMatrix / mediarenamer

Automatically exported from code.google.com/p/mediarenamer
0 stars 0 forks source link

Movies without a "year" are renamed ending in "()" #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to rename "500 Days of Summer.avi"

What is the expected output? What do you see instead?
I expect to see either "500 Days of Summer (2009).avi" or "500 Days of 
Summer.avi", but I actually see "500 Days of Summer ().avi"

Original issue reported on code.google.com by jpowle...@gmail.com on 29 Jun 2010 at 2:04

GoogleCodeExporter commented 9 years ago
This in your output format line will only add the brackets when a year is 
detected:
<year: (><year><year:)>

<year: (> [add a space + bracket when a year detected]
<year> [fill in year details]
<year:)> [add closing bracket if year detected]

the same or similar can be done for other formatters. For example, my output 
format for movies is this:
<moviename><year: (><year><year:)><disk: (Part><disk><disk:)>

Original comment by the.grey.1@gmail.com on 10 Apr 2011 at 6:51