Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add loadext plugin #3226
This is a rough draft at the moment of what a
Note that this will require the user to compile their own copy of
Points of Discussion
I've got a few points of discussion I'd like to bring up regarding this PR;
Compiling the ICU extension
To compile the ICU extension, you need the following;
$ wget https://sqlite.org/2019/sqlite-src-3280000.zip $ unzip sqlite-src-3280000.zip $ cd sqlite-src-3280000/ext/icu $ gcc -shared -fPIC icu.c `icu-config --ldflags` -o libicu.so $ cp libicu.so [wherever you want]
Awesome!! Thanks for getting this started!
Here are a few thoughts on your questions:
I've just realised that connections in beets are per-thread, which opens up an issue of the extension being loaded on one thread but not another. Would we be alright iterating through all of the open connections and loading the extension for all of them?
Just to put another spanner in the works (see the footnotes).
Oddly enough it's enabled on the versions of Python 2 and 3 I have installed from Homebrew on macOS, as well as on Python 2 and 3 I have installed from
My thoughts are now as follows:
What do you think @sampsyo?