Improve the maintainability, readability and robustness or Playerctl