Thanks; that looks like a great starting point. One way of doing this
would be to define/borrow a simple key/value db protocol, build/borrow
a server that would speak this db protocol, but with the back end
being your music library. Then the front end could just be a
completely generic visual db editor. I think I might try and go with
that.

-Evan

On Sat, Oct 12, 2013 at 12:20 PM, Bobby Powers <bobbypow...@gmail.com> wrote:
> I started on a project a while ago that may be a helpful starting
> point.  It is a daemon written in C that watches a directory with
> inotify ("~/Music" by default), tracks metadata about music files in a
> sqlite3 database, and responds to HTTP queries about artists and
> authors with JSON.  It fits my needs perfectly well; I use it every
> day to listen to music, although there are certainly aspects that
> could be improved.  I'm open to suggestions and criticisms.  It
> currently has 4 deps: taglib, sqlite3, libevent2, and glib.  It looks
> like the only thing I'm using glib for is URI escaping (this was
> written before I was trying to suckless), it could easily be removed.
>
> https://github.com/bpowers/cnote
>
> usage:
> $ curl localhost:1969/artists # list all artists, returns array of strings
> [
>     "A Tribe Called Quest",
>     ...
> ]
> $ curl localhost:1969/albums/Soul%20Limbo # info about tracks in an album:
> [
>     {
>         "album": "Soul Limbo",
>         "artist": "Booker T. & The M.G.'S",
>         "path":
> "amazonmp3/Booker_T__&_The_M_G_'S/Soul_Limbo/B000UBJSDO_(disc_1)_01_-_Be_Young,_Be_Foolish,_Be_Happy.mp3",
>         "title": "Be Young, Be Foolish, Be Happy",
>         "track": "1"
>     },
>     ...
> ]
>
> On Sat, Oct 12, 2013 at 7:34 AM, Manolo Martínez
> <man...@austrohungaro.com> wrote:
>>> > on the files to be tagged. Does anyone here use another program for this
>>> > purpose?
>>>
>>> http://musicbrainz.org/doc/MusicBrainz_Picard
>>>
>>
>> Thanks, I'll give it a try.
>>
>

Reply via email to