{"action":"opened","issue":{"url":"https://api.github.com/repos/hslbck/gnome-shell-extension-radio/issues/120","repository_url":"https://api.github.com/repos/hslbck/gnome-shell-extension-radio","labels_url":"https://api.github.com/repos/hslbck/gnome-shell-extension-radio/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/hslbck/gnome-shell-extension-radio/issues/120/comments","events_url":"https://api.github.com/repos/hslbck/gnome-shell-extension-radio/issues/120/events","html_url":"https://github.com/hslbck/gnome-shell-extension-radio/issues/120","id":386060609,"node_id":"MDU6SXNzdWUzODYwNjA2MDk=","number":120,"title":"Add channels externally","user":{"login":"mikeymckay","id":12015,"node_id":"MDQ6VXNlcjEyMDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12015?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeymckay","html_url":"https://github.com/mikeymckay","followers_url":"https://api.github.com/users/mikeymckay/followers","following_url":"https://api.github.com/users/mikeymckay/following{/other_user}","gists_url":"https://api.github.com/users/mikeymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeymckay/subscriptions","organizations_url":"https://api.github.com/users/mikeymckay/orgs","repos_url":"https://api.github.com/users/mikeymckay/repos","events_url":"https://api.github.com/users/mikeymckay/events{/privacy}","received_events_url":"https://api.github.com/users/mikeymckay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T06:50:45Z","updated_at":"2018-11-30T06:50:45Z","closed_at":null,"author_association":"NONE","body":"I have written a little script that gets the daily URL for a stream I like to listen to. I can then append an entry into channelList.json. But the new entry doesn't appear unless I manually restart the extension. Is there any way to force the channelList to reload without the old \"have you tried turning it off and on again\"?\r\n\r\nHere's how I update the channel list (get a json file, extract the location, and append it to channelList):\r\n`jq \".channels += [{\\\"id\\\":\\\"1\\\", \\\"name\\\":\\\"Morning Becomes Eclectic\\\", \\\"address\\\":$(cat kcrw.json | jq \".media[0].url\"), \\\"favourite\\\":true, \\\"encoding\\\":false}] \" ~/.gse-radio/channelList.json > /tmp/tmp.json && mv /tmp/tmp.json ~/.gse-radio/channelList.json`"}}
{"actor":{"display_login":"mikeymckay"}}