]> kaliko git repositories - python-musicpd.git/log
python-musicpd.git
3 months agoImproved documentation
Kaliko Jack [Sat, 24 Aug 2024 17:39:16 +0000 (19:39 +0200)]
Improved documentation

Add supported commands returned type, generated doc from src:

    python3 ./doc/extract_supported_commands.py > ./doc/source/_commands.rst

7 months agoReleasing 0.9.0 v0.9.0
Kaliko Jack [Wed, 10 Apr 2024 16:14:21 +0000 (18:14 +0200)]
Releasing 0.9.0

7 months agoci: Intercept pyproject changes
Kaliko Jack [Fri, 12 Apr 2024 17:22:07 +0000 (19:22 +0200)]
ci: Intercept pyproject changes

7 months agoImproved/fixed pyproject
Kaliko Jack [Thu, 11 Apr 2024 17:12:16 +0000 (19:12 +0200)]
Improved/fixed pyproject

7 months agoAdd module name in logger in example
Kaliko Jack [Wed, 10 Apr 2024 16:14:15 +0000 (18:14 +0200)]
Add module name in logger in example

7 months agoImproved exceptions doc, fixed sphinx warnings
Kaliko Jack [Wed, 10 Apr 2024 15:23:47 +0000 (17:23 +0200)]
Improved exceptions doc, fixed sphinx warnings

9 months agoFixed confusing debug message
Kaliko Jack [Sun, 25 Feb 2024 13:23:20 +0000 (14:23 +0100)]
Fixed confusing debug message

Removed "@" in front of hostname to avoid confusion with abstract socket

9 months agofixed sphinx warnings
Kaliko Jack [Sun, 11 Feb 2024 13:07:16 +0000 (14:07 +0100)]
fixed sphinx warnings

9 months agoDocument Exceptions
Kaliko Jack [Wed, 7 Feb 2024 17:26:19 +0000 (18:26 +0100)]
Document Exceptions

9 months agoAdd examples
Kaliko Jack [Tue, 6 Feb 2024 17:43:45 +0000 (18:43 +0100)]
Add examples

9 months agoFixed ConnectionError argument
Kaliko Jack [Tue, 6 Feb 2024 17:30:49 +0000 (18:30 +0100)]
Fixed ConnectionError argument

Timeout does not expose errno, strerror attributes

9 months agoGather more OSError exception in musicpd.ConnectionError
Kaliko Jack [Tue, 6 Feb 2024 15:58:10 +0000 (16:58 +0100)]
Gather more OSError exception in musicpd.ConnectionError

9 months agof-string conversion
Kaliko Jack [Sun, 4 Feb 2024 16:38:49 +0000 (17:38 +0100)]
f-string conversion

11 months agoImproved socket timeout setter, add tests
Kaliko Jack [Sun, 31 Dec 2023 10:37:16 +0000 (11:37 +0100)]
Improved socket timeout setter, add tests

11 months agoFixed "Socket timeout" documentation
Kaliko Jack [Sat, 30 Dec 2023 10:56:53 +0000 (11:56 +0100)]
Fixed "Socket timeout" documentation

12 months agoci: Add python 3.12 test
Kaliko Jack [Sun, 12 Nov 2023 11:02:20 +0000 (12:02 +0100)]
ci: Add python 3.12 test

12 months agoci: Scheduled pipeline runs test/build
Kaliko Jack [Sat, 11 Nov 2023 14:52:35 +0000 (15:52 +0100)]
ci: Scheduled pipeline runs test/build

12 months agoBumped version
Kaliko Jack [Sat, 11 Nov 2023 14:32:37 +0000 (15:32 +0100)]
Bumped version

12 months agoci: Add conditional builds
Kaliko Jack [Sat, 11 Nov 2023 14:29:37 +0000 (15:29 +0100)]
ci: Add conditional builds

12 months agoci: Cleanup
Kaliko Jack [Sat, 11 Nov 2023 13:38:06 +0000 (14:38 +0100)]
ci: Cleanup

