[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add a source for beets library databases
From: |
Yoni Rabkin |
Subject: |
Re: [PATCH] Add a source for beets library databases |
Date: |
Fri, 29 Dec 2023 09:19:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Daniel Semyonov <daniel@dsemy.com> writes:
> I've pushed an updated version of the patch to a new "beets" branch of
> the EMMS repo.
>
> This version:
> - ensures at least a name and a type is available for each added track,
> - inhibits info functions when adding from the beets database,
> - allows interactive filtering by distinct value(s) of column(s) when adding,
> - sorts tracks to be added before inserting them into the playlist,
> - allow customizing the columns to sort by, their order and the sort type,
> - only gets data from a predefined set of columns,
> - attempts to fix the data format of some columns and their names,
> - adds various small improvements and optimizations to the code.
>
> This is basically feature complete IMO.
> I could add an info function which gets metadata from the beets DB if a
> file has been added without using the beets source commands but is
> actually registered in the DB, however I'm not sure how useful this
> really is.
It will take me a while to get a beets instance running to test it
myself. But I encourage people to try this out.
But without trying it, I think that an Emacs compiled without sqlite may
end up compiling that code with warnings about non-existent functions.
We could get around that with a bunch of declarations such as:
(declare-function sqlite-execute "sqlite.c")
Kludgy, but it works.
--
"Cut your own wood and it will warm you twice"