#!/usr/bin/env python class ppTagConfig(): """A simple class holding the config for ppTag""" ####################### Change HERE ####################### #if you do not have a token you have to supply your credentials PLEX_LOGIN = '' PLEX_PASS = '' # if you already have a token pass it here PLEX_TOKEN = '' # the plex server url PLEX_URL = 'http://192.168.0.200:32400' # including http(s) (local url is best) # provide the usernames for which the rating should be updated # when users have a pin we need this, otherwise set it to '' USERDATA = { 'user': '1234' } # for the access tokens we need the exact server name SERVERNAME = 'plexserver' # Photo section name in plex to focus on (empty will process the first photo section found) PLEX_SECTION = '' # path of the photo library in plex (absolute path) PHOTOS_LIBRARY_PATH_PLEX = '//' # for the correct path creation we need the path to the # photo library from the view of the script (absolute path) # Linux/Mac: "//" # Windows: "C:\\some folder\\some folder" # (paths need escaping) PHOTOS_LIBRARY_PATH = "//" # start an update at the start of the script FORCE_RUN_AT_START = True # False # set logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) LOG_LEVEL = 'ERROR' ###########################################################