Script to search and replace specific strings in all songs in an EasyWorship (EW) Schedule file. Supports regex lookup. Tested with EasyWorship 6 on Unix and Windows systems. Should work with EasyWorship 6 (EW6) and newer. Requires Python3 or later.
An EW6 schedule is a zipped sqlite database. This script is nothing more than a way to extract that database from the ZIP container and automatically perform the required SQL queries to search and update the required strings in that database. To update the EW6 database itself, add all items to a schedule, run this script on that schedule, and import the new schedule back into EW6.
scheduleConverter.py [-h] [-r] [-i] [-d] input output search replace
Replace specific items in an EasyWorship Schedule File (.EWSX)
inputThe filename of the schedule to updateoutputThe desired name of the output schedulesearchThe string to replace in the schedulereplaceThe string to replace the search string with in the schedule
-h,--helpshow this help message and exit-r,--regexTreat search and replace strings as regular expressions, including usage of groups-i,--ignore-caseIgnore case in search string-d,--dry-runPrint updated values instead of writing directly to database. Useful for finding the right search and replace strings