kiwidude,
I just had a play with this and noticed something. If the device list is displayed and the button pressed, it is still acting on the library list. The device list doesn't support the temp marker (unfortunately). A "not on the device list" message should be displayed.
And yes, I wasn't interested in using the plugin, only in "borrowing" code. Hmm, maybe I should have addressed you with your title
David