mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 23:39:15 +02: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