c4valli / kodi-fcast-receiver

FCast receiver add-on for Kodi
GNU General Public License v2.0
11 stars 2 forks source link

Missing support for autodiscovery via mDNS #11

Open orbisvicis opened 3 months ago

orbisvicis commented 3 months ago

I installed kodi-fcast-receiver to Kodi/Windows but couldn't discover it from any of my clients. Same with the provided test.py script. Wireshark shows no traffic to port 46899 and no relevant traffic to port 5353. Looking at the provided test.py I see no subscription to any multicast group and hence no response to queries from my clients.

I assume that the clients must directly specify the receiver IP address. Is this correct? The client greyjay has this capability but not cloudstream.

Once the IP address was specified I was able to stream from greyjay to kodi - sort of, as kodi freezes - sometimes displaying the first frame. I enabled all the interesting debug settings in Kodi, but kodi.log includes no interesting information.

P.S. Kodi for Windows 21.1.0 ships Python 3.8, so I removed all the python annotations from kodi-fcast-receiver version 625764c that require Python 3.9+, such as dict[str,str].

sguerrini97 commented 2 months ago

Hi, yes the client must specify the IP for now. Implementing mDNS shouldn't be that hard, I can work on that when the rest is in a working state.

I have to investigate about the freeze, with some content it happens for me too. Sometimes the playback starts after a while (even after 3-4 minutes).

Can you please check if with the latest commits you still have typing problems on Windows and if so open a new issue about this? Thank you!