12 months agoci: s/only/changes/
Kaliko Jack [Sat, 11 Nov 2023 13:00:18 +0000 (14:00 +0100)]
ci: s/only/changes/

12 months agopyproject migration
Kaliko Jack [Sat, 11 Nov 2023 11:18:19 +0000 (12:18 +0100)]
pyproject migration

19 months agoRemove travis
Kaliko Jack [Wed, 12 Apr 2023 15:30:42 +0000 (17:30 +0200)]
Remove travis

19 months agoAdd logging
Kaliko Jack [Wed, 12 Apr 2023 13:45:02 +0000 (15:45 +0200)]
Add logging

19 months agoFixed README (error introduced in1a493a5)
Kaliko Jack [Wed, 12 Apr 2023 12:54:35 +0000 (14:54 +0200)]
Fixed README (error introduced in1a493a5)

19 months agoci: Add caching
Kaliko Jack [Wed, 12 Apr 2023 14:37:28 +0000 (16:37 +0200)]
ci: Add caching

19 months agoSome documentation refactoring, improvements
Kaliko Jack [Mon, 10 Apr 2023 18:05:20 +0000 (20:05 +0200)]
Some documentation refactoring, improvements

19 months agoInitialize host,port and pwd attribute in init
Kaliko Jack [Mon, 10 Apr 2023 17:33:23 +0000 (19:33 +0200)]
Initialize host,port and pwd attribute in init

19 months agoImproved Range object to deal with window parameter
Kaliko Jack [Sat, 8 Apr 2023 17:00:24 +0000 (19:00 +0200)]
Improved Range object to deal with window parameter

Add unittest for Range object

20 months agoFixed send_noidle (introduced with e8daa719)
Kaliko Jack [Tue, 4 Apr 2023 18:07:17 +0000 (20:07 +0200)]
Fixed send_noidle (introduced with e8daa719)

20 months agoBe more consistent with types in _get_envvars
Kaliko Jack [Sat, 1 Apr 2023 16:57:59 +0000 (18:57 +0200)]
Be more consistent with types in _get_envvars

20 months agompd_version attribute init to empty string instead of None
Kaliko Jack [Fri, 31 Mar 2023 14:59:04 +0000 (16:59 +0200)]
mpd_version attribute init to empty string instead of None

20 months agoBump copyright year
Kaliko Jack [Fri, 31 Mar 2023 14:59:04 +0000 (16:59 +0200)]
Bump copyright year

21 months agoAdd CI tests with python 3.6 and fixed yaml format
Kaliko Jack [Thu, 2 Mar 2023 07:17:29 +0000 (08:17 +0100)]
Add CI tests with python 3.6 and fixed yaml format

23 months agoAdd CI tests with python 3.11
Kaliko Jack [Sun, 18 Dec 2022 18:30:37 +0000 (19:30 +0100)]
Add CI tests with python 3.11

2 years agoFixed SPDX for license headers
Kaliko Jack [Sun, 8 May 2022 07:09:41 +0000 (09:09 +0200)]
Fixed SPDX for license headers

Replace wrong SPDX identifier "GPL-3.0-or-later" with
"LGPL-3.0-or-later" and fixed fbd246c

2 years agoBumped version
Kaliko Jack [Sun, 8 May 2022 07:20:28 +0000 (09:20 +0200)]
Bumped version

2 years agoReleasing v0.8.0 v0.8.0
Kaliko Jack [Sat, 7 May 2022 15:55:35 +0000 (17:55 +0200)]
Releasing v0.8.0

2 years agoFixed setup.cfg format
Kaliko Jack [Sat, 7 May 2022 16:38:06 +0000 (18:38 +0200)]
Fixed setup.cfg format

2 years agoSwith to SPDX for license headers
Kaliko Jack [Tue, 8 Feb 2022 15:24:17 +0000 (16:24 +0100)]
Swith to SPDX for license headers

2 years agoMove everything to setup.cfg
Kaliko Jack [Tue, 16 Feb 2021 16:42:38 +0000 (17:42 +0100)]
Move everything to setup.cfg

