mrlucas84 / embermediamanager

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

Everything before the Year as Title #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Could you add an option to use everything before the year as title?

As Example :

Lakeview.Terrace.2008.German.DTS.BluRay = Lakeview Terrace

Original issue reported on code.google.com by Walhalla...@gmail.com on 1 Jun 2009 at 9:29

GoogleCodeExporter commented 9 years ago
No... you can do this with the custom filter. ;)

Just enter these (without the quotes, in this exact order) in the custom filter 
list:

"(\.\d\d\d\d.*?)$"
"(\.)[->] "

Notice that there is a space at the end of the second one. The first one tells 
ember
to find a period followed by 4 numbers, then remove it and everything after it. 
The
second one tells it to replace all remaining periods with spaces.

Hope that helps!

Original comment by jason.schnitzler on 1 Jun 2009 at 9:37

GoogleCodeExporter commented 9 years ago
Oh, didn't know that the custom filter handle regex. Thank you! :)

Original comment by Walhalla...@gmail.com on 1 Jun 2009 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by jason.schnitzler on 14 Jun 2009 at 8:43