... not easy, for me at least. I struggled a bit the CLI which is new to me, then with parsing, then with my own data structure (!!) And finally came the moment the Unix epoch had to be reconciled with SC's "epoch" (00:00 on day 0, that is every Sunday). Umphh, ok. Ah, those alarms in the past you're discarding, aren't they also alarms in the future, like next week ? D'oh! Finally I think I got it right. The code is real mess, I need to clean it up a little before sharing.
BTW you need to run 7.2.1 or later to have the CLI "<player id> alarms 0 99 ?" return the list of days-of-the-week. I use this. The CLI is seems a bit in flux (I think I should go read the source, I managed with the example crontab code and the online doc), but it is so nice to use. -- epoch1970 ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
