trim track/album/artist etc. to non-empty string or null