get all tags when transcoding

Is there any way to access all the tags during transcoding? like %discnumber%, %tracknumber%, %album artist% and others? This would help a lot on the android app, since then the downloaded music could be sorted properly.