App-specific Flask settings.
True. If disabled, the code and views related to the frontend are not loaded. For example,
GET / HTTP/1.1will return a
Defaults to the
node_modulesdirectory in the top-level directory of the repository. This is the path where all of the Node-based asset utilities are installed.
A tuple of callable filters used on streaming MP3 data. By default, it looks like:
GMP_SONG_FILTERS = ( 'add_id3_tags_to_mp3', )
Tuple items can be either strings (built-in to the app) or callables. Callables have the following signature:
def (str song_id, io.BytesIO data) -> io.BytesIO
Settings that should only be configured if you are developing GMusicProcurator and/or you know what you’re doing.
If set to
True, the proxy views will only return the HTTP status code
503(Service Unavailable). It is on by default only when Read the Docs is building the documentation.
heapyto examine what objects are using the most memory in the app. Requires installing guppy (via
pip install guppy). When the server is running, send the
SIGUSR1signal to the main process, and it will print out a frequency table of allocated objects, and shut down the server.