{"action":"created","issue":{"url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/524","labels_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/524/comments","events_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/524/events","html_url":"https://github.com/PromyLOPh/pianobar/pull/524","id":84470381,"number":524,"title":"Add ability to toggle the explicit content filter","user":{"login":"mpolyakova","id":1694417,"avatar_url":"https://avatars.githubusercontent.com/u/1694417?v=3","gravatar_id":"","url":"https://api.github.com/users/mpolyakova","html_url":"https://github.com/mpolyakova","followers_url":"https://api.github.com/users/mpolyakova/followers","following_url":"https://api.github.com/users/mpolyakova/following{/other_user}","gists_url":"https://api.github.com/users/mpolyakova/gists{/gist_id}","starred_url":"https://api.github.com/users/mpolyakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpolyakova/subscriptions","organizations_url":"https://api.github.com/users/mpolyakova/orgs","repos_url":"https://api.github.com/users/mpolyakova/repos","events_url":"https://api.github.com/users/mpolyakova/events{/privacy}","received_events_url":"https://api.github.com/users/mpolyakova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-03T09:52:12Z","updated_at":"2015-06-04T12:06:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PromyLOPh/pianobar/pulls/524","html_url":"https://github.com/PromyLOPh/pianobar/pull/524","diff_url":"https://github.com/PromyLOPh/pianobar/pull/524.diff","patch_url":"https://github.com/PromyLOPh/pianobar/pull/524.patch"},"body":"This adds the ability to toggle the explicit content filter using 'f' as a shortcut. This was requested in https://github.com/PromyLOPh/pianobar/issues/506.\r\n\r\nUnfortunately I was not able to use the `user.changeSettings` method and was getting a code 9 error back. It wasn't very clear which key it was expecting. `user.setExplicitContentFilter` works fine though! :smile: \r\n\r\nI hesitated from having `PIANO_REQUEST_GET_SETTINGS` fill in all the data in the relevant places, or adding a new struct with unused fields, instead only filling the new `PianoRequestDataGetExplicitContentFilterInfo_t` struct. Thoughts?"},"comment":{"url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/comments/108863722","html_url":"https://github.com/PromyLOPh/pianobar/pull/524#issuecomment-108863722","issue_url":"https://api.github.com/repos/PromyLOPh/pianobar/issues/524","id":108863722,"user":{"login":"PromyLOPh","id":13182,"avatar_url":"https://avatars.githubusercontent.com/u/13182?v=3","gravatar_id":"","url":"https://api.github.com/users/PromyLOPh","html_url":"https://github.com/PromyLOPh","followers_url":"https://api.github.com/users/PromyLOPh/followers","following_url":"https://api.github.com/users/PromyLOPh/following{/other_user}","gists_url":"https://api.github.com/users/PromyLOPh/gists{/gist_id}","starred_url":"https://api.github.com/users/PromyLOPh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromyLOPh/subscriptions","organizations_url":"https://api.github.com/users/PromyLOPh/orgs","repos_url":"https://api.github.com/users/PromyLOPh/repos","events_url":"https://api.github.com/users/PromyLOPh/events{/privacy}","received_events_url":"https://api.github.com/users/PromyLOPh/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T12:06:35Z","updated_at":"2015-06-04T12:06:35Z","body":"> Unfortunately I was not able to use the `user.changeSettings` method\n> and was getting a code 9 error back. It wasn't very clear which key it\n> was expecting.\nCan you upload the code? Maybe we can figure out what is missing.\n\n\n"}}