{"action":"created","issue":{"url":"https://api.github.com/repos/beetbox/beets/issues/2334","repository_url":"https://api.github.com/repos/beetbox/beets","labels_url":"https://api.github.com/repos/beetbox/beets/issues/2334/labels{/name}","comments_url":"https://api.github.com/repos/beetbox/beets/issues/2334/comments","events_url":"https://api.github.com/repos/beetbox/beets/issues/2334/events","html_url":"https://github.com/beetbox/beets/issues/2334","id":196990841,"number":2334,"title":"Interfacing With Beets","user":{"login":"IrosTheBeggar","id":1396994,"avatar_url":"https://avatars.githubusercontent.com/u/1396994?v=3","gravatar_id":"","url":"https://api.github.com/users/IrosTheBeggar","html_url":"https://github.com/IrosTheBeggar","followers_url":"https://api.github.com/users/IrosTheBeggar/followers","following_url":"https://api.github.com/users/IrosTheBeggar/following{/other_user}","gists_url":"https://api.github.com/users/IrosTheBeggar/gists{/gist_id}","starred_url":"https://api.github.com/users/IrosTheBeggar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IrosTheBeggar/subscriptions","organizations_url":"https://api.github.com/users/IrosTheBeggar/orgs","repos_url":"https://api.github.com/users/IrosTheBeggar/repos","events_url":"https://api.github.com/users/IrosTheBeggar/events{/privacy}","received_events_url":"https://api.github.com/users/IrosTheBeggar/received_events","type":"User","site_admin":false},"labels":[{"id":85957545,"url":"https://api.github.com/repos/beetbox/beets/labels/discussion","name":"discussion","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-21T17:36:31Z","updated_at":"2016-12-21T19:21:39Z","closed_at":null,"body":"I'm working on a music streaming app that can use Beets DB.   To interface with beets I wrote a plugin that could read from the SQLite DB that beets generates.   From here I wrote my own queries to pull information from the database.\r\n\r\nI'm wondering if there's a better way to do this.  I thought about writing my plugin so it could run beets shell commands, but this feels clunky.  Is there a proper way for an program to get information from beets?\r\n\r\nThe program I'm writing uses NodeJS and [can be found here](https://github.com/IrosTheBeggar/mstream-node)"},"comment":{"url":"https://api.github.com/repos/beetbox/beets/issues/comments/268615331","html_url":"https://github.com/beetbox/beets/issues/2334#issuecomment-268615331","issue_url":"https://api.github.com/repos/beetbox/beets/issues/2334","id":268615331,"user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T19:21:39Z","updated_at":"2016-12-21T19:21:39Z","body":"OK, cool. Yes, the reference server I wrote is similar in spirit to your server (although more primitive, obviously). In an ideal world, something like mStream would be able to forward requests to a beets instance or other AURA sever with minimal effort.\r\n\r\nMaybe we can start by comparing notes on the APIs. I'll take a look around at how mStream works internally; I imagine there are lessons we can learn there!"}}
{"actor":{"display_login":"sampsyo"}}