Initialized data getting from media
Merge pull request #1009 from linzongshu/develop

Initialized data getting from media
Code cleaning