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

Errors in demo.zsh #8

Open
Bagunda opened this issue May 20, 2022 · 1 comment
Open

Errors in demo.zsh #8

Bagunda opened this issue May 20, 2022 · 1 comment

Comments

@Bagunda
Copy link

Bagunda commented May 20, 2022

pip install netaudio

root@DidNoutVMubuntu:~/network-audio-controller/demo# uname -a
Linux DidNoutVMubuntu 5.4.0-110-generic #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@DidNoutVMubuntu:~/network-audio-controller/demo# cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@DidNoutVMubuntu:~/network-audio-controller/demo# ./demo.zsh

netaudio device list
FPX6000R-022792
FPX6000T-022e70

netaudio channel list --device-name=avio-output-2

netaudio channel list --device-name=avio-usb-2

netaudio subscription list | head -n15 | sort -R | head -n10 | sort
Center@FPX6000R-022792 <- Center@FPX6000T-022e70 [Connected (Unicast)]
LeftCenter@FPX6000R-022792 <- LeftCenter@FPX6000T-022e70 [Connected (Unicast)]
Left@FPX6000R-022792 <- Left@FPX6000T-022e70 [Connected (Unicast)]
LeftSurround@FPX6000R-022792 <- LeftSurround@FPX6000T-022e70 [Connected (Unicast)]
LFEScreen@FPX6000R-022792 <- LFEScreen@FPX6000T-022e70 [Connected (Unicast)]
RIghtCenter@FPX6000R-022792 <- RIghtCenter@FPX6000T-022e70 [Connected (Unicast)]
Right@FPX6000R-022792 <- Right@FPX6000T-022e70 [Connected (Unicast)]
RightSurround@FPX6000R-022792 <- RightSurround@FPX6000T-022e70 [Connected (Unicast)]

netaudio subscription remove --rx-channel-name=128 --rx-device-name=lx-dante

  RuntimeError

  coroutine raised StopIteration

  at /usr/lib/python3.8/asyncio/base_events.py:616 in run_until_complete
       612│             future.remove_done_callback(_run_until_complete_cb)
       613│         if not future.done():
       614│             raise RuntimeError('Event loop stopped before Future completed.')
       615│
    →  616│         return future.result()
       617│
       618│     def stop(self):
       619│
       620│

netaudio subscription add --tx-device-name='lx-dante' --tx-channel-name='128' --rx-channel-name='128' --rx-device-name='lx-dante'

  RuntimeError

  coroutine raised StopIteration

  at /usr/lib/python3.8/asyncio/base_events.py:616 in run_until_complete
       612│             future.remove_done_callback(_run_until_complete_cb)
       613│         if not future.done():
       614│             raise RuntimeError('Event loop stopped before Future completed.')
       615│
    →  616│         return future.result()
       617│
       618│     def stop(self):
       619│
       620│

netaudio config --set-device-name='DI Box' --device-host='dinet-tx-1'

  ValueError

  None does not appear to be an IPv4 or IPv6 address

  at /usr/lib/python3.8/ipaddress.py:53 in ip_address
        49│         return IPv6Address(address)
        50│     except (AddressValueError, NetmaskValueError):
        51│         pass
        52│
    →   53│     raise ValueError('%r does not appear to be an IPv4 or IPv6 address' %
        54│                      address)
        55│
        56│
        57│ def ip_network(address, strict=True):

netaudio device list | grep -i 'DI Box'

netaudio config --set-device-name='dinet-tx-1' --device-host='192.168.1.41'
Device not found

netaudio device list | grep -i 'dinet-tx'
./demo.zsh:44: command not found: underscore
./demo.zsh:44: command not found: underscore
root@DidNoutVMubuntu:~/network-audio-controller/demo#

image

@chris-ritsen
Copy link
Owner

chris-ritsen commented May 23, 2022

I only created that file to generate the demo video for the readme; it's referencing devices and programs specific to my machine/network and is not something I expect end-users to do anything useful with except as a reference.

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