A rewrite of the seemingly orphaned deadbeef-mpris-plugin written by HuangCongyu