Closed l1dge closed 1 year ago
Thanks for the report @l1dge , and for the fix suggestion!
Hope this commit fixes it (I am not using mpd, so I have a hard time checking it). I slightly cleaned up the code while at it, if I introduced any issues, please do let me know.
Thank you kindly!
@tobi-wan-kenobi Works great, thanks for the quick turnaround.
Bug Report
Description
Affected module: mpd Version used: AUR 2.1.6-1
If your mpd server is running on a non-default port there is no way to specify the port in the module settings.
How to reproduce
If you run the mpd module in your bumblebee config it will not appear in the status bar if your mpd server runs on a non-default port.
A simple fix I did was to change the code in the mpd.py file as follows:
Added the second line to the docstring:
Replaced this code:
with this:
Everything functions as expected after the change.