xou816 / spot

Native Spotify client for the GNOME desktop
MIT License
2.29k stars 123 forks source link

Provide a pulseaudio playing stream name #621

Closed Lyokovic closed 1 year ago

Lyokovic commented 1 year ago

Describe the bug Spot does not provides, or provides an empty name for its playing stream on pulseaudio.

To Reproduce Steps to reproduce the behavior:

  1. Play a song
  2. List pulseaudio/pipewire playing stream (with pavucontrol, or wpctl status)
  3. The spot stream does not have a name

Expected behavior Provide a meaningful stream name, like "spot".

General information:

XGZepto commented 1 year ago

This should be another one line fix.

image

Depends on the extent of this feature request, we can also provide title, artists, etc, to PulseAudio.

xou816 commented 1 year ago

no idea how this works tbh so I'm glad if someone's able to help! :)

XGZepto commented 1 year ago

no idea how this works tbh so I'm glad if someone's able to help! :)

Name could be provided by setting a env var, see the screenshot above. This could be merged to close this issue.

xou816 commented 1 year ago

Cool, feel free to open a PR I'll have a look! :)

Lyokovic commented 1 year ago

Thanks! That was fast!