Comments (9)
The new update v2.2.1 (also available on the AUR) should fix this issue.
from polybar-pulseaudio-control.
Or rather, try running the script with the prefix LANG=en_US
and see if it works that way. I can make a PR to fix that later. Or maybe with LC_ALL=C
, I don't know which one is best.
from polybar-pulseaudio-control.
Can you show me the output of pactl list sinks
? VOL_LEVEL
is probably failing to be parsed
from polybar-pulseaudio-control.
Sure, my system is in spanish, so maybe that its the source of the problem
$ pactl list sinks
Destino #0
Estado: RUNNING
Nombre: alsa_output.pci-0000_00_1f.3.analog-stereo
Descripción: Audio Interno Estéreo analógico
Controlador: module-alsa-card.c
Especificación de muestra: s16le 2ch 44100Hz
Mapa de canales: front-left,front-right
Módulo propietario: 6
Silencio: no
Volumen: front-left: 29868 / 46% / -20.48 dB, front-right: 29868 / 46% / -20.48 dB
balance 0.00
Volumen base: 65536 / 100% / 0.00 dB
Fuente que lo monitoriza: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Latencia: 76799 usec, configurados 105000 usec
Indicadores: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Propiedades:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3204 Analog"
alsa.id = "ALC3204 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x91620000 irq 140"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "34c8"
device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Audio Interno Estéreo analógico"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Puertos:
analog-output-speaker: Speakers (type: Altavoz, priority: 10000, availability unknown)
analog-output-headphones: Headphones (type: Auriculares, priority: 9900, availability group: Legacy 2, not available)
Puerto Activo: analog-output-speaker
Formatos:
pcm
from polybar-pulseaudio-control.
Ah yup that must be it. We do use LANG=$LANGUAGE
in listen()
to get events in english, but the rest of the calls don't have that. Can you try it with LANG=en_US pactl list sinks
?
from polybar-pulseaudio-control.
Yes, this command works as expected:
$ LANG=en_US pulseaudio-control --sink-nickname "alsa_output.pci-0000_00_1f.3.analog-stereo: Volume" listen
61% Volume
Thanks for the help :)
from polybar-pulseaudio-control.
No problem! Can you try one last thing?
Try adding after the LANGUAGE=en_US
line in the script a line with export LANG=en_US
. That should make it work for every comand without needing to add it as a prefix, but I want to make sure before adding it to the script.
from polybar-pulseaudio-control.
Just added the export LANG=en_US in the script, it works as expected.
from polybar-pulseaudio-control.
Great thanks! I'll update the script then.
from polybar-pulseaudio-control.
Related Issues (20)
- Is there a way to detect jack-plugged headphones? HOT 5
- specify multiple blacklist devices only reads first entry HOT 4
- OSD doesn't work HOT 2
- Not working with different locale HOT 4
- Code cleanup
- Make `next-sink` also iterate the sink ports HOT 4
- --sink-nickname works for <name> but not for <nick> HOT 2
- Small issue and easyeffects HOT 2
- CLI flag followed by value removes the value HOT 1
- No updates in `listen` when switching between microphones HOT 9
- No longer updates every time volume changes HOT 6
- How can I hide output and input devices name? HOT 2
- pulseaudio-control does not quit correctly on shutdown, resulting in 90 second shutdown and reboot times HOT 1
- Notifications for all changes in PA HOT 1
- Fix CI
- Allow variable substitution in --color-muted HOT 4
- Screenshots to README HOT 1
- Customize or label auto_null
- Port names containing whitespace are not supported
- High idle CPU usage from Pipewire process HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polybar-pulseaudio-control.