Bug fix for replaying content
The metadata was cleared after playback finished. This led to reporting incomplete data in case of replaying content.
With this fix, the metadata is only cleared once the source is unloaded instead of on playback finished.