2 years agoUpdate copyrights, add missing author cf. 08f2371
Kaliko Jack [Wed, 9 Feb 2022 12:58:20 +0000 (13:58 +0100)]
Update copyrights, add missing author cf. 08f2371

2 years agoAdd CI tests with python 3.10
Kaliko Jack [Wed, 9 Feb 2022 12:15:29 +0000 (13:15 +0100)]
Add CI tests with python 3.10

2 years agoUpdate python compatibility to 3.6+
Kaliko Jack [Sat, 18 Dec 2021 08:51:20 +0000 (09:51 +0100)]
Update python compatibility to 3.6+

2 years agoAdd cross reference to socket timeout
Kaliko Jack [Sat, 18 Dec 2021 08:46:36 +0000 (09:46 +0100)]
Add cross reference to socket timeout

2 years agoDocument context manager
Kaliko Jack [Sat, 18 Dec 2021 08:45:38 +0000 (09:45 +0100)]
Document context manager

2 years agoMPDClient: add __enter__/__exit__ to connect/disconnect
Wonko [Fri, 17 Dec 2021 11:35:01 +0000 (12:35 +0100)]
MPDClient: add __enter__/__exit__ to connect/disconnect

3 years agoBetter socket timeout documentation (closes #14)
Kaliko Jack [Fri, 29 Oct 2021 14:52:42 +0000 (16:52 +0200)]
Better socket timeout documentation (closes #14)

3 years agoModernize code, need at least python 3.6
Kaliko Jack [Fri, 29 Oct 2021 13:59:21 +0000 (15:59 +0200)]
Modernize code, need at least python 3.6

3 years agoCleanup tests code
Kaliko Jack [Fri, 29 Oct 2021 13:49:43 +0000 (15:49 +0200)]
Cleanup tests code

3 years agoAdd test for two worded commands (ie. "tagtypes clear")
Kaliko Jack [Fri, 29 Oct 2021 13:49:12 +0000 (15:49 +0200)]
Add test for two worded commands (ie. "tagtypes clear")

3 years agoFixed a typo v0.7.0
Kaliko Jack [Fri, 23 Jul 2021 12:44:53 +0000 (14:44 +0200)]
Fixed a typo

3 years agoAdd socket timeout
Kaliko Jack [Wed, 7 Jul 2021 18:31:14 +0000 (20:31 +0200)]
Add socket timeout

3 years agoRaises an exception if command contains '\n'
Kaliko Jack [Tue, 6 Jul 2021 10:55:40 +0000 (12:55 +0200)]
Raises an exception if command contains '\n'

3 years agoBumped version
Kaliko Jack [Fri, 28 May 2021 09:46:53 +0000 (11:46 +0200)]
Bumped version

3 years agoReleasing v0.6.0 v0.6.0
Kaliko Jack [Fri, 28 May 2021 08:57:17 +0000 (10:57 +0200)]
Releasing v0.6.0

3 years agoAdd different version of python
Kaliko Jack [Fri, 19 Feb 2021 15:04:15 +0000 (16:04 +0100)]
Add different version of python

3 years agoAdd py 3.8 and py 3.9 to travis
Kaliko Jack [Tue, 13 Apr 2021 08:25:06 +0000 (10:25 +0200)]
Add py 3.8 and py 3.9 to travis

3 years agoUpdate CHANGES.txt
Kaliko Jack [Fri, 19 Feb 2021 14:56:27 +0000 (15:56 +0100)]
Update CHANGES.txt

3 years agoAdd tests for socket connections
Kaliko Jack [Fri, 19 Feb 2021 14:55:42 +0000 (15:55 +0100)]
Add tests for socket connections

3 years agoImproved coverage on binary and fetch objects
Kaliko Jack [Fri, 19 Feb 2021 14:54:37 +0000 (15:54 +0100)]
Improved coverage on binary and fetch objects

3 years agoUpdate commands list in test
Kaliko Jack [Fri, 19 Feb 2021 14:53:39 +0000 (15:53 +0100)]
Update commands list in test

3 years agoAdd missing test for plain MPD_HOST="example.org"
Kaliko Jack [Fri, 19 Feb 2021 14:52:47 +0000 (15:52 +0100)]
Add missing test for plain MPD_HOST="example.org"

3 years agoDocument fileno method
Kaliko Jack [Fri, 19 Feb 2021 14:50:44 +0000 (15:50 +0100)]
Document fileno method

Also add comment about probable useless ConnectionError raised

3 years agoFixed typo in CHANGES.txt, some wording and URL
Kaliko Jack [Thu, 18 Feb 2021 14:43:34 +0000 (15:43 +0100)]
Fixed typo in CHANGES.txt, some wording and URL

3 years agoAdd test for command lists
Kaliko Jack [Thu, 18 Feb 2021 14:41:21 +0000 (15:41 +0100)]
Add test for command lists

3 years agoAdd doc section about environment variables and defaults
Kaliko Jack [Thu, 18 Feb 2021 13:29:19 +0000 (14:29 +0100)]
Add doc section about environment variables and defaults

3 years agoMore robust MPD_HOST parsing
Kaliko Jack [Thu, 18 Feb 2021 13:18:31 +0000 (14:18 +0100)]
More robust MPD_HOST parsing

MPD_HOST=@ is handled correctly as empty

3 years agoFixed env var with password only: MPD_HOST=pass@
Kaliko Jack [Thu, 18 Feb 2021 13:10:35 +0000 (14:10 +0100)]
Fixed env var with password only: MPD_HOST=pass@

3 years agoAdd abstract unix socket support
Kaliko Jack [Wed, 17 Feb 2021 20:17:03 +0000 (21:17 +0100)]
Add abstract unix socket support

Closes #12 and #13

3 years agoBetter unit test for env. var.
Kaliko Jack [Wed, 17 Feb 2021 18:19:34 +0000 (19:19 +0100)]
Better unit test for env. var.

3 years agoAdd long description content type for setup.py
Kaliko Jack [Wed, 17 Feb 2021 11:52:06 +0000 (12:52 +0100)]
Add long description content type for setup.py

3 years agoci: Use "twine check" instead of "setup.py check"
Kaliko Jack [Wed, 17 Feb 2021 11:49:20 +0000 (12:49 +0100)]
ci: Use "twine check" instead of "setup.py check"

3 years agoImproved tests
Kaliko Jack [Wed, 17 Feb 2021 11:41:58 +0000 (12:41 +0100)]
Improved tests

3 years agoHonor MPD_TIMEOUT environment variables (closes #11)
Kaliko Jack [Wed, 17 Feb 2021 11:26:38 +0000 (12:26 +0100)]
Honor MPD_TIMEOUT environment variables (closes #11)

Default timeout is now 30s as suggested by musicpd.org Client Developer’s Manual

Move to os.getenv instead of os.environ dict API to enforce str type

https://www.musicpd.org/doc/html/client.html

3 years agoAdd getvol command (closes #9)
Kaliko Jack [Fri, 5 Feb 2021 10:18:57 +0000 (11:18 +0100)]
Add getvol command (closes #9)

3 years agoAdd binarylimit command (closes #10)
Kaliko Jack [Fri, 5 Feb 2021 10:11:46 +0000 (11:11 +0100)]
Add binarylimit command (closes #10)

3 years agoSwitch back to gztar (reverting 95da1e5)
Kaliko Jack [Wed, 30 Dec 2020 10:39:27 +0000 (11:39 +0100)]
Switch back to gztar (reverting 95da1e5)

3 years agoBumped version
Kaliko Jack [Wed, 30 Dec 2020 10:11:01 +0000 (11:11 +0100)]
Bumped version

3 years agoReleasing v0.5.1 v0.5.1
Kaliko Jack [Wed, 30 Dec 2020 10:06:45 +0000 (11:06 +0100)]
Releasing v0.5.1

3 years agoFixed missing comma in setup.py
Kaliko Jack [Wed, 30 Dec 2020 09:08:21 +0000 (10:08 +0100)]
Fixed missing comma in setup.py

3 years agoUpdate project URLs
Kaliko Jack [Sun, 27 Dec 2020 14:22:32 +0000 (15:22 +0100)]
Update project URLs

3 years agoSwitch to xztar sdist
Kaliko Jack [Sun, 27 Dec 2020 14:19:47 +0000 (15:19 +0100)]
Switch to xztar sdist

3 years agoUpdate documentation command list
Kaliko Jack [Thu, 10 Dec 2020 10:11:04 +0000 (11:11 +0100)]
Update documentation command list

3 years agoBumped version
Kaliko Jack [Wed, 9 Dec 2020 15:46:43 +0000 (16:46 +0100)]
Bumped version

3 years agoRemove bztar from sdist formats
Kaliko Jack [Wed, 9 Dec 2020 15:43:38 +0000 (16:43 +0100)]
Remove bztar from sdist formats

3 years agoReleasing v0.5.0 v0.5.0
Kaliko Jack [Wed, 9 Dec 2020 14:06:48 +0000 (15:06 +0100)]
Releasing v0.5.0

3 years agoUpdate documentation command list
Kaliko Jack [Wed, 9 Dec 2020 13:47:50 +0000 (14:47 +0100)]
Update documentation command list

3 years agoAdd delpartition and moveoutput commands (closes #8)
Kaliko Jack [Wed, 9 Dec 2020 13:34:20 +0000 (14:34 +0100)]
Add delpartition and moveoutput commands (closes #8)

3 years agoAdd getfingerprint command
Kaliko Jack [Wed, 9 Dec 2020 11:04:03 +0000 (12:04 +0100)]
Add getfingerprint command

3 years agoUpdate changelog
Kaliko Jack [Tue, 8 Dec 2020 19:39:39 +0000 (20:39 +0100)]
Update changelog

3 years agoAdd readpicture command
Kaliko Jack [Sat, 5 Dec 2020 16:52:02 +0000 (17:52 +0100)]
Add readpicture command

3 years agoFixed 7cb6ba6, s/recv/read/
Kaliko Jack [Sat, 5 Dec 2020 09:30:56 +0000 (10:30 +0100)]
Fixed 7cb6ba6, s/recv/read/

No recv method in _rbfile/_rfile, makefile returns a io.BufferedIOBase

3 years agoci: Install a single package only with pip.
Kaliko Jack [Sat, 5 Dec 2020 08:44:44 +0000 (09:44 +0100)]
ci: Install a single package only with pip.

Latest pip version raises a conflict running `pip install dist/*` :

$ pip install dist/*
Processing ./dist/python-musicpd-0.4.5.tar.bz2
Processing ./dist/python-musicpd-0.4.5.tar.gz
ERROR: Cannot install python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.bz2) and python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.gz) because these package versions have conflicting dependencies.
The conflict is caused by:
    The user requested python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.bz2)
    The user requested python-musicpd 0.4.5 (from /builds/kaliko/python-musicpd/dist/python-musicpd-0.4.5.tar.gz)
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

3 years agoFixed albumart command
Kaliko Jack [Fri, 4 Dec 2020 18:12:51 +0000 (19:12 +0100)]
Fixed albumart command

Fixed test as well

4 years agoDocumentation more explicit (closes #6)
Kaliko Jack [Thu, 8 Oct 2020 06:53:43 +0000 (08:53 +0200)]
Documentation more explicit (closes #6)

4 years agoImproved documentation
Kaliko Jack [Fri, 8 May 2020 12:15:37 +0000 (14:15 +0200)]
Improved documentation

5 years agoFixed travis build
Kaliko Jack [Sat, 26 Oct 2019 14:32:00 +0000 (16:32 +0200)]
Fixed travis build

5 years agoUpdate host and port attributes when reconnecting
Kaliko Jack [Sat, 26 Oct 2019 13:51:27 +0000 (15:51 +0200)]
Update host and port attributes when reconnecting

5 years agoAdd current year in documentation copyright
Kaliko Jack [Wed, 13 Mar 2019 19:13:58 +0000 (20:13 +0100)]
Add current year in documentation copyright

Also bumped version