SubmarinerApp / Submariner

A Subsonic client for macOS
https://submarinerapp.com
BSD 3-Clause "New" or "Revised" License
122 stars 3 forks source link

Unable to close Submariner if db is corrupted/deleted #158

Closed GetOutOfMyBakery closed 10 months ago

GetOutOfMyBakery commented 10 months ago

What

A follow on from this comment. If your DB is corrupted or deleted, Submariner prevents the application from closing due to an error while saving/could not merge changes.

Steps to reproduce

  1. With Submariner open, and connected to a valid server, run rm ~/Music/Submariner/*sqlite* to nuke sqlite db (or rm -rf ~/Music/Submariner ⛔️ Note for any unsuspecting passer-by Warning: Be cautious with this command. It will delete any music locally stored in your Submariner directory. ⛔️)
  2. Attempt to quit Submariner: cmd + q
  3. Dialogue warning about the save error prevents the application from closing.

Short term workaround

  1. Run pkill Submariner to ~sink~ kill Submariner

Screenshots

Versions