Logo
Explore Help
Sign In
norm/planning-center-to-local-playlist
1
0
Fork 0
You've already forked planning-center-to-local-playlist
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
planning-center-to-local-pl…/envvars.py

16 lines
362 B
Python
Raw Permalink Normal View History

README has started! Added some instructions and limitations to be aware of with the app. Add more logging messages. Added some testing functions to test the various webhook and user states that may be configured. Added an environmental variable for downloading some or all songs. Unfortunately, due to the various ways certain songs may be named (see comments and README), this is proving harder than usual. Added a function for applying the metadata to the final downloaded songs so that it can be picked up by Navidrome/Subsonic API. Split up a few functions into smaller functions. Tried adding some better logging and messaging around songs that are marked as non-downloadable and other messages.
2025-06-18 21:17:32 -04:00
from dotenv import load_dotenv
import os
load_dotenv(override=True)
# Environmental Variables
CLIENTSEC = os.getenv("CLIENT")
SECRET = os.getenv("SECRET")
USER_ID = os.getenv("USER_ID")
SAVE_DIR = os.getenv("DIR")
BASE = "https://api.planningcenteronline.com"
LOGLEVEL = os.getenv("LOGLEVEL")
ALLFILES = os.getenv("ALLFILESBOOL")
ARTIST = os.getenv("ARTIST")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0+dev-138-gd21ce9fa07 Page: 1168ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API