Thanks Erland 
As I understand your reply, the only two actions required are:
1.  When items are added or deleted from the current playlist, save the
data about  the current playlist in a table with a unique ID "current
playlist" as key. This code should run immediately after the add/delete
command.
2.  When a playlist is deleted, change the "current playlist" unique ID
as used by 1. This code should run after the deletion of the whole
playlist, but before any new add/delete actions. 

So this should be possible without any disruption of normal behaviour
and with the existing API, right?  It does require that deletion of a
whole playlist in SBS is not implemented as a series of "delete one
track". 

You are probably right that the demand for Playlist history is not so
great even if the undo part of it is not the most important for me
personally. 

I guess I just have to learn how to code a plugin. Where would you
recommend me to start? I do know programming and SQL but I have no clue
about what the API or DB look like. So I suspect it will take me some
time :-) 
Perhaps it's better to continue this outside this thread - this thread
is intended for your plugins. 
Best 
Thomas


-- 
tuc

--
Server:  Atom D510 running Ubuntu 10.10 with 2 GB RAM
Players: SB receiver + 2 SB boom, all players synchronized
Remotes: SB controller + HTC legend with SqueezeCommander
------------------------------------------------------------------------
tuc's Profile: http://forums.slimdevices.com/member.php?userid=34475
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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

Reply via email to