Amarok 2 Android remote Fix

Amarok 2.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on


Replace amarokfunc.js from
Last changelog:

10 years ago

Add Files to Playlist.
quick Play Now.



9 years ago

I'd been waiting for a fix to this, as I use the Amarok 2 remote for Android and have been frustrated by those two particular deficiencies. At one point, I went poking through the source of the script (which is included in the executable, since it's Javascript) to see if I could fix it.

I was able to get some things done, but I felt my understanding of what I was supposed to do would be better if I could see the source of the Android client, as well. The source is missing from the maintainer's website, and when I emailed him asking for it, I never got a response.

If you don't mind, could you describe what you had to change and why? (I'll of course also compare the two versions of amarokfunc.js.)

Again, thank you!




9 years ago

With this we get a relative path to the music.

SELECT rpath FROM urls LEFT JOIN tracks ON = tracks.url WHERE = '+trackId+';'

With this other part that we need to make the first an absolute path.

SELECT lastmountpoint FROM devices LEFT JOIN (urls LEFT JOIN tracks ON = tracks.url) ON = urls.deviceid WHERE = '+trackId+';'

Concatenate and we have the absolute path.
Now you can call to Amarok.Playlist.addMedia without problems.
Sorry for my English.


10 years ago

Add Files to Playlist.
quick Play Now.

product-maker e1nste1n Nov 04 2012 9 excellent
product-maker shaddow2k Jan 07 2012 9 excellent
product-maker mujahidh Nov 27 2011 9 excellent
product-maker Quintasan1 Jul 04 2011 9 excellent
product-maker pxc Jun 14 2011 9 excellent
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Jun 12 2011
added Jun 12 2011
downloads 24h
mediaviews 24h 0
pageviews 24h 1
System Tags addon