Woow that┬┤s just great. I was a little bit afraid, that the EG-projekt will die with bitmonster gone, but there is a new hope with your program. Thanks for that. I will have a closer look the next days.
Best regards,
Alex
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 14 matches
- Sun Jan 09, 2011 6:23 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
- Sun Jan 09, 2011 6:10 pm
- Forum: Hilfe und Support
- Topic: EG + XBMC + Power DVD 10 = Große Verzweiflung
- Replies: 5
- Views: 3619
Re: EG + XBMC + Power DVD 10 = Große Verzweiflung
Hi,
probier dochmal "Suche Fenster: PowerDVD" + "Schlie├ƒe Fenster". So habe ich das zumindest bei mir mit Mediaportal und TMT3 eingestellt. Problem k├Ânnte auch sein, dass du vielleicht die Stop Taste 2mal zugewiesen hast. Also einmal bei Close und einmal bei PowerDVD-Stop. Ist das bei dir so ...
probier dochmal "Suche Fenster: PowerDVD" + "Schlie├ƒe Fenster". So habe ich das zumindest bei mir mit Mediaportal und TMT3 eingestellt. Problem k├Ânnte auch sein, dass du vielleicht die Stop Taste 2mal zugewiesen hast. Also einmal bei Close und einmal bei PowerDVD-Stop. Ist das bei dir so ...
- Sun Jan 09, 2011 5:49 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Re: Dynamic Webserver + special characters (ASCII)
Hi Brett 
No problem at all. I am not in a hurry. Quick question: what do you mean by "fork" ?
Best regards and good luck with your move,
Alex
No problem at all. I am not in a hurry. Quick question: what do you mean by "fork" ?
Best regards and good luck with your move,
Alex
- Thu Jan 06, 2011 11:33 am
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Re: Dynamic Webserver + special characters (ASCII)
Hey guys,
ok i found out that i had to convert the html file to "UTF-8 without BOM". Btw. i use Notepad++.
But when my html code looks like this:
<html>
<head></head>
<body>
Umlaute: 12ä
</body>
</html>
it stops working again, followed by error messages in EG.
Also i found out that the .py ...
ok i found out that i had to convert the html file to "UTF-8 without BOM". Btw. i use Notepad++.
But when my html code looks like this:
<html>
<head></head>
<body>
Umlaute: 12ä
</body>
</html>
it stops working again, followed by error messages in EG.
Also i found out that the .py ...
- Wed Jan 05, 2011 10:26 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Re: Dynamic Webserver + special characters (ASCII)
You are right ... i am sorry.
Here the html:
<html>
<head></head>
<body>
<p>
Umlaute: {{eg.globals.test}}
</p>
</body>
</html>
and here the code for the variable:
eg.globals.test = "13"
As i said, when i convert the html to utf-8 it is followed by these error messages ...
Here the html:
<html>
<head></head>
<body>
<p>
Umlaute: {{eg.globals.test}}
</p>
</body>
</html>
and here the code for the variable:
eg.globals.test = "13"
As i said, when i convert the html to utf-8 it is followed by these error messages ...
- Wed Jan 05, 2011 9:55 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Re: Dynamic Webserver + special characters (ASCII)
Hi,
ok i just found out, that at the moment i converted the html file to utf-8 the error-messages show up even when my variable is just "123".
Maybe i have a bigger problem ?!
Best regards,
Alex
ok i just found out, that at the moment i converted the html file to utf-8 the error-messages show up even when my variable is just "123".
Maybe i have a bigger problem ?!
Best regards,
Alex
- Wed Jan 05, 2011 9:32 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Re: Dynamic Webserver + special characters (ASCII)
Hi,
thank you for your answer, but it didn┬┤t help
I converted the html into utf-8 but eventghost still showes error messages. Any idea ?
Best regards,
Alex
thank you for your answer, but it didn┬┤t help
I converted the html into utf-8 but eventghost still showes error messages. Any idea ?
Best regards,
Alex
- Wed Jan 05, 2011 5:35 pm
- Forum: Coding Corner
- Topic: Dynamic Webserver + special characters (ASCII)
- Replies: 14
- Views: 5006
Dynamic Webserver + special characters (ASCII)
Hey guys,
i have a big problem and i am in need of your help. The dynamic webserver is not able to handle special german characters (like ├ñ├╝├Â) and eventghost only delivers error messages "'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128))". I use dynamic variables ...
i have a big problem and i am in need of your help. The dynamic webserver is not able to handle special german characters (like ├ñ├╝├Â) and eventghost only delivers error messages "'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128))". I use dynamic variables ...
- Tue Jan 04, 2011 10:11 pm
- Forum: Hilfe und Support
- Topic: Anfängerfrage: Shortcut ausführen
- Replies: 2
- Views: 2331
Re: Anfängerfrage: Shortcut ausführen
Hi,
"Neues Makro" oder "Befehl" | "Fenster" | "Emuliere Tastatureingabe"
Damit kannst du die Tastaturbefehle eingeben. Wichtig ist auch, dass du vorher vielleicht den Befehl "Finde Fenster" einfügst und auf Winamp verweisen lässt. Dann klappt die Tastaturemulation immer.
Viele Grüße,
Alex
"Neues Makro" oder "Befehl" | "Fenster" | "Emuliere Tastatureingabe"
Damit kannst du die Tastaturbefehle eingeben. Wichtig ist auch, dass du vorher vielleicht den Befehl "Finde Fenster" einfügst und auf Winamp verweisen lässt. Dann klappt die Tastaturemulation immer.
Viele Grüße,
Alex
- Tue Jan 04, 2011 10:02 pm
- Forum: Hilfe und Support
- Topic: Dynamic Webserver + Umlaute (ASCII)
- Replies: 0
- Views: 1800
Dynamic Webserver + Umlaute (ASCII)
Hallo,
komme gerade nicht weiter und brauche eure Hilfe.
Ich m├Âchte mir Variablen meiner Weboberfl├ñche anzeigen lassen. Nur diese k├Ânnen auch Umlaute (├ñ├Â├╝) enthalten. Jedesmal wenn ich ich eine solche Variable ├╝ber den Webserver abfragen will, kommen Fehlermeldungen bei Eventghost (z.B ...
komme gerade nicht weiter und brauche eure Hilfe.
Ich m├Âchte mir Variablen meiner Weboberfl├ñche anzeigen lassen. Nur diese k├Ânnen auch Umlaute (├ñ├Â├╝) enthalten. Jedesmal wenn ich ich eine solche Variable ├╝ber den Webserver abfragen will, kommen Fehlermeldungen bei Eventghost (z.B ...
- Tue Jan 04, 2011 2:54 pm
- Forum: General Support
- Topic: How to parse the payload ?
- Replies: 6
- Views: 5044
Re: How to parse the payload ?
Hi miljbee,
thank you for your help, but obviously i am to stupid, to bring your explaination into my script. Can you help me please ?
I want to get rid off the [] and " u' " and the " ' " at the end.
Best regards,
Alex
EDIT:
Never mind - it worked :) Thank you !
z = eg.event.payload
p = z[0 ...
thank you for your help, but obviously i am to stupid, to bring your explaination into my script. Can you help me please ?
I want to get rid off the [] and " u' " and the " ' " at the end.
Best regards,
Alex
EDIT:
Never mind - it worked :) Thank you !
z = eg.event.payload
p = z[0 ...
- Tue Jan 04, 2011 12:01 pm
- Forum: General Support
- Topic: How to parse the payload ?
- Replies: 6
- Views: 5044
Re: How to parse the payload ?
Hi krambriw,
i have noticed that your script is working a bit better, so i want to use it. But there is one problem, because the actual payload looks like this:
The problem are the "[ ]". How do i get rid of them with your script ?
Best regards,
Alex
i have noticed that your script is working a bit better, so i want to use it. But there is one problem, because the actual payload looks like this:
Code: Select all
[u'MSN/Name/Number/Date/Time']Best regards,
Alex
- Tue Jan 04, 2011 8:11 am
- Forum: General Support
- Topic: How to parse the payload ?
- Replies: 6
- Views: 5044
Re: How to parse the payload ?
Thank you very much for your help :)
The Final Script looks like this (a friend was able to help me):
s = eg.event.payload
res = s[0].split(',')
msn = res[0].split('/')[0]
name = res[1].strip()
phone = res[2].split('/')[1].strip()
date = res[2].split('/')[2]
time = res[2].split('/')[3]
Best ...
The Final Script looks like this (a friend was able to help me):
s = eg.event.payload
res = s[0].split(',')
msn = res[0].split('/')[0]
name = res[1].strip()
phone = res[2].split('/')[1].strip()
date = res[2].split('/')[2]
time = res[2].split('/')[3]
Best ...
- Mon Jan 03, 2011 5:56 pm
- Forum: General Support
- Topic: How to parse the payload ?
- Replies: 6
- Views: 5044
How to parse the payload ?
Hey guys,
i am not new to eventghost but i am new to scripting with python :lol:. The last days i worked hard on my home-automation and i am now at the point, where i want to get my call monitor (janrufmonitor) involved. I am now able the get this data sent to EG as payload: "MSN / Callername ...
i am not new to eventghost but i am new to scripting with python :lol:. The last days i worked hard on my home-automation and i am now at the point, where i want to get my call monitor (janrufmonitor) involved. I am now able the get this data sent to EG as payload: "MSN / Callername ...