-
Notifications
You must be signed in to change notification settings - Fork 74
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
Make JMM Server discoverable #26
Comments
Should be a easy task without wcf. |
Yeah, was already thinking about this for the new Desktop UI, I hate the current screen you get when JMM Server is not running. If we can add it into the Server API then all the better. |
Every thing needed on server side is already there On October 6, 2016 3:20:02 PM GMT+02:00, ElementalCrisis [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
This is not an easy as it seems, you will not search an entire 255 or 65535 On Thu, Oct 6, 2016 at 10:51 AM, BigRetroMike [email protected]
|
usly people tend to use small netmask /24, so scaning for 255 ips aint big problem. But yes, that is also a way. |
You need to have a solution that works on all cases, not on the majority of As always stackoverflow has working example, adding this should be http://stackoverflow.com/questions/22852781/c-sharp-how-to-do-network-discovery-using-udp-broadcast On Thu, Oct 6, 2016 at 1:30 PM, BigRetroMike [email protected]
|
yeah, thats look like a good example - but the main question is, is this old issue is still valid for our need ? Is one time only JMM Client setup is enought to make JMMServer broadcast all the time discover packet? Imo, No But you guys should decide if this is needed and if not close this ;-) PS. If we realy need one-time-discover than iterating thru netmask /24 is the easiest because its only max 254 hosts to scan and in most cases it even less - as its only one time use only and never need again, no extra setup, no extra checking each time if broadcast should be enabled, no need to reset that setting... |
Is it necessary for JMM Server to broadcast at all? I was thinking that a client should send broadcast packet when you press button / open popup etc. so it will work similarly to a DHCP server. |
Then server would listen all time ? It would be same as server broadcast imo. Im for scanning its client scan, shouldnt take long in normal user case /24 (netmask) but if you want any other solution with listening/broadcasting please add disable button so we dont waste resource in cases that done need discovery On October 9, 2016 9:20:41 PM GMT+02:00, hidden4003 [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Okey. How generating 254 tcp connections, and wait for response, with timeout is better, than send only one udp packet by the client? (How much time and threads you waste for this) How much waste resources generates binding one port for listening? Seems the solution presented is not understand.
Done, you have your connectable servers, without any kind of IP Class limitation, if your mask is 255.0.0.0 or 255.255.000.000 or 255.255.255.0 it will work. |
People at home use /24 anyway. Also binding to one port eat more resource than not doing it ;-) Also as I state im fine with anyting while having ability to disable that bind. On October 10, 2016 4:49:10 AM GMT+02:00, Maximo Piva [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
I know this is a old thread, but how about we use mDNS, IP scanning is not a good thing, especially if you are trying to deal with possibly multiple ports. May not even be that useful with docker anymore since the port mapping could be arbitrary on the host side. |
Do we still want this now that we're phasing out the desktop client? |
No this is dead |
would be always nice to be able to "find" server but server lack anything useful right now. |
With Desktop being deprecated, it wouldn't make sense, as you couldn't get to the webui unless you know where the server is at |
It would more reasonable to implement in Nakamori, Shokofin, etc, but that's not my decision |
I'm not going to babysit the users of Shokofin so hard that I will tell them where they are running their server. They'll need to know that much. Docker and/or other types of network related isolation methods also make it a lot harder to know. 😔 As for Nakamori — or any other client for that matter — i don't know. 🤷♂️ |
Kodi has this function. This functionality if ever wanted should be on server not on client. server provides - client consume. |
Reported by werndlymob, Aug 30, 2012
http://msdn.microsoft.com/en-us/library/dd456791.aspx
This will allow JMM desktop and MyAnime3 to find a list of available JMM Servers on the network without having to manually enter the address.
JMM Desktop should also store the list of import folder mappings per JMM Server instance, so that one JMM Desktop can connect to multiple servers.
Have a button on the config screen to search for servers, and a new button to switch servers in bottom toolbar
The text was updated successfully, but these errors were encountered: