ShadowKyogre / ChronosLNX

A simple tool for checking planetary hours and the moon phase.
http://shadowkyogre.github.com/ChronosLNX/
GNU General Public License v3.0
5 stars 1 forks source link

More advanced triggers #5

Open ShadowKyogre opened 12 years ago

ShadowKyogre commented 12 years ago

Currently, the events are stored in a csv file in the following format Enabled,Date,Hour,Event Type,Text

And the available values for date and hour are as follows: Date:

Hour:

This is a gross oversimplification and should also have more triggers that would be also needed, such as:

The best way for this to be reworked would be to have the csv file sectioned as: Enabled,Trigger Type,Trigger Opts,Event type,Event Opts or Enabled,Trigger,Event type,Event Opts

Either method would involve probably cramming in the options using json or something. Another option would be to just...pickle it. But pickling is ugly too

ShadowKyogre commented 11 years ago

On a related note, I've also been thinking of separating out the event checking stuff outside of the GUI and add exporting to the ICal format in case one wants to use a different calendar app.