I have absolutely no expiriance in codeing, so i can't help you in this case.
But generally... why is it nessesary to search trailers in browsing mode?
Download the trailer is also a goodie, but uses space on the disk. Why should I download them, when I can catch it asap online?
Maybe in my oppinion would be a solution when you use the "find line" afterwards hitting the search button.
If there is no trailer aviable... bad luck. And searching during the browsing mode wouldn't change this issue.
Anyway I have deactivated the trailer picon because it disturbs my movie sheet
thats an input from a noob
regards