- Rewind and next buttons wont work for bookmarked albums (because
    these also trigger the newsong event which then jumps back to the
    bookmarked position). You can, however, use the scroll bar.[/color]

You could listen to the button command notification and set some flag or
reset state when fwd/rew are pressed?

Hm, but what about people selecting a track in the playlist or whenever
the skip command is used instead of the button? I think using these old
button commands is really bad style, shouldn't they be mapped to the
skip command internally anyway? Is there a way to intercept that one?

skip doesn't exist, does it? There are player jump/index commands. But they're not exactly the same: the button code has some additional logic built in to behave like you would the actual button expect to behave. It doesn't always skip back, but would first jump to the start of the current track etc. IMHO it totally makes sense and is still being used for the software buttons, too (Touch, web UI).

You could use the urlhash value instead. This would only change if a
file or folder changed.

Would that also work for remote albums (from services)?

oops... meant to write urlmd5 (not urlhash). No, we don't store it for remote albums. But you could use url in any case. Uses a few more byte than the urlmd5 hash, but that shouldn't hurt too badly in this use case.

--

Michael
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to