The Applescript syntax is really straight forward (as usual)

Bookmarkable is a boolean, Bookmark is real, Player Position is an
integer (seconds). 

To write the bookmark

If current track is bookmarkable then
set bookmark of current track to player position
End if

and to read the bookmark:

If current_track is bookmarkable then
set player position to bookmark of current track
End if


So it appears that now I need to find out a few other things:

Where it would be appropriate to add this to the iTunes Update
plugin... I suppose where it reads tracks before playing, and updates
iTunes after stopping.

How to read & write the player position in SqueezeCenter


-- 
Bhima
------------------------------------------------------------------------
Bhima's Profile: http://forums.slimdevices.com/member.php?userid=20580
View this thread: http://forums.slimdevices.com/showthread.php?t=54153

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

Reply via email to