This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I try to correct a script that's working on Windows

Tags: None
(comma "," separated)
conatic
Registered Member
Posts
1
Karma
0
OS
I have a downloaded Amarok remote from ANdroid Market. I have installed the script but in the .js file a function gets rpath but it is not the correct
path : I have to remove a leading point and add the path of the mount point of my hard drive :

Code: Select all
     trackURL = Amarok.Collection.query('SELECT rpath FROM urls LEFT JOIN tracks ON urls.id = tracks.url WHERE tracks.id = '+trackId+';');
   Amarok.Playlist.addMedia(new QUrl('/media/usb0' + trackURL[0].substr(1)));


Is it a way to get correct full rpath with Amarok Version 2.3.1 ?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]