added status function

changes in Root.py and media.py