Amarok 2 Android remote Fix

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
7.0

Description:
Replace amarokfunc.js from http://kde-apps.org/content/show.php/Amarok+2+Android?content=141974
Last changelog:

Add Files to Playlist.
quick Play Now.


Ratings & Comments

2 Comments

pxc

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!

xyzwqt

With this we get a relative path to the music. SELECT rpath FROM urls LEFT JOIN tracks ON urls.id = tracks.url WHERE tracks.id = '+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 urls.id = tracks.url) ON devices.id = urls.deviceid WHERE tracks.id = '+trackId+';' Concatenate and we have the absolute path. Now you can call to Amarok.Playlist.addMedia without problems. Sorry for my English.

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

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