scripting for complete dummies

Ian Monroe ian at monroe.nu
Fri Oct 27 00:47:51 UTC 2006


On 10/26/06, Rich <rich at hq.vsaa.lv> wrote:
> Seb Ruiz wrote:
> > The playlist is automatically saved by the undo / redo stack. You'll
> > want to use the xml files in ~/.kde/share/apps/amarok/undo instead of
> > doing all the work again.
>
> oh, thanks. that would indeed be better.
> the problem is, these playlist contain only manual changes, so playlist
> advancing in dynamic mode is not saved there (unless i am missing
> something), thus keeping track of both of them seems necessary anyway.
>
> and this brings back the need to get playlistchanged signal for a
> script, so that it could manage both dynamic mode playlist changes and
> manual ones.
> is there such a signal at all ?

Doesn't look like it, I believe the Script HowTo has all the signals.

Undo/redo has all human changes, and you could save every time the
track progressed. Then you just have to take the most recent of the
two. I think my logic is sound.

Ian Monroe



More information about the Amarok mailing list