Is it possible to check if the variable name is null then get the file or folder name?
I solved the problem putting these three lines at the bottom:
<if test="${movie.title}=$(movie.title)">
<set name="movie.title" value="${title_year[0][0]:htmldecode}"/>
<set name="movie.sortby" value="${title_year[0][0]:htmldecode}"/>
</if>
I dont know it that's a stupid solution or not... But it worked!
I solved the problem putting these three lines at the bottom:
<if test="${movie.title}=$(movie.title)">
<set name="movie.title" value="${title_year[0][0]:htmldecode}"/>
<set name="movie.sortby" value="${title_year[0][0]:htmldecode}"/>
</if>
I dont know it that's a stupid solution or not... But it worked!