haecker-felix / Gradio

GNU General Public License v3.0
326 stars 51 forks source link

Gradio keeps playing even if app is closed #352

Closed heis2201 closed 5 years ago

heis2201 commented 5 years ago

Expected Behavior

I close the Gradio window - the app should quit.

Current Behavior

I close the Gradio windows - the station keeps on playing (I have the flatpak installed, in case that matters)

Steps to Reproduce

  1. Install Gradio from flathub
  2. Start Gradio, select a station to stream
  3. Close the window (by clicking on the X button)
  4. Observe the audio continue to play (integration in Gnome shell notifications still active and reactive)

Detailed Description

Terminate Gradio when closing its window - current behavior is as if the user would minimize the window. However, we don't need that functionality twice.

haecker-felix commented 5 years ago

Well, that's a feature, and not a bug :-).

Settings -> Disable Background playback.