{"action":"created","issue":{"url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/8","labels_url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/8/comments","events_url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/8/events","html_url":"https://github.com/acidhax/chromecast-audio-stream/issues/8","id":122534508,"number":8,"title":"Enhancement: add command-line play","user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars.githubusercontent.com/u/9989964?v=3","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T15:45:41Z","updated_at":"2015-12-16T17:56:32Z","closed_at":null,"body":"Hi,\r\n\r\nI suggest to create a command-line play command that can read PCM audio from stdin. See this exemple:\r\n\r\nchromecast-play.exe - IP\r\n\r\nWhere \"-\" references the stdin (you can use any *.pcm file as input) and \"IP\" is the address of the target chromecast. Also, If you need it add the option of force the format: example \"-s s16l\" as Stereo with 16bit in low endian order.\r\n\r\nYou agree?\r\n"},"comment":{"url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/comments/165194536","html_url":"https://github.com/acidhax/chromecast-audio-stream/issues/8#issuecomment-165194536","issue_url":"https://api.github.com/repos/acidhax/chromecast-audio-stream/issues/8","id":165194536,"user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars.githubusercontent.com/u/9989964?v=3","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T17:56:32Z","updated_at":"2015-12-16T17:56:32Z","body":"Hi @acidhax ,\r\n\r\nGreat! Then I suggest to use the syntax of VideoLAN or FFMpeg. For example:\r\n\r\n$ vlc --demux=rawaud --rawaud-channels=2 --rawaud-samplerate=44100\r\n\r\nPerhaps it's more simple to use similar syntax than create new one. ;-)\r\n"}}