Add stat to media before saving so media can be used in a playlist

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge pull request #4 from inaes-tic/jmrunge/fix-media-stat

Add stat to media before saving so media can be used in a playlist