{"action":"created","issue":{"url":"https://api.github.com/repos/MichMich/MagicMirror/issues/557","repository_url":"https://api.github.com/repos/MichMich/MagicMirror","labels_url":"https://api.github.com/repos/MichMich/MagicMirror/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/MichMich/MagicMirror/issues/557/comments","events_url":"https://api.github.com/repos/MichMich/MagicMirror/issues/557/events","html_url":"https://github.com/MichMich/MagicMirror/issues/557","id":194212364,"number":557,"title":"MM2 Crashes bluetooth audio","user":{"login":"D3rpi","id":22678858,"avatar_url":"https://avatars.githubusercontent.com/u/22678858?v=3","gravatar_id":"","url":"https://api.github.com/users/D3rpi","html_url":"https://github.com/D3rpi","followers_url":"https://api.github.com/users/D3rpi/followers","following_url":"https://api.github.com/users/D3rpi/following{/other_user}","gists_url":"https://api.github.com/users/D3rpi/gists{/gist_id}","starred_url":"https://api.github.com/users/D3rpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D3rpi/subscriptions","organizations_url":"https://api.github.com/users/D3rpi/orgs","repos_url":"https://api.github.com/users/D3rpi/repos","events_url":"https://api.github.com/users/D3rpi/events{/privacy}","received_events_url":"https://api.github.com/users/D3rpi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-08T00:12:37Z","updated_at":"2016-12-15T01:04:05Z","closed_at":null,"body":"**Platform**: Raspberry PI3 \r\n\r\n**Node Version**: 6.9.1\r\n\r\n**MagicMirror Version**: V2\r\n\r\n**Description**:  Running MM2 in server mode or normal mode crashes bluetooth audio. The bluetooth speaker will randomly stop playing while still being connected. The bluetooth module on the Pi will then become unusable until a reboot. I am using the inbuilt Pi3 bluetooth. \r\n\r\n**Steps to Reproduce**: 1. Connect bluetooth speaker to Pi 3. \r\n2. Play music to the speaker\r\n3. Launch MM2 in default mode or server mode.\r\nNote: The above order is not important. The issue also arises when connecting the bluetooth speaker when MM2 is already running. \r\n\r\n\r\n**Expected Results**: Speaker should keep playing music until stopped by user.\r\n\r\n**Actual Results**: Speaker stops playing and bluetooth module becomes unusable. \r\n\r\n**Configuration**: I don't think the issue is related to my config file.\r\n\r\n**Additional information**: The crash happens within less than an hour of connecting the bluetooth speaker. Sometimes it happens after being connected for 5 minutes. The longest time without it crashing is 1 hour.  \r\n"},"comment":{"url":"https://api.github.com/repos/MichMich/MagicMirror/issues/comments/267206100","html_url":"https://github.com/MichMich/MagicMirror/issues/557#issuecomment-267206100","issue_url":"https://api.github.com/repos/MichMich/MagicMirror/issues/557","id":267206100,"user":{"login":"nhubbard","id":3649523,"avatar_url":"https://avatars.githubusercontent.com/u/3649523?v=3","gravatar_id":"","url":"https://api.github.com/users/nhubbard","html_url":"https://github.com/nhubbard","followers_url":"https://api.github.com/users/nhubbard/followers","following_url":"https://api.github.com/users/nhubbard/following{/other_user}","gists_url":"https://api.github.com/users/nhubbard/gists{/gist_id}","starred_url":"https://api.github.com/users/nhubbard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhubbard/subscriptions","organizations_url":"https://api.github.com/users/nhubbard/orgs","repos_url":"https://api.github.com/users/nhubbard/repos","events_url":"https://api.github.com/users/nhubbard/events{/privacy}","received_events_url":"https://api.github.com/users/nhubbard/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T01:04:05Z","updated_at":"2016-12-15T01:04:05Z","body":"@D3rpi Yeah, I looked at my notes, and PulseAudio was routinely setting the Bluetooth sink to sleep even if told explicitly not to. I eventually stopped trying after pulling all my hair out and then some (ouch). If you want an alternative, you can use the PiMusicBox distribution to put an interface for audio on top of the MM. It doesn't have Bluetooth, but it *does* have TuneIn Radio. The RPi just isn't the best interface for Bluetooth."}}
{"actor":{"display_login":"nhubbard"}}