Image 01
profile-image

alfredbach

Alfred Bachmann
udpQtscript receiver

Amarok 2.x Scripts by kinta 2 comments

good script for remote control.

The convert QByteArray convert catch(es) a lot. I don't know the reason but have a simple workarround.

1. append one char so all eval response is always a string.
UDPcommand="X" + eval(command)

2. cut this char before write
response= new QByteArray(message).mid(1);

Alfred - Mar 18 2010