]> kaliko git repositories - python-musicpdaio.git/blob - mpdaio/const.py
Add more docstrings
[python-musicpdaio.git] / mpdaio / const.py
1 # -*- coding: utf-8 -*-
2 # SPDX-FileCopyrightText: 2012-2024  kaliko <kaliko@azylum.org>
3 # SPDX-License-Identifier: LGPL-3.0-or-later
4
5 HELLO_PREFIX = 'OK MPD '
6 ERROR_PREFIX = 'ACK '
7 SUCCESS = 'OK'
8 NEXT = 'list_OK'
9 VERSION = '0.1.0b0'
10 #: Seconds before a connection attempt times out
11 #: (overriden by :envvar:`MPD_TIMEOUT` env. var.)
12 CONNECTION_TIMEOUT = 30
13 #: Socket timeout in second > 0 (Default is :py:obj:`None` for no timeout)
14 SOCKET_TIMEOUT = None
15 #: Maximum concurrent connections
16 CONNECTION_MAX = 100