Skip to content

Commit 05280be

Browse files
committed
Fix config with mpd 0.24
1 parent 29ae5c5 commit 05280be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpd/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def _parse_database(self, lines: List[str]) -> Iterator[Dict[str, str]]:
266266
def _parse_idle(self, lines: List[str]) -> Iterator[str]:
267267
return self._parse_list(lines)
268268

269-
@mpd_commands("addid", "config", "replay_gain_status", "rescan", "update")
269+
@mpd_commands("addid", "replay_gain_status", "rescan", "update")
270270
def _parse_item(self, lines: List[str]) -> Optional[str]:
271271
pairs = list(self._parse_pairs(lines))
272272
if len(pairs) != 1:
@@ -376,7 +376,7 @@ def _parse_nothing(self, lines: List[str]) -> None:
376376
"Got unexpected return value: '{}'".format(", ".join(lines))
377377
)
378378

379-
@mpd_commands("count", "currentsong", "readcomments", "stats", "status")
379+
@mpd_commands("config", "count", "currentsong", "readcomments", "stats", "status")
380380
def _parse_object(self, lines: List[str]) -> Dict[str, str]:
381381
try:
382382
return next(self._parse_objects(lines))

0 commit comments

Comments
 (0)