Files
planning-center-to-local-pl…/.env.example

25 lines
1.6 KiB
Plaintext
Raw Normal View History

# Please go to https://api.planningcenteronline.com/oauth/applications
# Create new Personal Access Token
# Paste them below
CLIENT = ""
SECRET = ""
# USER_ID can be found via API or after logging into PCO, clicking your initials in top right of screen, and clicking "My Profile".
# The URL will be: https://services.planningcenteronline.com/people/XX{user_id}/edit
# Just grab the numbers, not the two letters before it.
USER_ID = ""
# DIR is the final resting place of your music files from PCO. Should be accessible on the same device/VM as this flask app is running.
# TODO: Add option for transferring files between services via ssh
DIR = "/path/to/your/music"
# Options include DEBUG, INFO
# DEBUG will print the entire payloads to log files.
LOGLEVEL = "INFO"
# Download All Files or only the ones that match Track Names? default=false
# WARN: For the time being, keep ALLFILESBOOK as True as I am unsure what will happen with False.
# While the goal was to give end users the option to only download specified tracks, there doesn't seem to be consistency in the file names to make this possible. My church has stuff like "PTTL" for Praise to the Lord (full band) and "IKAN_EG1_rehearsal" for I Know a Name - Guitar 1 rehearsal track. Plus, we don't use attachment_types, which is where a PCO admin might administer instruments or otherwise. I can't see right now how I'd scale this across the many churches implementing PCO.
# TODO: Add option for specific instrument files to download.
ALLFILESBOOL = "True"
# Enter the artist name you want for the id3v2 tag so that the Subsonic API picks it up.
ARTIST = ""