JDSP4Linux icon indicating copy to clipboard operation
JDSP4Linux copied to clipboard

Disable on changes a song

Open sumonsnote opened this issue 1 year ago • 3 comments

I recently switched to ubuntu and install JamesDSP to boost my music. I noticed a problem.

I'm listening to a song on spotify when the song is finished then my JamesDSP minimized icon gone and disabled the JamesDSP. It's very problem and it's big bug.

It can not keep itself forever. How can I solve it?

sumonsnote avatar Oct 08 '24 09:10 sumonsnote

it kills itself this is caused by the bug just restart show tray/hide tray many times for now forgot to say im on fedora

ClientBeta avatar Oct 26 '24 07:10 ClientBeta

same broo. and i must open it manually to take effect again and show on minimized icon

andryn25 avatar Nov 28 '24 07:11 andryn25

Can confirm the same on Arch-Linux 6.12.4-arch1-1 Plasma 6.2.4 Everytime a new video starts or a song switches James DPS terminates. I can restart it and it works fine until a new media is playing. It stinks because it makes TV sound phenomenal and makes the music palatable through my old stereo, right now it's just crunchy....

Samohttnias avatar Dec 23 '24 03:12 Samohttnias

Confirming the same behaviour here on UBlue Aurora (based on Fedora Atomic) versions 41.20250105 and and 41.20241229.

I've investigated installing the realtime-setup package as recommended in Issue #155 and had some issues there, but I also believe this is a materially different bug - the crash consistently and replicably happens when all media is paused, not at random or after a fixed length of time

Ways to reproduce:

  1. Play music (Spotify Chromium PWA)
  2. Pause music - JamesDSP crashes OR
  3. Play music
  4. Play YouTube (in Firefox)
  5. Pause music - JamesDSP does not crash
  6. Pause YouTube - JamesDSP crashes

Thus the issue seems to be when all audio playback stops, rather than when any audio playback stops.

Happy to provide logs and help debug as needed.

In the meantime, I've gone for the (horrible) solution of creating a systemd user service for JamesDSP which has the effect of restarting it when it crashes.


Quick follow-up, I've also had a look further down #155, to senjacob's comment. Changing the .desktop file to Terminal=true resolves this issue for me

sebvett avatar Jan 05 '25 11:01 sebvett