For organize my movies animations I use this code:
Shell: Select all
else if (genre =~ /Animation/) anime = 'R:/_MOVIES_ANIMATION/'+plex.id+' ['+vf+' '+channels+']'
else if (genres =~ /Animation/) anime = 'R:/_MOVIES_ANIMATION/'+plex.id+' ['+vf+' '+channels+']'
Shell: Select all
"Alex Exemple (2010)" could not be formatted: Expression yields empty value: Binding "genre": undefined