Add special media key to fix #21

Please don't merge this first because this patch needs to have more tests.