shell bedia checkMedia pretty print