script notify - no more tracks

Nick Tryon dhraak at gmail.com
Wed Nov 22 05:28:27 UTC 2006


On 11/21/06, Ljubomir Simin <ljubomir.simin at gmail.com> wrote:
> I'm experimenting a bit with Amarok, scripts and other funny stuff (like xmms
> integration ;)), and I came to conclusion that I would love to know when
> Amarok finished playing all tracks. Alternatively, it doesn't have to be the
> last track - info about the end of current track would be enough.
> I have tried "engineStateChange: idle" and "empty" script notifications,
> however none of them seemed to react. "trackChange" notification worked, but
> I don't need the beginning of the track - I need the end. So, can you point
> me to a place in code where new signal could be sent? I'm not interested in
> implementing it upstream, I'm just playing around.

Same place that triggers the "Playlist Finished" message in the OSD, I
would guess, even though I have no idea where that would be.



More information about the Amarok mailing list