{"action":"created","issue":{"url":"https://api.github.com/repos/jaagr/polybar/issues/637","repository_url":"https://api.github.com/repos/jaagr/polybar","labels_url":"https://api.github.com/repos/jaagr/polybar/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/jaagr/polybar/issues/637/comments","events_url":"https://api.github.com/repos/jaagr/polybar/issues/637/events","html_url":"https://github.com/jaagr/polybar/issues/637","id":241500075,"number":637,"title":"internal/mpd module: format-paused has no effect","user":{"login":"realcomplex","id":4990740,"avatar_url":"https://avatars3.githubusercontent.com/u/4990740?v=3","gravatar_id":"","url":"https://api.github.com/users/realcomplex","html_url":"https://github.com/realcomplex","followers_url":"https://api.github.com/users/realcomplex/followers","following_url":"https://api.github.com/users/realcomplex/following{/other_user}","gists_url":"https://api.github.com/users/realcomplex/gists{/gist_id}","starred_url":"https://api.github.com/users/realcomplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realcomplex/subscriptions","organizations_url":"https://api.github.com/users/realcomplex/orgs","repos_url":"https://api.github.com/users/realcomplex/repos","events_url":"https://api.github.com/users/realcomplex/events{/privacy}","received_events_url":"https://api.github.com/users/realcomplex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-09T04:42:24Z","updated_at":"2017-07-09T15:47:24Z","closed_at":"2017-07-09T15:47:24Z","body":"Hey! I am using the mpd module of polybar, and I would like the colour of the song on the bar to change from blue to red when I pause mpd. So the relevant portion of my config looks like this:\r\n\r\n```\r\nformat-online = <label-song>\r\nformat-online-background = #0000ff\r\nformat-paused = <label-song>\r\nformat-paused-background = #ff0000\r\nformat-playing = ${self.format-online}\r\nformat-stopped = \"\"\r\n```\r\n\r\nBut this doesn't work.\r\n\r\n**Expected:** the background of the current song is blue when mpd is playing, and red when mpd is paused.\r\n**Actual behaviour:** the background of the current song is blue regardless of the state of mpd."},"comment":{"url":"https://api.github.com/repos/jaagr/polybar/issues/comments/313927776","html_url":"https://github.com/jaagr/polybar/issues/637#issuecomment-313927776","issue_url":"https://api.github.com/repos/jaagr/polybar/issues/637","id":313927776,"user":{"login":"realcomplex","id":4990740,"avatar_url":"https://avatars3.githubusercontent.com/u/4990740?v=3","gravatar_id":"","url":"https://api.github.com/users/realcomplex","html_url":"https://github.com/realcomplex","followers_url":"https://api.github.com/users/realcomplex/followers","following_url":"https://api.github.com/users/realcomplex/following{/other_user}","gists_url":"https://api.github.com/users/realcomplex/gists{/gist_id}","starred_url":"https://api.github.com/users/realcomplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realcomplex/subscriptions","organizations_url":"https://api.github.com/users/realcomplex/orgs","repos_url":"https://api.github.com/users/realcomplex/repos","events_url":"https://api.github.com/users/realcomplex/events{/privacy}","received_events_url":"https://api.github.com/users/realcomplex/received_events","type":"User","site_admin":false},"created_at":"2017-07-09T15:47:24Z","updated_at":"2017-07-09T15:47:24Z","body":"Okay thanks, I'll just wait until it gets added to the latest release then :) Great feature anyway, now I'll be able to switch from a custom module that does this to the built-in one!"}}
{"actor":{"display_login":"realcomplex"}}