deep5050 / radio-active

Play any radios around the globe right from the terminal :zap:
https://www.radio-browser.info/#/
MIT License
469 stars 24 forks source link

EOF (CTRL+D) on interactive interface crashes #80

Closed l-wegner closed 8 months ago

l-wegner commented 9 months ago

Describe the bug When entering EOF, the application crashes, because the input pipe is closed, but utilities.py is reading from it.

To Reproduce Steps to reproduce the behavior:

  1. Play any station
  2. Press CTRL+D
  3. See error

Expected behavior Graceful shutdown as for CTRL+C

Desktop (please complete the following information):

github-actions[bot] commented 9 months ago

Hi, @l-wegner, Thanks for your contribution :blue_heart: . Contributors :people_holding_hands: like you make the open source community :earth_africa: such an amazing place to learn :book: , inspire :angel:, and create :art: . We will investigate :eyes: and get back to you as soon as possible :+1: . Just make sure you have given us sufficient information :information_source:.

By that time enjoy this meme :point_down: , hope you like it :smile:

meme

Use this action on your projects. Use jokes on issues instead.