Adding helper method to save media info
Formatting