Hi there!
I have a DM800HD and I wish to keep log of the service selected (only service, not provider) every one minute.
I searched a bit and I found out that if I telnet at dreambox http://127.0.0.1/web/subservices returns an XML file that lists the service currently playing. So I made a (noob) script that records for 8 hours total the services played. The sh file goes like this:
and so on for 600 times (lame I know....)
It basically creates a file with a number as file name (incremental) and it stores it in the DM memory.
Can someone help me make it more sophisticated than that so that it never stops recording every 1 minute the service selected at the time? And where do I need to store this sh file so that it gets executed automatically when the dreambox boots up?? Right now I need to have a PC turned on in order to do this with putty and the xml files get stored at ./home/root of dreambox
PLease hep me make this proper or please advice me on other means to have a log of services selected (I use CCcam as a client).
Thanks for help in advance!
I have a DM800HD and I wish to keep log of the service selected (only service, not provider) every one minute.
I searched a bit and I found out that if I telnet at dreambox http://127.0.0.1/web/subservices returns an XML file that lists the service currently playing. So I made a (noob) script that records for 8 hours total the services played. The sh file goes like this:
Code:
wget --output-document=1 http://127.0.0.1/web/subservices sleep 60 # wait 60 second wget --output-document=2 http://127.0.0.1/web/subservices sleep 60 # wait 60 second wget --output-document=3 http://127.0.0.1/web/subservices sleep 60 # wait 60 second .....
It basically creates a file with a number as file name (incremental) and it stores it in the DM memory.
Can someone help me make it more sophisticated than that so that it never stops recording every 1 minute the service selected at the time? And where do I need to store this sh file so that it gets executed automatically when the dreambox boots up?? Right now I need to have a PC turned on in order to do this with putty and the xml files get stored at ./home/root of dreambox
PLease hep me make this proper or please advice me on other means to have a log of services selected (I use CCcam as a client).
Thanks for help in advance!

Comment