<gh_stars>1-10

# Blank configuration. Rename this to config.py and fill out the values.

import os

# The location of the photo tree.
DATA_DIR = "/mnt/data"
# The location of the original photos.
ROOT_DIR = os.path.join(DATA_DIR, "photos")
# The location of the preprocessed photos.
PROCESSED_ROOT_DIR = os.path.join(DATA_DIR, "processed_photos")

# Flags.
ENABLE_SONOS = False

# People we can email from.
EMAIL_FROM = [
    {
        "name": "<NAME>",
        "first_name": "First",
        "email_address": "<EMAIL>",
    },
    {
        "name": "<NAME>",
        "first_name": "Other",
        "email_address": "<EMAIL>",
    },
]

# Directory parts to not display in the label.
BAD_PARTS = set([
    "Published", "Originals", "Unsorted",
])

# Directories to skip altogether.
UNWANTED_DIRS = [
    ".thumbnails",
    ".small",
    "Broken",
    "Private",
]

# If a pathname part has this prefix, the whole part is ignored when displaying
# the label.
BAD_FILE_PREFIXES = ["DSC_", "PICT", "100_", "IMG_", "P101", "VIP_", "Image",
        "pick", "dcp_", "DSCF"]

# Fill this in if you want to display NextBus information with the "b" key.
NEXTBUS_AGENCY_TAG = None    # E.g., "sf-muni"
NEXTBUS_STOP_ID = None

# Fill this in if you want to be able to send photos to the slideshow program
# using text messages. Requires a Twilio account and phone number.
TWILIO_SID = None               # E.g., "ECbf..."
TWILIO_TOKEN = None             # The secret token string.
TWILIO_SUBDIR = "twilio"        # Where to store images, relative to ROOT_DIR.
TWILIO_MESSAGE = "Text photos to 415-555-5555"

# Enable this for a party. It has the following effects:
#
#    Turns on Twilio fetch mode by default.
#    Displays the TWILIO_MESSAGE instead of the image's label.
#    Polls Twilio much more frequently.
#
PARTY_MODE = False

# Blank configuration. Rename this to config.py and fill out the values.

import os

# The location of the photo tree.
DATA_DIR = "/mnt/data"
# The location of the original photos.
ROOT_DIR = os.path.join(DATA_DIR, "photos")
# The location of the preprocessed photos.
PROCESSED_ROOT_DIR = os.path.join(DATA_DIR, "processed_photos")

# Flags.
ENABLE_SONOS = False

# People we can email from.
EMAIL_FROM = [
    {
        "name": "<NAME>",
        "first_name": "First",
        "email_address": "<EMAIL>",
    },
    {
        "name": "<NAME>",
        "first_name": "Other",
        "email_address": "<EMAIL>",
    },
]

# Directory parts to not display in the label.
BAD_PARTS = set([
    "Published", "Originals", "Unsorted",
])

# Directories to skip altogether.
UNWANTED_DIRS = [
    ".thumbnails",
    ".small",
    "Broken",
    "Private",
]

# If a pathname part has this prefix, the whole part is ignored when displaying
# the label.
BAD_FILE_PREFIXES = ["DSC_", "PICT", "100_", "IMG_", "P101", "VIP_", "Image",
        "pick", "dcp_", "DSCF"]

# Fill this in if you want to display NextBus information with the "b" key.
NEXTBUS_AGENCY_TAG = None    # E.g., "sf-muni"
NEXTBUS_STOP_ID = None

# Fill this in if you want to be able to send photos to the slideshow program
# using text messages. Requires a Twilio account and phone number.
TWILIO_SID = None               # E.g., "ECbf..."
TWILIO_TOKEN = None             # The secret token string.
TWILIO_SUBDIR = "twilio"        # Where to store images, relative to ROOT_DIR.
TWILIO_MESSAGE = "Text photos to 415-555-5555"

# Enable this for a party. It has the following effects:
#
#    Turns on Twilio fetch mode by default.
#    Displays the TWILIO_MESSAGE instead of the image's label.
#    Polls Twilio much more frequently.
#
PARTY_MODE = False
# Blank configuration. Rename this to config.py and fill out the values. # The location of the photo tree. # The location of the original photos. # The location of the preprocessed photos. # Flags. # People we can email from. # Directory parts to not display in the label. # Directories to skip altogether. # If a pathname part has this prefix, the whole part is ignored when displaying # the label. # Fill this in if you want to display NextBus information with the "b" key. # E.g., "sf-muni" # Fill this in if you want to be able to send photos to the slideshow program # using text messages. Requires a Twilio account and phone number. # E.g., "ECbf..." # The secret token string. # Where to store images, relative to ROOT_DIR. # Enable this for a party. It has the following effects: # #    Turns on Twilio fetch mode by default. #    Displays the TWILIO_MESSAGE instead of the image's label. #    Polls Twilio much more frequently. #