Subject: | WISHLIST: return random/repeat settings |
From the documentation, it appears that Audio::MPD provides methods to
set the repeat / random modes, but not to determine their current settings.
It'd be great if there were methods to do this.
My suggestions would be either:
a) get_repeat() and get_random(), which just return the current setting
b) accessor/mutator methods repeat() and random() - given no params they
would return the setting, or if given a boolean param, set it appropriately
My personal preference would be option b (but obviously keeping the
existing set_repeat() / set_random() methods for backwards compatibility.
I can do this and provide a patch if you wish?