You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
dont clear state on error or non gracefull quit
This commit is contained in:
@@ -491,9 +491,7 @@ if __name__ == '__main__':
|
||||
try:
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
clear_state()
|
||||
logger.info("Player stopped by user")
|
||||
except Exception as e:
|
||||
clear_state()
|
||||
logger.error(f"Unexpected error: {e}")
|
||||
raise
|
||||
Reference in New Issue
Block a user