If filetype anime, set audio jap?



Hello. Is there a way to set preferred audio language to japanese if you play anything animated? And when its not animated it should be english

Like this:

If{filetype animation SET audio lang japanese
Else
Audio lang english