{"action":"created","issue":{"url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/5","repository_url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2","labels_url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/5/comments","events_url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/5/events","html_url":"https://github.com/dead/moonlight-openelec-rpi2/issues/5","id":138187775,"number":5,"title":"USB Sound Card ignored, HDMI Audio. OpenELEC 6.0.3","user":{"login":"elbolutony","id":17499371,"avatar_url":"https://avatars.githubusercontent.com/u/17499371?v=3","gravatar_id":"","url":"https://api.github.com/users/elbolutony","html_url":"https://github.com/elbolutony","followers_url":"https://api.github.com/users/elbolutony/followers","following_url":"https://api.github.com/users/elbolutony/following{/other_user}","gists_url":"https://api.github.com/users/elbolutony/gists{/gist_id}","starred_url":"https://api.github.com/users/elbolutony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbolutony/subscriptions","organizations_url":"https://api.github.com/users/elbolutony/orgs","repos_url":"https://api.github.com/users/elbolutony/repos","events_url":"https://api.github.com/users/elbolutony/events{/privacy}","received_events_url":"https://api.github.com/users/elbolutony/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T14:09:44Z","updated_at":"2016-03-03T14:57:16Z","closed_at":null,"body":"\r\nI am experiencing a little problem with the audio, as only output from the HDMI port not from my USB sound card (Encore ENMAB-8CM, chip C-Media CM6206).\r\nThis prevents me to use the Surround Sound option.\r\nThe USB sound card is configured in OpenELEC and works fine with movies.\r\nI apologize for the English, but it's not my native language.\r\nThank you very much, and excellent job with the AddOn.\r\n\r\nPS: I've Installed Hyperion (\"Open Source Ambilight\") and works flawlessly with Moonlight. "},"comment":{"url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/comments/191800653","html_url":"https://github.com/dead/moonlight-openelec-rpi2/issues/5#issuecomment-191800653","issue_url":"https://api.github.com/repos/dead/moonlight-openelec-rpi2/issues/5","id":191800653,"user":{"login":"dead","id":2395791,"avatar_url":"https://avatars.githubusercontent.com/u/2395791?v=3","gravatar_id":"","url":"https://api.github.com/users/dead","html_url":"https://github.com/dead","followers_url":"https://api.github.com/users/dead/followers","following_url":"https://api.github.com/users/dead/following{/other_user}","gists_url":"https://api.github.com/users/dead/gists{/gist_id}","starred_url":"https://api.github.com/users/dead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead/subscriptions","organizations_url":"https://api.github.com/users/dead/orgs","repos_url":"https://api.github.com/users/dead/repos","events_url":"https://api.github.com/users/dead/events{/privacy}","received_events_url":"https://api.github.com/users/dead/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T14:57:16Z","updated_at":"2016-03-03T14:57:16Z","body":"I'm not really sure how I could fix that and not affect people that don't use audio in usb.\r\n\r\nTo fix it you will need to edit:\r\nhttps://github.com/dead/moonlight-openelec-rpi2/blob/master/script.moonlight/bin/service.sh#L80-L83\r\n(found at /storage/.kodi/addons/script.moonlight/bin)\r\n\r\nRepleace snd_bcm2835 with snd-usb-audio (in line 80 and 83).\r\n\r\nSince I don't own a usb audio card I'm not sure if this will work..."}}