View Single Post
helex's Avatar
Posts: 543 | Thanked: 802 times | Joined on Apr 2010 @ Germany
#8
Originally Posted by X-Fade View Post
Awesome application!
Thanks a lot... it's my first try in python and Qt.

I have some experience as a Windows programmer. So I know what I need, my problem on python and qt is only how to get it. It's VERY different in some parts.
I have written it as a learning project. Because of that I store at example the settings in a SqLite Database. A simple textfile would be much easier. But I wanted to know how I can handle SQL in python.

Originally Posted by X-Fade View Post
Can I file some feature requests?
  • Switch between multiple devices.
Mh, good Idea. This could fix easily the remote control problem if you have more than one box in a room.
My biggest problem would be how to handle this in the settings menu I guess. Hmm... let's see.

Originally Posted by X-Fade View Post
  • Enigma1 support
Ah, okay. I haven't had Enigma1 in my hands before. But I will google to find something about it.
I know from your Mails you have a dm600 and a dm800 Dreambox. So I need you as a Betatester for Enigma1.

I found a other guy at talk.maemo.org who is currently trying to develop something similar for DBox / Tuxbox with neutrino-hd. It would be easy to add this feature to my project. But I don't want to make his efforts unnecessary. He is also a python beginner.

The Images for the old DBox are Enigma1 or is it different?
There are very different Button commands for the neutrino-hd. So I guess the Remote Control is very different in layout and the way to use it.

Originally Posted by X-Fade View Post
It seems there are only 2 small differences for enigma1:

example request:
Code:
/cgi-bin/rc?402
This is the bouquet up request.
In enigma2 this would be:
Code:
/web/remotecontrol?command=402
So basic url is: http://<ip>/cgi-bin/rc?<command>

Response is:

Code:
HTTP/1.1 204 No Content
Connection: close
Content-Length: 0
Content-Type: text/html; charset=utf-8
Instead of a 200 response for enigma2.
I'm currently only testing: "Is there a response or no response."
It's hard for me to imagine a scenario where the command was succesful send and accepted... but without a device to react.
But I guess I should test what the response exactly is.

Are the Enigma1 and Enigma2 codes the same? I haven't found a Table like for Enigma2.
The old Dreambox Remote Control has 3 Buttons in the Bottom, is that correct?