View Single Post
Old 10-20-2012, 05:16 PM   #950
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
Posts: 1,349
Karma: 330550
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Each replace_metadata line is checked in order for regexp and conditional match. So the first one will be applied.

However, if the changed value matches a later line, that later line will also be applied.

A completely made up example:

Code:
replace_metadata:
 genre=>Sci-Fi=>SF
 SF=>San Fransisco
Sci-Fi would be converted first to SF, then SF to San Fransisco. Reversing the order of the two lines would prevent that in this case.
JimmXinu is offline   Reply With Quote