Changes in 0.4.4 UNRELEASED
---------------------------
+* Add tcp socket timeout, exposed in musicpd.CONNECTION_TIMEOUT, defaults to 5s
+ (Thanks to Bart Van Loon)
* Add partition commands (Thanks Naglis Jonaitis)
* Add listfiles command
* Add tagtypes (disable|enable|clear|all) commands
# Copyright (C) 2008-2010 J. Alexander Treuman <jat@spatialrift.net>
# Copyright (C) 2012-2019 Kaliko Jack <kaliko@azylum.org>
# Copyright (C) 2019 Naglis Jonaitis <naglis@mailbox.org>
+# Copyright (C) 2019 Bart Van Loon <bbb@bbbart.be>
#
# python-musicpd is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
SUCCESS = "OK"
NEXT = "list_OK"
VERSION = '0.4.4'
-
CONNECTION_TIMEOUT = 5 # seconds before a tcp connection attempt times out
+
def iterator_wrapper(func):
"""Decorator handling iterate option"""
@wraps(func)