logger.info("QtPlayer: Player is stopped, calling _play_waiting_intro()")
logger.debug("QtPlayer: About to call _play_waiting_intro()")
self._play_waiting_intro()
self._play_waiting_intro()
else:
else:
logger.info("Player is already playing, skipping intro")
logger.info("QtPlayer: Player is NOT stopped, skipping intro")
logger.info(f"QtPlayer: Skipping intro due to playback state: {playback_state} ({playback_state.name if hasattr(playback_state, 'name') else 'unknown'})")
exceptExceptionase:
exceptExceptionase:
logger.error(f"Failed to check and play intro: {e}")
logger.error(f"QtPlayer: Failed to check and play intro: {e}")
importtraceback
logger.error(f"QtPlayer: Full traceback: {traceback.format_exc()}")
def_play_waiting_intro(self):
def_play_waiting_intro(self):
"""Play the INTRO video on repeat with waiting overlay when no game is active"""
"""Play the INTRO video on repeat with waiting overlay when no game is active"""
logger.warning(f"QtPlayer: Source assets directory contents: {list(source_assets.iterdir()) if source_assets.exists() else 'source assets dir not found'}")
logger.warning("No INTRO video found for waiting state")
logger.warning("QtPlayer: ===== NO INTRO VIDEO FOUND =====")
returnNone
returnNone
exceptExceptionase:
exceptExceptionase:
logger.error(f"Failed to find intro video for waiting: {e}")
logger.error(f"QtPlayer: Failed to find intro video for waiting: {e}")
importtraceback
logger.error(f"QtPlayer: Full traceback: {traceback.format_exc()}")