Great job. I will donate to you, my friend. Keep up the good work! Only thing that does not seem to work for me is browsing my collection and playing a song from there or adding / deleting from the playlist. Otherwise this is just a killer app.
Replace in amarokfunc.js
"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('file:///' + trackURL[0]));"
for this line:
"trackURL = Amarok.Collection.query('SELECT rpath FROM urls LEFT JOIN tracks ON urls.id = tracks.url WHERE tracks.id = '+trackId+';');
trackURL2 = Amarok.Collection.query('SELECT lastmountpoint FROM devices LEFT JOIN (urls LEFT JOIN tracks ON urls.id = tracks.url) ON devices.id = urls.deviceid WHERE tracks.id = '+trackId+';');
Amarok.Playlist.addMedia(new QUrl('file://'+ trackURL2[0] + trackURL[0].substring(1)));"
Nice app.
However, I cannot add tracks to the playlist. Simply, nothing happens on the playlist when adding a track.
Also, a feature to queue a song would be great.
Still can't add music to playlist or play music from collection but it's awesome.
Hope in the future you can add the ability to add songs to playlist.
Keep up the good work.
Ratings & Comments
8 Comments
Great job. I will donate to you, my friend. Keep up the good work! Only thing that does not seem to work for me is browsing my collection and playing a song from there or adding / deleting from the playlist. Otherwise this is just a killer app.
Replace in amarokfunc.js "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('file:///' + trackURL[0]));" for this line: "trackURL = Amarok.Collection.query('SELECT rpath FROM urls LEFT JOIN tracks ON urls.id = tracks.url WHERE tracks.id = '+trackId+';'); trackURL2 = Amarok.Collection.query('SELECT lastmountpoint FROM devices LEFT JOIN (urls LEFT JOIN tracks ON urls.id = tracks.url) ON devices.id = urls.deviceid WHERE tracks.id = '+trackId+';'); Amarok.Playlist.addMedia(new QUrl('file://'+ trackURL2[0] + trackURL[0].substring(1)));"
Nice app. However, I cannot add tracks to the playlist. Simply, nothing happens on the playlist when adding a track. Also, a feature to queue a song would be great.
Still can't add music to playlist or play music from collection but it's awesome. Hope in the future you can add the ability to add songs to playlist. Keep up the good work.
I Created this account to say this is awesome keep it up man!
App && Script ... are absolutely wonderful, terrific, great ! Thank You !
I'm a bit irritated, because script.spec still states 0.3 as version of the script. m0nk
Fixed