refactor: improve media info handling and badge rendering

Wait 5 sec.

refactor: improve media info handling and badge rendering