Registered Member
|
Is there any way of getting the current playlist from amarok using DCOP?
I have had a good search of the 1.3.9 interface, but the only way i can see is to save the current list and parse it. This will be slow and writing to disk repeatedly is not ideal. I know it is possible to get the playlist if I was writing a python script, but i have a standalone C++ app that needs to read the current playlist. Cheers Bob http://airlcd.sourceforge.net/ |
Registered Member
|
You could save it to /dev/shm, thus it just stays in memory.
I wonder if you can make saveM3u to output to STDOUT instead of saving to a file somehow... |
KDE Developer
|
Or perhaps a signal whenever the playlist changes?
Amarok Developer
|
Registered Member
|
Thanks for your help.
I decided to go with just using the save current playlist DCOP command and reading in the XML file. Cheers Bob http://airlcd.sourceforge.net/ |
Registered Member
|
You should put this on wiki site of amarok... |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]