Hi, all,
I have been working on a Planning Center Online plugin for OpenLP 2.4.6. It's now ready to see if others can use it.
You can download the 0.1 beta release at:
If you use Planning Center Online and want to try OpenLP with it, give this a whirl and let me know if it works for you. I've been using it myself for the past 2 weeks.
Best Regards,
John Kirkland
Release Notes are below:
This is the first beta release of the Planning Center Online plugin for OpenLP.
Installation (Windows/Linux):
- Unzip the planningcenter.zip file into your Planning Center plugins folder, keeping the planningcenter folder intact.
- Start OpenLP
- Verify and activate the planningcenter plugin in the Settings->Manage Plugins menu.
Installation (MacOS)
- Right click on OpenLP in the Applications Folder and select "Show Package Contents"
- Unzip the planningcenter.zip file inside of the OpenLP application at Contents/MacOS/plugins, keeping the planningcenter folder intact.
Usage:
- Select the File->Import->Planning Center Service menu.
- Setup your authentication keys, following the directions in the GUI.
- Import Services
Recommended Settings:
- Turn off the "Import missing songs from service files" configuration
in the Songs plugin. You will get strange results if you (a) import a
song, (b). change the song lyrics on Planning Center, (c) import the song again, (d)
edit the song. You will display the correct lyrics in the Service
Manager but if you try and "edit" the song from the ServiceManager, then
you will be editing the original lyrics, not the updated ones. You are
better off depending on PCO as your song database if you use this
plugin.
Currently Supported Features:
- Importing Lyrics from Planning Center songs that are added to a service (no verse order or other media support currently)
- Importing slides as Custom Slides. Note: the V2 API does not have
support for getting the content added to slides on Planning Center.
While PCO is discussing adding this back into the V2 API, they do not
intend to continue to have support for editing these slides in the
Services Web GUI sometime in 2019. So... this plugin just replicates
the titles of any slides onto a single-page custom slide.
- Updating Service. This updates the current service in OpenLP with a
new copy from Planning Center Online, keeping any edits you've made
since you Imported it earlier. The use case here is that you are
updating Custom Slides while the band is off working on rehearsals.
After rehearsals, you can use the "update" feature to pull in any lyric
or song-order updates without overwriting your custom slide updates.
Note: if a song or custom slide is removed from Planning Center, it will also be removed from OpenLP, even if you have updated it.
Comments
Get it here: https://ci.appveyor.com/project/OpenLP/dev/build/OpenLP-win-ci-b638/artifacts
Note that this is not a supported build!!!
The previous 0.1 release was based off of a standalone utility that I wrote that reverse engineered the json/xml formats in the OpenLP saved service files and then mimicked the actions of loading these into a new service.
This 0.2 release builds upon that code and knowledge but incorporates OpenLP classes and documentation styles into the classes/methods.
Features:
Internal Changes:
Installation Instructions (Windows/Linux):Unzip the planningcenter.zip file into your Planning Center plugins folder, keeping the planningcenter folder intact.
OK so I have unzipped it into share/openlp/plugins and checked Linux permissions, but its not available as in, not showing in plugins. Any ideas?
Regards, Alistair
I've just tried your plugin and it has one problem with the date format. Could you advise?
When I go to "Import" I see this error message:
Traceback (most recent call last):
File "C:\Program Files (x86)\OpenLP\plugins\planningcenter\forms\planningcenterform.py", line 216, in on_service_type_combobox_changed
plan_datetime = datetime.strptime(plan['attributes']['dates'],'%B %d, %Y')
File "_strptime.py", line 507, in _strptime_datetime
File "_strptime.py", line 344, in _strptime
ValueError: time data '9 December 2018' does not match format '%B %d, %Y'
Actually it was @jpk who did all the hard work, I just bundled it.
But yes, it seems there is a problem with date formats. I'll have a look when time allows.
I used the date format in the code that my planning center sends me. Your date string is different than mine.
To fix this, I’ll either need to use a library that automatically parses arbitrary date strings or find a date string setting in the planning center API.
In which country are you located? I want to see if I can get my planningcenter to behave like yours.
Thanks,
-John
I don't think copying in the new code will work on Windows - unless you have a full development setup.
-John