Currently, I am using the QMediaPlayer().positionChanged.connect(slot1) function and using slot1() function to update a global variable currentPos to get current time of the med