DJ Edna Settings

FILE_ROOT

Absolute path to the directory that holds audio files.

COVER_DIRNAME

Name of the directory (relative to MEDIA_ROOT) that holds cover image files.

ZIP_ROOT

Absolute path to the directory that holds zip files.

CATALOG_URL

Base URL that handles the files from FILE_ROOT, COVER_ROOT, and ZIP_ROOT.

DISPLAY_NAME_DICTIONARY_FILE

Full file path to a file that will keep manually changed display names between library re-scans and re-builds.

IMAGE_FILE_EXTENSIONS

Tuple of valid image file extensions that identify a potential cover image.

AUDIO_FILE_EXTENSIONS

Tuple of valid audio file extensions that identify a potential track file.

DEFAULT_DATE_FORMAT

The default date format string used to display catalog dates. The string should follow the format of date.strtime().

SPECIAL_COVERS

A dictionary of file paths relative to MEDIA_ROOT for predefined covers (e.g. default cover image for tracks with no cover art). Only the cover keyed by default is currently recognized.

IMAGE_MATCH_TOLERANCE

Determines the tolerance of the image matching algorithm for cover images. Higher numbers are more tolerant of differences.

DEFAULT_MULTI_ARTIST_ALBUM_ARTIST_NAME

The default name to use as album artist for albums with multiple track artists.

ZIP_FILE_MAX_AGE

A datetime.timedelta defining expiration age of zip files (0 for no expiration).

DEFAULT_START_URL

The default start page.

DEFAULT_RESULTS_PER_PAGE

The default results per page.

DEFAULT_ARTIST_ORDER_BY

The default sort criteria for artist lists.

DEFAULT_ALBUM_ORDER_BY

The default sort criteria for album lists.

DEFAULT_TRACK_ORDER_BY

The default sort criteria for track lists.

DEFAULT_ARTIST_TYPE

The default method for determining artists in an artist list. Valid options are track or album.

RESULTS_PER_PAGE_CHOICES

A list of integer choices made available for choosing how many results per page.