{"action":"created","issue":{"url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/55","labels_url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/55/comments","events_url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/55/events","html_url":"https://github.com/yomguy/DeeFuzzer/issues/55","id":55604259,"number":55,"title":"streaming from alsa input","user":{"login":"nim4n","id":5003219,"avatar_url":"https://avatars.githubusercontent.com/u/5003219?v=3","gravatar_id":"","url":"https://api.github.com/users/nim4n","html_url":"https://github.com/nim4n","followers_url":"https://api.github.com/users/nim4n/followers","following_url":"https://api.github.com/users/nim4n/following{/other_user}","gists_url":"https://api.github.com/users/nim4n/gists{/gist_id}","starred_url":"https://api.github.com/users/nim4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim4n/subscriptions","organizations_url":"https://api.github.com/users/nim4n/orgs","repos_url":"https://api.github.com/users/nim4n/repos","events_url":"https://api.github.com/users/nim4n/events{/privacy}","received_events_url":"https://api.github.com/users/nim4n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T11:08:04Z","updated_at":"2015-01-27T23:18:55Z","closed_at":null,"body":"Hi I tried to stream alsa input (as mp3 file) with deefuzzer but I get this error:\r\n>    Exception in thread Thread-2:\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n        self.run()\r\n      File \"/usr/local/lib/python2.7/dist-packages/deefuzzer/station.py\", line 625, in run\r\n        self.set_read_mode()\r\n      File \"/usr/local/lib/python2.7/dist-packages/deefuzzer/station.py\", line 530, in set_read_mode\r\n        self.title = self.current_media_obj[0].metadata['title']\r\n    IndexError: list index out of range\r\n\r\nso I changed the Mp3 class(deefuzzer/tools/mp3.py) from:\r\n>    self.bitrate = int(str(self.info.bitrate)[:-3])\r\n\r\nto:\r\n>    try:\r\n          self.bitrate = int(str(self.info.bitrate)[:-3])\r\n    except:\r\n        self.bitrate = self.bitrate_default\r\n\r\nis there any better way?\r\n\r\nps: I'm using ffmpeg for converting input to mp3 file:\r\n>    ffmpeg -f alsa -i hw:0,0 -acodec libmp3lame -ab 128k -ac 1 -ar 44100 -vn test.mp3\r\n"},"comment":{"url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/comments/71749655","html_url":"https://github.com/yomguy/DeeFuzzer/issues/55#issuecomment-71749655","issue_url":"https://api.github.com/repos/yomguy/DeeFuzzer/issues/55","id":71749655,"user":{"login":"achbed","id":1473182,"avatar_url":"https://avatars.githubusercontent.com/u/1473182?v=3","gravatar_id":"","url":"https://api.github.com/users/achbed","html_url":"https://github.com/achbed","followers_url":"https://api.github.com/users/achbed/followers","following_url":"https://api.github.com/users/achbed/following{/other_user}","gists_url":"https://api.github.com/users/achbed/gists{/gist_id}","starred_url":"https://api.github.com/users/achbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achbed/subscriptions","organizations_url":"https://api.github.com/users/achbed/orgs","repos_url":"https://api.github.com/users/achbed/repos","events_url":"https://api.github.com/users/achbed/events{/privacy}","received_events_url":"https://api.github.com/users/achbed/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T23:18:55Z","updated_at":"2015-01-27T23:18:55Z","body":"The pull request noted now includes a fix for this issue (as well as future-proofing)"}}