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

device discovery shows a lot of errors #3

Closed
emk2203 opened this issue Dec 13, 2023 · 1 comment
Closed

device discovery shows a lot of errors #3

emk2203 opened this issue Dec 13, 2023 · 1 comment

Comments

@emk2203
Copy link

emk2203 commented Dec 13, 2023

dlna-cast list_dlna_devices throws a ton of errors before listing one device in the network:

Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a010>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a090>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a0d0>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a110>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a210>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a250>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c10>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c50>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919c90>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919cd0>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919d90>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a590>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919e10>
Error ''NoneType' object has no attribute 'strip'' for <dlna_cast.ssdp.Entry object at 0x7f8ffa919ed0>
Error '404 Client Error: Not Found for url: http://192.168.88.10:8008/ssdp/notfound' for <dlna_cast.ssdp.Entry object at 0x7f8ffa91a710>
VSX-S520D

I can easily filter them out with dlna-cast list_dlna_devices | grep -v ^Error, but is there a way to get rid of them?

@link89
Copy link
Owner

link89 commented Dec 13, 2023

I just roll out 0.1.7 to mute log by default.

@link89 link89 closed this as completed Dec 13, 2023
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