chris-ritsen / network-audio-controller

Cross-platform CLI control of Dante network audio devices without Dante Controller
The Unlicense
203 stars 21 forks source link

DanteCache Missing? #13

Closed marcnnn closed 2 months ago

marcnnn commented 1 year ago

Hey, I would like to help to develop.

But it looks like some code is missing on master?

Traceback (most recent call last): File "/home/marc/Projects/network-audio-controller/netaudio/main.py", line 12, in from netaudio.console.application import main File "/home/marc/Projects/network-audio-controller/netaudio/init.py", line 10, in from .console.application import main File "/home/marc/Projects/network-audio-controller/netaudio/console/init.py", line 1, in from .commands.channel import ChannelCommand File "/home/marc/Projects/network-audio-controller/netaudio/console/commands/init.py", line 5, in from .subscription import SubscriptionCommand File "/home/marc/Projects/network-audio-controller/netaudio/console/commands/subscription/init.py", line 5, in from ._list import SubscriptionListCommand File "/home/marc/Projects/network-audio-controller/netaudio/console/commands/subscription/_list.py", line 13, in from netaudio.dante.cache import DanteCache ModuleNotFoundError: No module named 'netaudio.dante.cache'

bfranske commented 1 year ago

Duplicate of Issue #12 . I think the DanteCache feature was never fully implemented/working when committed. Check an older version like https://github.com/chris-ritsen/network-audio-controller/tree/81eae884464211cdfb0e9d9093cea0146a3cc4f7

weltenseglr commented 1 year ago

Might be a duplicate. In commit a9cece2 the server + cache were initially pushed. However, in the following commit dcb54c1 imports missing code from netaudio.dante.cache import DanteCache.

I'd guess the server + cache all in one have been refactored into two sperate modules server and cache, but @chris-ritsen missed to add all files to his commit?

@bfranske is a9cece2 working for you?