theRealCarneiro / pulsemeeter

Replicating voicemeeter routing functionalities in linux with pulseaudio
MIT License
382 stars 20 forks source link

Nightly build does not start, pipewire-pulse #107

Open airidassimanskis opened 1 year ago

airidassimanskis commented 1 year ago
[DEBUG] in [logger@init_log]: started logger instance <Logger generic (DEBUG)> at thread 23593
[DEBUG] in [pmctl@runcmd]: pmctl init sink Virtual_Input_1 2
[DEBUG] in [pmctl@runcmd]: pmctl init sink Virtual_Input_2 2
Could not start server because of:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pulsemeeter/main.py", line 16, in start_server
    server.start_server(daemon=True)
  File "/usr/lib/python3.10/site-packages/pulsemeeter/api/audio_server.py", line 58, in start_server
    self.init_audio()
  File "/usr/lib/python3.10/site-packages/pulsemeeter/api/audio_server.py", line 49, in init_audio
    self.start_sources()
  File "/usr/lib/python3.10/site-packages/pulsemeeter/api/audio_server.py", line 266, in start_sources
    channels = device_config['channels']
KeyError: 'channels'

I built nightly from source/not script, as script was spewing errors

W0lfyZRex commented 1 year ago

Bump, I'm having the same issue and I'm using nightly because the main branch has the "JSON stray \ before #" error.

Erater commented 1 year ago

I got the same error as @W0lfyZRex main branch is broken with JSON stray and nightly wont start cause of this error, would be nice if there is a fix

erdnuesse commented 1 year ago

Take a look at this PR, it fixes the Stray / error.

https://github.com/theRealCarneiro/pulsemeeter/pull/106 https://github.com/theRealCarneiro/pulsemeeter/pull/106/files

I fixed it manually in my /usr/bin/pmctl; error vanished, pulsemeeter starts.