mwheelerjr / mptvseries

Automatically exported from code.google.com/p/mptvseries
0 stars 0 forks source link

Advanced setting to allow custom SQL query #608

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For the advanced users it might be nice if they had the ability to configure 
some SQL queries to be executed at certain stages of the plugin.

The method to enter the queries doesn't even need to be exposed in the 
configuration screen, as it is meant for the advanced users. A new table called 
'queries' or something that allows an advanced user to configure a few queries 
manually.

It would be nice if it was possible to configure seperate queries that are 
executed at different times, for example:

1. During init, before farcade is loaded
2. Before and/or after import (so that it can run at intervals)
3. Right before de-init/close

Only #1 and #2 are of actual importance, because #1 would follow #3 anyway on 
next startup, which makes #3 less of an issue. Normally the query during init 
would be enough, but for systems that are on 24/7 it would be nice if it can 
tie in with the existing interval based import runs.

Original issue reported on code.google.com by RoChess....@gmail.com on 24 Sep 2011 at 6:05