Open NoLooseEnds opened 7 years ago
Using the hostname wasn't/isn't really an ideal solution, as if you run Flood twice on the same server, they'd have the same hostname
Allowing users to give their Flood instance a name and display it like Flood [firefly]
I 👍. Maybe give users the option of just having the name too, e.g Firefly
instead of Flood [firefly]
.
@wopian I never thought of that use case.
Is it common to run multiple instances of rtorrent/flood on the same server as the same user? (I get ie. seedbox setups with multiple different users, but that shouldn't be a issue).
Maybe it's possible to add an option on first launch (maybe that defaults to hostname), and then being able to change it in settings/conf.
This could be useful. Perhaps let people add their own ident strings in config.js. The name "flood" is not needed as the favicon is easily distinguishable. But definitely, some kind of tab identification would be nice.
It would be nice to see the hostname of the server that runs Flood in the title, ie. like this:
If you have multiple instances of flood across different servers, it's great to see which is one.
I tried to make a commit. It works, but I am not experienced with Node.js, and it seems that it's not the correct way to do it.
For somebody experienced, I think it should be an easy fix. I got my info from here: https://stackoverflow.com/questions/20553554/node-js-return-hostname