I've been reading the board for a couple of days and playing around with FB for about a week or so. Great tool - kicks everything else in the butt!
Well, as the subject line says, I have an idea. I debated over which forum to place this - perhaps General or Plugins? then I saw this dev forum and decided since it's a dev issue this is the place. If that's wrong, I apologise.
Anyway, the idea:
Let me control one "FBServer" executable via a remote "FBClient" executable.
Yes, I've seen the foo_remote widget. That's not what I mean - it's as "remote" as my right hand is from my left (not very remote at all). What I need is the FBClient running on my laptop (XP box), to control the FBServer thing running on my main music server (W2K box).
Wouldn't that be cool? I think so!
I'm doing this already - sort of - by using TightVNC. But that's overkill.
OK, so that's the idea. What follows is just some implementation pointers that will hopefully foster further discussion...
It seems that FB is already very modularised. That's cool. So this idea requires a new module that listens for "commands" sent over tcp/ip|http - I'm not concerned which right now, but let's go with http.
Let's say my music server is 10.10.10.2. Let's say FB is installed and configured to listen on port NN.
A button on the remote sends
http://10.10.10.2:NN/?command=nexttrack
FBServer receives the request and does the obvious (jumps to next track)
Another button on the remote sends
http://10.10.10.2:NN/?command=nextplaylist
or perhaps
http://10.10.10.2:NN/?playlist=pink+floyd+3
I think you all get the general idea.
Of course, it's entirely possible that the commands are configured both ends by the user. That is: they could all be numbers and what a given numbered command does is down to the mapping compiled by the user (much like the UI menus/commands and other stuff are driven right now)
http://10.10.10.2:NN/?command=5
So the user decides which part of the server UI is mapped to "5" and the user also decides which menu/button on the client sends the "5".
OK, that's long enough for a first post! Hope this little seed germinates!
Ruzz