verbatone;202811 Wrote: > As well, there's the time differntial so some of the SB songs get cut > off when Amarok finishes it's song and switches to another. The last > issue is that if the files are supposed to play gapless, they won't > come close to gapless playback. Via Amarok, I can't see a way to find > out what the NEXT song in the playlist is to add it to the SS playlist. > Anyone have any ideas? Thanks,
Hmmm. The DCOP interface is documented here: http://docs.kde.org/stable/en/extragear-multimedia/amarok/the-dcop-interface.html For getting the next track, you may need to use: QString saveCurrentPlaylist() ... followed by int getActiveIndex() Maybe a more elegant (though substantially more difficult) solution would be that, whenever "play" is pressed in amarok, the script gets amarok's playlist (with saveCurrentPlaylist()) and sends the entire thing to slimserver, perhaps via slimserver's command-line interface. That's likely to break sync a little, but would prevent songs being cut off and would enable gapless playback on your SS client. It's hard to imagine how you'll get gapless sync between amarok and your SS client when it's not even possible between SS clients at present! -- bukharin ------------------------------------------------------------------------ bukharin's Profile: http://forums.slimdevices.com/member.php?userid=10859 View this thread: http://forums.slimdevices.com/showthread.php?t=34842 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
