from Scripts.ZonePlayer.OLD.persistent_player import PersistentPlayer import time # create and start three players praise = PersistentPlayer("praise", "/home/media/Music/Praise") worship = PersistentPlayer("worship", "/home/media/Music/Worship") instrumental = PersistentPlayer("instrumental", "/home/media/Music/Instrumental") for p in (praise, worship, instrumental): p.play_current() # just keep Python alive; python-mpv's internal thread will fire your callbacks try: while True: time.sleep(1) except KeyboardInterrupt: print("Stopping…")