I meant removing the entire line but this was presuming the problem was the same as previous so disregard it.
Now that you posted your entire code though I suggest moving the first line to the end as that will allow for the possibility of any of the lines 3 to 10 being preceded by a 'The'* and might be the problem here though even if it isn't then at least covers for the future. If not then what story are you using so I can see the original metadata? Or just post that works too.
*Basically if the original metadata is, for example, "The Lord of the Rings: Return of the King" As you have written it then the result would be "The Lord of The Rings (Movies)".
Last edited by chrnno; 04-30-2015 at 10:22 AM.
|