CC-5226: Metadata isn't correct during playing

-fixed using "insert_metadata" and callbacks instead.
Merge branch '2.4.x' of dev.sourcefabric.org:airtime into 2.4.x