{"action":"created","issue":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/744","repository_url":"https://api.github.com/repos/mikebrady/shairport-sync","labels_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/744/comments","events_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/744/events","html_url":"https://github.com/mikebrady/shairport-sync/issues/744","id":360726348,"node_id":"MDU6SXNzdWUzNjA3MjYzNDg=","number":744,"title":"on start command won't run","user":{"login":"JackDarnell","id":16767985,"node_id":"MDQ6VXNlcjE2NzY3OTg1","avatar_url":"https://avatars0.githubusercontent.com/u/16767985?v=4","gravatar_id":"","url":"https://api.github.com/users/JackDarnell","html_url":"https://github.com/JackDarnell","followers_url":"https://api.github.com/users/JackDarnell/followers","following_url":"https://api.github.com/users/JackDarnell/following{/other_user}","gists_url":"https://api.github.com/users/JackDarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDarnell/subscriptions","organizations_url":"https://api.github.com/users/JackDarnell/orgs","repos_url":"https://api.github.com/users/JackDarnell/repos","events_url":"https://api.github.com/users/JackDarnell/events{/privacy}","received_events_url":"https://api.github.com/users/JackDarnell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T05:25:25Z","updated_at":"2018-09-17T11:09:00Z","closed_at":null,"author_association":"NONE","body":"I am trying to get a Pimoroni blinkt to run rainbow.py when a song plays but I always get this error:\r\n\"shairport-sync[545]: Execution of on-start command failed to start\"\r\nthe line in the config file looks like this:\r\n\"run_this_before_play_begins = \"#!/home/pi/Pimoroni/blinkt/examples/graph.py\";\"\r\nI have no clue why it's failing, I tried excluding the #! at the beginning of it and I originally didn't use the full pathname but I fixed that. If anyone knows how to get the python script to run it would be super helpful."},"comment":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/comments/421971228","html_url":"https://github.com/mikebrady/shairport-sync/issues/744#issuecomment-421971228","issue_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/744","id":421971228,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTk3MTIyOA==","user":{"login":"mikebrady","id":4265913,"node_id":"MDQ6VXNlcjQyNjU5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/4265913?v=4","gravatar_id":"","url":"https://api.github.com/users/mikebrady","html_url":"https://github.com/mikebrady","followers_url":"https://api.github.com/users/mikebrady/followers","following_url":"https://api.github.com/users/mikebrady/following{/other_user}","gists_url":"https://api.github.com/users/mikebrady/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebrady/subscriptions","organizations_url":"https://api.github.com/users/mikebrady/orgs","repos_url":"https://api.github.com/users/mikebrady/repos","events_url":"https://api.github.com/users/mikebrady/events{/privacy}","received_events_url":"https://api.github.com/users/mikebrady/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T11:09:00Z","updated_at":"2018-09-17T11:09:00Z","author_association":"OWNER","body":"Thanks for the post. Have a look at [this](https://stackoverflow.com/questions/304883/what-do-i-use-on-linux-to-make-a-python-program-executable), and make sure you give the full path to your python script in the Shairport Sync configuration file."}}
{"actor":{"display_login":"mikebrady"}}