nova-video-player / aos-AVP

NOVA opeN sOurce Video plAyer: main repository to build them all
Apache License 2.0
3.38k stars 201 forks source link

freebox: no smb host resolution after upgrade #456

Closed courville closed 2 years ago

courville commented 3 years ago

Prior to circa May 2021 freebox was using solely smb v1 and shares were correctly recognized under \\FREEBOX\Disque Dur. After freebox update to support smb v2 (and corrective maintenance release) with smb v2 support, TcpDiscovery detects IPs but name resolution is broken i.e. only \\192.168.0.254\Disque Dur is visible and any attempt to access previously indexed content results in:

> Unknown host
> Failed to connect to server
courville commented 3 years ago

It appears that UdpDiscovery does not pick up freebox and only TcpDiscovery does but with no name resolution. MDNS required for that and new discovery is required with Android NSD. First attempt contributed there https://github.com/nova-video-player/aos-FileCoreLibrary/pull/7 Potentially the right course of actions is:

courville commented 2 years ago

should be fixed by MDNS addition