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

script stops on adding sink #26

Open
Rajmi105 opened this issue Mar 4, 2022 · 1 comment
Open

script stops on adding sink #26

Rajmi105 opened this issue Mar 4, 2022 · 1 comment

Comments

@Rajmi105
Copy link

Rajmi105 commented Mar 4, 2022

when I start the script it stops on adding sink. I have a record device but I can't use it. Sound not even working cause when I talk on my phone mumble on my pc not even showing that am speaking

@Rajmi105
Copy link
Author

Rajmi105 commented Mar 5, 2022

  • main
  • set_up
  • prepare_env
  • '[' '!' -e /home/cutieray/.mic_over_Mumble ']'
  • cd /home/cutieray/.mic_over_Mumble
  • echo bonjour=true
  • echo bandwidth=130000
  • '[' '!' -e ./initdone ']'
  • start_mumble_server
  • echo 'Starting Mumble server (murmurd)...'
    Starting Mumble server (murmurd)...
  • sleep 5
  • murmurd -ini ./murmur.ini
    + start_mumble_client
  • echo 'Starting Mumble client (a window should appear in a moment)...'
    Starting Mumble client (a window should appear in a moment)...
  • MUMBLE_CLIENT_ID=12892
  • disown
  • mumble mumble://localhost
  • sleep 15
    + change_pa_config
  • echo 'Changing PulseAudio configuration...'
    Changing PulseAudio configuration...
  • add_sink
  • echo 'Adding sink...'
    Adding sink...
    ++ pactl load-module module-null-sink sink_name=Loopback_of_Mumble sink_properties=device.description=Loopback_of_Mumble
  • SINK_MODULE_PAID=27
  • sleep 1
    ++ get_sink_paid
    +++ pacmd list-sinks
    +++ grep -F -e 'index: ' -e 'name: '
    +++ cut_every_second_newline
    +++ awk 'ORS=NR%2?" ":"\n"'
    +++ grep -F -e Loopback
    +++ cut_active_device_indicator
    +++ cut -c 5-
    +++ take_second_column
    +++ awk '{print $2}'
    ++ result=3
    ++ '[' -z 3 ']'
    +++ echo 3
    +++ wc -l
    ++ '[' 1 '!=' 1 ']'
    ++ echo 3
  • SINK_PAID=3
  • move_mumble_to_sink
    ++ get_mumble_client_paid
    +++ pacmd list-sink-inputs
    +++ grep -F -e 'index: ' -e 'media.name = '
    +++ cut_every_second_newline
    +++ awk 'ORS=NR%2?" ":"\n"'
    +++ grep -F -e Mumble
    +++ take_second_column
    +++ awk '{print $2}'
    ++ result=
    ++ '[' -z '' ']'
    ++ echo 'Error: Mumble client did not connect to PulseAudio (yet?).'
    ++ print_how_to_restart
    ++ exit 1
  • MUMBLE_CLIENT_PAID='Error: Mumble client did not connect to PulseAudio (yet?).
    ++ echo '''Please find the reason why this happened, try fixing it'''
    Please find the reason why this happened, try fixing it
    ++ echo '''(pacmd list-sink-inputs and pacmd list-sinks may be'''
    (pacmd list-sink-inputs and pacmd list-sinks may be
    ++ echo '''useful), then kill mumble and murmurd, restart PulseAudio via'''
    useful), then kill mumble and murmurd, restart PulseAudio via
    ++ echo '''pulseaudio -k, and finally, restart the script.'''
    pulseaudio -k, and finally, restart the script.'

here is the output of the script in debug mode

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

1 participant