{"action":"created","issue":{"url":"https://api.github.com/repos/teltek/Galicaster/issues/78","labels_url":"https://api.github.com/repos/teltek/Galicaster/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/teltek/Galicaster/issues/78/comments","events_url":"https://api.github.com/repos/teltek/Galicaster/issues/78/events","html_url":"https://github.com/teltek/Galicaster/issues/78","id":27273750,"number":78,"title":"audio mimetype is not set correctly when not using mp3","user":{"login":"smarquard","id":5888197,"avatar_url":"https://avatars.githubusercontent.com/u/5888197?v=3","gravatar_id":"","url":"https://api.github.com/users/smarquard","html_url":"https://github.com/smarquard","followers_url":"https://api.github.com/users/smarquard/followers","following_url":"https://api.github.com/users/smarquard/following{/other_user}","gists_url":"https://api.github.com/users/smarquard/gists{/gist_id}","starred_url":"https://api.github.com/users/smarquard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarquard/subscriptions","organizations_url":"https://api.github.com/users/smarquard/orgs","repos_url":"https://api.github.com/users/smarquard/repos","events_url":"https://api.github.com/users/smarquard/events{/privacy}","received_events_url":"https://api.github.com/users/smarquard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-02-10T15:22:39Z","updated_at":"2015-05-13T09:08:18Z","closed_at":"2015-05-13T09:08:18Z","body":"We are recording audio in flac format with this config, but the mime-type of the audio track is reported as \"audio/mp3\" when ingested into Matterhorn.\r\n\r\n[track1]\r\nname = audio\r\ndevice = pulse\r\nflavor = presenter\r\nlocation = alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00-CODEC.analog-stereo\r\nfile = audio.flac\r\nvumeter = True\r\namplification = 1.0\r\nactive = True\r\nplayer = True\r\naudioencoder = deinterleave name=d d.src0 ! audioconvert ! flacenc \r\n\r\nPossibly because of this assumption in mediapackage/repository.py:\r\n\r\n                etype = 'audio/mp3' if bin['device'] in ['pulse', 'autoaudio', 'audiotest'] else 'video/' + dest.split('.')[1].lower()\r\n\r\nGalicaster should set the mime-type correctly, either by having a configurable parameter for it, or by looking at the file extension.\r\n"},"comment":{"url":"https://api.github.com/repos/teltek/Galicaster/issues/comments/101581971","html_url":"https://github.com/teltek/Galicaster/issues/78#issuecomment-101581971","issue_url":"https://api.github.com/repos/teltek/Galicaster/issues/78","id":101581971,"user":{"login":"hcaloto","id":6048965,"avatar_url":"https://avatars.githubusercontent.com/u/6048965?v=3","gravatar_id":"","url":"https://api.github.com/users/hcaloto","html_url":"https://github.com/hcaloto","followers_url":"https://api.github.com/users/hcaloto/followers","following_url":"https://api.github.com/users/hcaloto/following{/other_user}","gists_url":"https://api.github.com/users/hcaloto/gists{/gist_id}","starred_url":"https://api.github.com/users/hcaloto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcaloto/subscriptions","organizations_url":"https://api.github.com/users/hcaloto/orgs","repos_url":"https://api.github.com/users/hcaloto/repos","events_url":"https://api.github.com/users/hcaloto/events{/privacy}","received_events_url":"https://api.github.com/users/hcaloto/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T09:08:18Z","updated_at":"2015-05-13T09:08:18Z","body":"Already fixed with commit 7af0b5d63b049bde2b21b72d8737a70eb0ddb1d5"}}