{"action":"created","issue":{"url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/264","repository_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot","labels_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/264/comments","events_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/264/events","html_url":"https://github.com/SexualRhinoceros/MusicBot/issues/264","id":154785454,"number":264,"title":"ShoutCast/IceCast Servers","user":{"login":"OfficialWilson","id":6631206,"avatar_url":"https://avatars.githubusercontent.com/u/6631206?v=3","gravatar_id":"","url":"https://api.github.com/users/OfficialWilson","html_url":"https://github.com/OfficialWilson","followers_url":"https://api.github.com/users/OfficialWilson/followers","following_url":"https://api.github.com/users/OfficialWilson/following{/other_user}","gists_url":"https://api.github.com/users/OfficialWilson/gists{/gist_id}","starred_url":"https://api.github.com/users/OfficialWilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfficialWilson/subscriptions","organizations_url":"https://api.github.com/users/OfficialWilson/orgs","repos_url":"https://api.github.com/users/OfficialWilson/repos","events_url":"https://api.github.com/users/OfficialWilson/events{/privacy}","received_events_url":"https://api.github.com/users/OfficialWilson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/labels/planned%20feature","name":"planned feature","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/milestones/1","html_url":"https://github.com/SexualRhinoceros/MusicBot/milestones/1.9.6%20-%20Streams%20and%20local%20files","labels_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/milestones/1/labels","id":1781536,"number":1,"title":"1.9.6 - Streams and local files","description":"The bot was designed in such a way that any input goes through ytdl to process and predownloads music to play from a file.  This means streams cannot be played as you can't predownload them, and ytdl does not handle the `file://` schema.  An alternate way of queuing media has to be created to process these properly.  My current idea on how to handle this is as so:\r\n\r\n- Streams\r\n  - A `stream` command will be created to work alongside the `play` command.  The `play` command will transparently handle media if its a stream, such as twitch links, but anything passed through the stream command will be streamed.\r\n  - I still need to decide how they interact with the queue.  I probably don't really need to do anything, the skip command to end the stream might be sufficient.\r\n- Local files\r\n  - This update will not include the playlist stuff.  I'm going to write a simple way to play local files, and enhance that with the playlist update.  I've yet to decide exactly how I do this, but I'm leaning towards just having a folder you dump files into and you pick files to play from that somehow.\r\n\r\nAs with most updates, I'm probably going to include various fixes, tweaks and changes along with these main features.","creator":{"login":"imayhaveborkedit","id":1907538,"avatar_url":"https://avatars.githubusercontent.com/u/1907538?v=3","gravatar_id":"","url":"https://api.github.com/users/imayhaveborkedit","html_url":"https://github.com/imayhaveborkedit","followers_url":"https://api.github.com/users/imayhaveborkedit/followers","following_url":"https://api.github.com/users/imayhaveborkedit/following{/other_user}","gists_url":"https://api.github.com/users/imayhaveborkedit/gists{/gist_id}","starred_url":"https://api.github.com/users/imayhaveborkedit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imayhaveborkedit/subscriptions","organizations_url":"https://api.github.com/users/imayhaveborkedit/orgs","repos_url":"https://api.github.com/users/imayhaveborkedit/repos","events_url":"https://api.github.com/users/imayhaveborkedit/events{/privacy}","received_events_url":"https://api.github.com/users/imayhaveborkedit/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-05-22T23:48:21Z","updated_at":"2016-05-23T01:07:59Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-13T19:37:32Z","updated_at":"2016-06-24T20:55:24Z","closed_at":null,"body":"A way to stream of shoutcast and or icecast servers.\r\n\r\nWould be amazing."},"comment":{"url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/comments/228459649","html_url":"https://github.com/SexualRhinoceros/MusicBot/issues/264#issuecomment-228459649","issue_url":"https://api.github.com/repos/SexualRhinoceros/MusicBot/issues/264","id":228459649,"user":{"login":"imayhaveborkedit","id":1907538,"avatar_url":"https://avatars.githubusercontent.com/u/1907538?v=3","gravatar_id":"","url":"https://api.github.com/users/imayhaveborkedit","html_url":"https://github.com/imayhaveborkedit","followers_url":"https://api.github.com/users/imayhaveborkedit/followers","following_url":"https://api.github.com/users/imayhaveborkedit/following{/other_user}","gists_url":"https://api.github.com/users/imayhaveborkedit/gists{/gist_id}","starred_url":"https://api.github.com/users/imayhaveborkedit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imayhaveborkedit/subscriptions","organizations_url":"https://api.github.com/users/imayhaveborkedit/orgs","repos_url":"https://api.github.com/users/imayhaveborkedit/repos","events_url":"https://api.github.com/users/imayhaveborkedit/events{/privacy}","received_events_url":"https://api.github.com/users/imayhaveborkedit/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T20:55:23Z","updated_at":"2016-06-24T20:55:23Z","body":"The bot does not use any external API to resolve anything.  It uses youtube-dl.  If ytdl supports it, then it will probably work with the bot.  Consider requesting iheartradio support on the youtube-dl github page.  \r\n\r\nThat said, it's not impossible to use iheartradio.  I just tested this now.  You can pass the playlist link to the stream command and it'll play.  You have to find that link though.  I got mine by watching requests in ublock origin, but you can probably do the same thing with your browser's network inspector."}}
{"actor":{"display_login":"imayhaveborkedit"}}