{"action":"created","issue":{"url":"https://api.github.com/repos/powerline/powerline/issues/1468","labels_url":"https://api.github.com/repos/powerline/powerline/issues/1468/labels{/name}","comments_url":"https://api.github.com/repos/powerline/powerline/issues/1468/comments","events_url":"https://api.github.com/repos/powerline/powerline/issues/1468/events","html_url":"https://github.com/powerline/powerline/issues/1468","id":110629505,"number":1468,"title":"Keep MPD Connection alive in now_playing segment","user":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/powerline/powerline/labels/c:players","name":"c:players","color":"5319e7"},{"url":"https://api.github.com/repos/powerline/powerline/labels/s:invalid:no%20information","name":"s:invalid:no information","color":"e0e0e0"},{"url":"https://api.github.com/repos/powerline/powerline/labels/t:enhancement","name":"t:enhancement","color":"00FF00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T10:17:43Z","updated_at":"2015-10-09T15:55:32Z","closed_at":"2015-10-09T14:47:25Z","body":"The now_playing segment creates a new MPD connection on every rendering pass:\r\n\r\n![](http://i.imgur.com/b4c1iiq.png?1)\r\nas you can see, a new connection is spawned twice a second (mopidy is a mpd server).\r\n\r\nI don't know the actual performance impact but it seems pretty \"stupid\" to me."},"comment":{"url":"https://api.github.com/repos/powerline/powerline/issues/comments/146909954","html_url":"https://github.com/powerline/powerline/issues/1468#issuecomment-146909954","issue_url":"https://api.github.com/repos/powerline/powerline/issues/1468","id":146909954,"user":{"login":"ZyX-I","id":322097,"avatar_url":"https://avatars.githubusercontent.com/u/322097?v=3","gravatar_id":"","url":"https://api.github.com/users/ZyX-I","html_url":"https://github.com/ZyX-I","followers_url":"https://api.github.com/users/ZyX-I/followers","following_url":"https://api.github.com/users/ZyX-I/following{/other_user}","gists_url":"https://api.github.com/users/ZyX-I/gists{/gist_id}","starred_url":"https://api.github.com/users/ZyX-I/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZyX-I/subscriptions","organizations_url":"https://api.github.com/users/ZyX-I/orgs","repos_url":"https://api.github.com/users/ZyX-I/repos","events_url":"https://api.github.com/users/ZyX-I/events{/privacy}","received_events_url":"https://api.github.com/users/ZyX-I/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T15:55:32Z","updated_at":"2015-10-09T15:55:32Z","body":"@S0lll0s In any case this is more code for no real reason. Which also is not going to work for users that are not using daemon."}}