Interfacing With Beets
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 2.1k
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 31
Description
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.
I'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?
The program I'm writing uses NodeJS and [can be found here](https://github.com/IrosTheBeggar/mstream-node)
Contributor guide
Research direction
No beets files or tests are named. Start by reviewing the plugin approach, the SQLite database access, and the beets shell interface described in the issue, then determine whether an existing programmatic entry point is documented. Done means identifying and documenting a supported way for the NodeJS application to retrieve beets data without custom database queries or shell commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, python, sqlite
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100