udpQtscript receiver

Amarok 2.x Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Sometimes dbus methods hasn't all the capabilities that qtscript amarok API has.
This script can bridge some programming languages with Amarok qtscript API.
Is a receiver of udp datagrams to evaluate qtscript commands coming from outside, by default listens on port 45450 and replies the output to 45451.
Included a little python script to broadcast datagrams to udp receiver plugin, and to receive the reply from amarok (look at ~/.kde/share/apps/amarok/scripts/udpreceiver/ for broadcastsenderqt.py).

Ratings & Comments

2 Comments

alfredbach

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

eusonig

Really amazing. I'm thinking in a method to read lyrics from a plasmoid and here is the solution. Brilliant. In my test seems to be problems with encoding 'áéíóúñ' and for asian characters :(. Ah, one thing, turn off your firewall or open needed ports ;).

Pling
0 Affiliates
Details
license
version 0.0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Amarok 2.x Scripts from kinta:

Mount point Checker
kinta
last update date: 16 years ago

Score 5.7

Other Amarok 2.x Scripts:

raya
raya1234
last update date: 15 years ago

Score 5.0

Partition Assistant
shiny521
last update date: 15 years ago

Score 5.0

google-clone
jenifferhomes
last update date: 15 years ago

Score 5.6

Quran Audio Library
boubakr92
last update date: 12 years ago

Score 4.4

Remove Current Track
alexoleshkevich
last update date: 14 years ago

Score 4.7

indoLyrics
cyrus007
last update date: 14 years ago

Score 4.7



System Tags