psst icon indicating copy to clipboard operation
psst copied to clipboard

Youtube videos do not play if Psst is open

Open isma-moniz opened this issue 11 months ago • 6 comments

Describe the bug While Psst is open, it is impossible to play videos on Youtube (and presumably other video streaming platforms).

To Reproduce

  1. Open Psst.
  2. Open Youtube
  3. Attempt to play a video
  4. Close Psst
  5. Try to play the video again (this time successfully).

Expected behavior The video will not play while Psst is open.

Environment

  • OS: Arch Linux ver 6.12.4
  • Version: psst-git r417.f1300bf-3

isma-moniz avatar Jan 08 '25 14:01 isma-moniz

I think this might be more of an audio device issue? Maybe Psst or your browser is taking exclusive access of the sound output? I don't know if this is unique to Psst, have you tried other audio applications to see if it locks on them too?

jacksongoode avatar Jan 08 '25 22:01 jacksongoode

Yeah, that was my first guess, but i tried using other audio streaming services such as Spotify and Cmus and then Youtube at the same time and it worked. So it seems to be a Psst specific issue for some reason.

isma-moniz avatar Jan 14 '25 17:01 isma-moniz

But are you using separate apps for those? I think it could be an issue with you using a browser & some other app that accesses the output at the same time.

jacksongoode avatar Jan 14 '25 18:01 jacksongoode

But are you using separate apps for those? I think it could be an issue with you using a browser & some other app that accesses the output at the same time.

I am using separate apps for those. The Spotify desktop app and Cmus is a cli tool for playing music in your disk. Maybe I'm the only one with this problem and tbh it's not that big of a deal, but I decided to report it in case more people were looking for a solution.

isma-moniz avatar Jan 19 '25 17:01 isma-moniz

That is very weird; I have never encountered that issue. Are you using Firefox? Have you looked to see if its your drivers, there could be a weird bug with cpal and say pulseaudio. Try and see if this helps.

SO9010 avatar Jan 30 '25 11:01 SO9010

If I run systemctl restart --user pipewire-pulse, the youtube video is able to play. However the problem persists every time I try to play another video while Psst is open. I guess Psst is interacting in a weird way with my audio drivers. I'll consider this a fix tbh as it's not something that bothers me really.

isma-moniz avatar Mar 10 '25 12:03 isma-moniz