I almost finished my 'thing'. Changed the app to make it a bit more flexible and univeral.
Now it's possible to send a pseudo 'command' from a client pc somewhere in the network. (did a UDP portforward in my firewall to my HF so I can send the commands from any place on the internet)
These commands are defined in a script on the HF and executed when it receives such a command.
At this moment I predefined the commands
Sleep, Wake, DebugOn, DebugOff
but off course it can be anything you like.
Example: In combination with dksofts mod it's now also possible to remotely put an ascii dump of the HF's database in the import folder or recreate a database again from such an ascii file - after making changes off course
An option in which I'm interested to generate documentation of the database via a script on my pc. (library.db->textfile->xml->document)
(and the way back after making changes to the xml file first
I made some little changes to /opt/Fidelio/bin/dacapo to make it possible to bring the HF standby and wake it up again in a way that is close to using the powerkey.
Looks like it works pretty well now.
Still have two little things left before I can really finish it
- After bringing the HF in standby and wake it up again (remotely using my app\script) I see that the amount of pizarro\caruso instances running may vary. Don't no if this is something to worry about or not. Didn't discover yet if my script is causing this or it's normal
- I did create a folder /usr/mybin/rFidelio where I put the app and scripts.
Is there a better location to put them, without losing them after an update. (dacapo is probably overwritten then so I must keep a copy of my changes in that folder)
example command of bringing the HF in standby via my pc
rFidelio.exe hifidelio 10115 S
wake it up again
rFidelio.exe hifidelio 10115 W
10115 is the UDP portnumber I'm using.