{"action":"created","issue":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/10","repository_url":"https://api.github.com/repos/sammachin/AlexaPi","labels_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/10/comments","events_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/10/events","html_url":"https://github.com/sammachin/AlexaPi/issues/10","id":132185955,"number":10,"title":"playback cutting off","user":{"login":"TW79","id":7861530,"avatar_url":"https://avatars.githubusercontent.com/u/7861530?v=3","gravatar_id":"","url":"https://api.github.com/users/TW79","html_url":"https://github.com/TW79","followers_url":"https://api.github.com/users/TW79/followers","following_url":"https://api.github.com/users/TW79/following{/other_user}","gists_url":"https://api.github.com/users/TW79/gists{/gist_id}","starred_url":"https://api.github.com/users/TW79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TW79/subscriptions","organizations_url":"https://api.github.com/users/TW79/orgs","repos_url":"https://api.github.com/users/TW79/repos","events_url":"https://api.github.com/users/TW79/events{/privacy}","received_events_url":"https://api.github.com/users/TW79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-08T16:17:44Z","updated_at":"2016-03-22T16:58:05Z","closed_at":null,"body":"After making a request, Alexa begins playback but abruptly stops and the playback light turns off."},"comment":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/comments/199905598","html_url":"https://github.com/sammachin/AlexaPi/issues/10#issuecomment-199905598","issue_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/10","id":199905598,"user":{"login":"tube0013","id":11084412,"avatar_url":"https://avatars.githubusercontent.com/u/11084412?v=3","gravatar_id":"","url":"https://api.github.com/users/tube0013","html_url":"https://github.com/tube0013","followers_url":"https://api.github.com/users/tube0013/followers","following_url":"https://api.github.com/users/tube0013/following{/other_user}","gists_url":"https://api.github.com/users/tube0013/gists{/gist_id}","starred_url":"https://api.github.com/users/tube0013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tube0013/subscriptions","organizations_url":"https://api.github.com/users/tube0013/orgs","repos_url":"https://api.github.com/users/tube0013/repos","events_url":"https://api.github.com/users/tube0013/events{/privacy}","received_events_url":"https://api.github.com/users/tube0013/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T16:58:05Z","updated_at":"2016-03-22T16:58:05Z","body":"Okay, to get around the root issue (long term wish this script did not have to run as root):\r\n\r\nsed -i 's/geteuid/getppid/' /usr/bin/vlc\r\n\r\nI hard coded the analog output in the string as well these are the 2 lines in main.py, and I'm successfully getting the hello.mp3 and responses out.\r\n\r\n\t\tos.system('cvlc -A alsa,none --alsa-audio-device hw:CARD=ALSA,DEV=0 {}response.mp3'.format(path, path))\r\n\r\n...\r\n\r\n\r\n\tos.system('cvlc -A alsa,none --alsa-audio-device hw:CARD=ALSA,DEV=0 {}hello.mp3'.format(path, path))\r\n\r\n\r\n"}}