Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in hyprland #12

Open
Kommynct opened this issue Aug 26, 2024 · 1 comment
Open

Not working in hyprland #12

Kommynct opened this issue Aug 26, 2024 · 1 comment

Comments

@Kommynct
Copy link

Kommynct commented Aug 26, 2024

For some reason

exec-once = wayland-pipewire-idle-inhibit

causes idle to be permanently inhibited instead of only when audio is playing. Don't know why, but I do have a workaround

exec-once = hyprctl dispatch exec wayland-pipewire-idle-inhibit

seems to work perfectly

I'm on nixos, don't really care to troubleshoot since this workaround is perfectly fine, mostly posting for if anybody else has the same problem and is searching for a workaround.

@atimofeev
Copy link

atimofeev commented Nov 17, 2024

I get infinite inhibit on my nixos install too, even with a workaround mentioned above.
It reproduces once I launch paused spotify-player, gets inhibited without any playback.

UPDATE:
Looks like this issue is exclusive to spotify-player, as with anything else it works as expected.

> wpctl status
...
 └─ Streams:
        81. Firefox                                                     
             82. output_FR       > MOTIF II A.N.C.:playback_FR	[init]
             84. output_FL       > MOTIF II A.N.C.:playback_FL	[init]
        90. PipeWire ALSA [spotify_player]                              
             92. output_FL       > MOTIF II A.N.C.:playback_FL	[active]
             93. output_FR       > MOTIF II A.N.C.:playback_FR	[active]
        95. spotify                                                     
             97. output_FL       > MOTIF II A.N.C.:playback_FL	[paused]
             99. output_FR       > MOTIF II A.N.C.:playback_FR	[paused]

As you can see, spotify_player stream remain active even when the music is actually paused.

Fixed by building the app with pulseaudio-backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants