added media label support, closes #7