{"action":"created","issue":{"url":"https://api.github.com/repos/plietar/librespot/issues/100","repository_url":"https://api.github.com/repos/plietar/librespot","labels_url":"https://api.github.com/repos/plietar/librespot/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/plietar/librespot/issues/100/comments","events_url":"https://api.github.com/repos/plietar/librespot/issues/100/events","html_url":"https://github.com/plietar/librespot/issues/100","id":166664646,"number":100,"title":"Add support for executing commands when playback begins or ends","user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plietar/librespot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T19:41:15Z","updated_at":"2016-07-24T15:19:00Z","closed_at":null,"body":"Add an option to set commands, e.g. some shell script, which are executed if playback is about to begin or has stopped. This is quite handy to wakeup some amplifier from sleep or to stop any other service possibly blocking the audio interface."},"comment":{"url":"https://api.github.com/repos/plietar/librespot/issues/comments/234782889","html_url":"https://github.com/plietar/librespot/issues/100#issuecomment-234782889","issue_url":"https://api.github.com/repos/plietar/librespot/issues/100","id":234782889,"user":{"login":"Fulkerson","id":1528839,"avatar_url":"https://avatars.githubusercontent.com/u/1528839?v=3","gravatar_id":"","url":"https://api.github.com/users/Fulkerson","html_url":"https://github.com/Fulkerson","followers_url":"https://api.github.com/users/Fulkerson/followers","following_url":"https://api.github.com/users/Fulkerson/following{/other_user}","gists_url":"https://api.github.com/users/Fulkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/Fulkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fulkerson/subscriptions","organizations_url":"https://api.github.com/users/Fulkerson/orgs","repos_url":"https://api.github.com/users/Fulkerson/repos","events_url":"https://api.github.com/users/Fulkerson/events{/privacy}","received_events_url":"https://api.github.com/users/Fulkerson/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T15:19:00Z","updated_at":"2016-07-24T15:19:00Z","body":"Perhaps it would be possible to implement the MPRIS dbus interface? I think it would be neat as many other clients use it and by subscribing to \"org.freedesktop.DBus.Properties.PropertiesChanged\" you can be notified whenever playback status is changed:\r\n\r\nhttps://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html"}}
{"actor":{"display_login":"Fulkerson"}}