enigma2-plugins/autotimer/src Copy to: /usr/lib/enigma2/python/Plugins/Extensions/AutoTimer NOTE: AutoTimerConfiguration.py has a comment at the start about CURRENT_CONFIG_VERSION. "To be bumped for any modification of the config format." Will need to look at that. (I suspect it can be left the same, as all changes are "backwards compatible" - in that they add things, which older code will just ignore). WEB INTERFACE It might be possible to update OpenWebif to enable these fields. The config for the AutoTimer screen is: e2openplugin-OpenWebif/plugin/controllers/views/ajax While looking at it, it might be an idea to also look at the labels used for the Settings page as currently 4 of these just say "Settings" without saying what settings they cover. ==================== AutoTimer.py Contains checkSimilarity(), which actually uses the additonal data. Adds re_from_filters(), descr_trim(), map_a_week(), get_days_back() to help with the processing. AutoTimerComponent.py Defines SIM_DFLT values for trimFilters, SimilarityScores and timegroups Adds the new fields in setValues() Defines get* accessors in class AutoTimerComponent Adds the new fields to assignments in __copy__, __deepcopy__ and __repr__ Create exclude[4] and include[4] for timegroupBase values and exclude[5] and include[5] for trimFilters. AutoTimerConfiguration.py imports SIM_DFLT Adds the new fields to basetimer in parseEntry() Adds the new fields to defaultTimer and timer in buildConfig() Write the new fields to config xml files. AutoTimerEditor.py imports ConfigSelectionNumber and SIM_DFLT Adds new exclude/include fields to __init__ in AutoTimerEditorBase. Adds the new fields to createSetup as ConfigSelectionNumber types In class AutoTimerEditor: Adds Notifiers for searchForDuplicateDescription and useTimegroup changes (to redraw the menu with the changed options). Adds new exclude/include fields to renameFilterButton(). Adds the new fields and help text to initHelpTexts. Adds the new fields to the menu list in refresh() Adds the new fields to save() In class AutoTimerEditorSilent Adds the new fields to save() In class AutoTimerFilterEditor Adds tgBase and trimFilters to typeSelection Add new exclude/include sizes and typeSelection of tgBase and trimFilters in reloadList(). Add label handing for trimFilters in new() Add tgBase in typeSelected(). AutoTimerImporter.py In class AutoTimerImporter/def accept Add autotimer.getIncludedTgBase() and autotimer.getIncludedTrimFilter() to includes setting. Without it you'll get: ========== File "/usr/lib/enigma2/python/Components/ActionMap.py", line 48, in action File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerImporter.py", line 310, in accept File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerComponent.py", line 176, in setInclude include[4] IndexError: list index out of range ========== NOTE!!!! That AutoTimerWizard.py might also need to be fixed in this area. But it already has a problem, in that if you use the wizard and try to add filters, it pops up the text entry menu for weekdays, so fix that too? AutoTimerResource.py In AutoTimerAddOrEditAutoTimerResource Adds new fields to timer in render()