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:
A script that emulates a MPD (Music Player Daemon -
http://www.musicpd.org/ ) by using Amarok as the actual player.
It translates the mpd protocol into dcop calls for amarok and thus
allow you to use mpd frontends to controll amarok over a network.

The script is listening on port 6601. Change to config vars on top of
main.py if you want.
Last changelog:

- First preview release


Ratings & Comments

8 Comments

thoughtcrime

nice idea, but only a very few commands work.

Kdepeter

Hi. Nice Idea. But I get a "error: ACK unknown command" everytime I try to connect (with mpc and gmpc). The other clients I testet (sonata, xfce4-mpc und conky) don't work and don't tell me why. Greetings, Peter.

kinection

I think this problem is a result of shlex (used by mpdemu) not being able to parse unicode strings properly. Does mpdemu have a website? or a subversion repository or anything where we can get the latest code?

daroou

Indeed, the problem is with shlex not handling unicode strings. Quick fix: Change line 393 of main.py to: com = "c_%s" %rargs[0].replace('\x00','').lower() And it should work.

hacim

Hi, I was able to install this, and run it in amarok (after I edited where the music root was in the script). I then connected to it with a mpd client and was able to see songs, but I wasn't able to add them, play them, etc. likewise I couldn't get a stream to play. Is there something I am needing to install that I'm missing?

poelzi

The problem seems that most clients think that a set of commands is implemented that acutally arn't. There is a command to list all available commands but client uses it :) Another problem is, that some client are very rigorous about the output. gmpc for example runs, but the connections dies from time to time but i have no idea why. Some clients even segfault :) I will publish a new version in the next days that will feature a config dialog and will work with more clients.

chrisKA

That's a nice project. It's just the other part to my client: AmarokMPC (http://kde-apps.org/content/show.php/AmarokMPC?content=51577). Having this it should be possible to synchronise two Amarok instances just by using the mpd server and client. Maybe somebody wants to try this out and tell us if it worked.

poelzi

In theory it should work. I'm still working on getting more clients working as they should and some parts like file selection are not even implemented yet. It's 0.1 tech preview ;)

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

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags