{"action":"created","issue":{"url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/22","repository_url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard","labels_url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/22/comments","events_url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/22/events","html_url":"https://github.com/JupiterBroadcasting/CasterSoundboard/issues/22","id":227508079,"number":22,"title":"Open Sound Control support","user":{"login":"maelstrom59","id":1242894,"avatar_url":"https://avatars3.githubusercontent.com/u/1242894?v=3","gravatar_id":"","url":"https://api.github.com/users/maelstrom59","html_url":"https://github.com/maelstrom59","followers_url":"https://api.github.com/users/maelstrom59/followers","following_url":"https://api.github.com/users/maelstrom59/following{/other_user}","gists_url":"https://api.github.com/users/maelstrom59/gists{/gist_id}","starred_url":"https://api.github.com/users/maelstrom59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maelstrom59/subscriptions","organizations_url":"https://api.github.com/users/maelstrom59/orgs","repos_url":"https://api.github.com/users/maelstrom59/repos","events_url":"https://api.github.com/users/maelstrom59/events{/privacy}","received_events_url":"https://api.github.com/users/maelstrom59/received_events","type":"User","site_admin":false},"labels":[{"id":596547125,"url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/labels/High%20Priority","name":"High Priority","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-05-09T21:47:04Z","updated_at":"2017-05-14T09:37:28Z","closed_at":null,"body":"It'd be great to be able to trigger cues using OSC commands.\r\n\r\nFor the uninitiated, Open Sound Control (OSC) is sort of next-gen MIDI that runs over a network:\r\n- https://en.wikipedia.org/wiki/Open_Sound_Control\r\n- http://opensoundcontrol.org/\r\n\r\nSimilar software also utilises OSC:\r\n- https://figure53.com/docs/qlab/v3/scripting/osc-dictionary-v3/"},"comment":{"url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/comments/301301215","html_url":"https://github.com/JupiterBroadcasting/CasterSoundboard/issues/22#issuecomment-301301215","issue_url":"https://api.github.com/repos/JupiterBroadcasting/CasterSoundboard/issues/22","id":301301215,"user":{"login":"maelstrom59","id":1242894,"avatar_url":"https://avatars3.githubusercontent.com/u/1242894?v=3","gravatar_id":"","url":"https://api.github.com/users/maelstrom59","html_url":"https://github.com/maelstrom59","followers_url":"https://api.github.com/users/maelstrom59/followers","following_url":"https://api.github.com/users/maelstrom59/following{/other_user}","gists_url":"https://api.github.com/users/maelstrom59/gists{/gist_id}","starred_url":"https://api.github.com/users/maelstrom59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maelstrom59/subscriptions","organizations_url":"https://api.github.com/users/maelstrom59/orgs","repos_url":"https://api.github.com/users/maelstrom59/repos","events_url":"https://api.github.com/users/maelstrom59/events{/privacy}","received_events_url":"https://api.github.com/users/maelstrom59/received_events","type":"User","site_admin":false},"created_at":"2017-05-14T09:37:28Z","updated_at":"2017-05-14T09:37:28Z","body":"With a file loaded into cue 1, I tried all of your examples:\r\n```python\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/track_position', 0.5)\r\n\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/volume', 0.8)\r\n\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/loop_state', 1)\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/loop_state', 0)\r\n\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/play_state/play', 1)\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/play_state/pause', 1)\r\nclient.send_message('/castersoundboard/board/No Name/player/1/modify/play_state/stop', 1)\r\n```\r\n\r\nit's a great start for sure, I've already integrated it into the application I mentioned earlier (still planning to release it in a few days).\r\n\r\nJust a couple of small issues though:\r\n* The `track_position` is works fine but it's not always very useful, maybe this could be renamed `track_position_percent` and `track_position` could still accept a float, but instead, it be used for the amount of seconds into the track\r\n\r\n* `pause` and `stop` both work but `play` seems to start the track from the beginning rather than the location it was paused at"}}
{"actor":{"display_login":"maelstrom59"}}