Commit graph

9849 commits

Author SHA1 Message Date
soergeld
441f0c559e Merge branch 'beets_500' of https://github.com/dosoe/beets into beets_500 2021-01-07 12:43:37 +01:00
soergeld
7afdbd49b3 TYPO 2021-01-07 12:41:42 +01:00
soergeld
c87dc08c4a move 500 to global constant 2021-01-07 12:37:40 +01:00
Dorian Soergel
5bddb6dddc
Merge branch 'master' into beets_500 2021-01-07 12:36:37 +01:00
Adrian Sampson
6a4c94120c
Merge pull request #3825 from agsimmons/fix-mpd2-warning-py2
Add Python version check for mpdstats
2021-01-06 16:14:38 -05:00
Andrew Simmons
3117cc0d31 Update changelog 2021-01-06 10:52:18 -05:00
Andrew Simmons
73a7723a15 Add python version check 2021-01-06 10:33:50 -05:00
Adrian Sampson
d94fb21bd0
Merge pull request #3824 from auguste42/master
discogs plugin: fix index_track option
2021-01-05 17:29:08 -05:00
Auguste Olivry
34c38f41bd Cosmetic fix 2021-01-05 16:15:50 +01:00
Auguste Olivry
345cf6e39b Move index handling inside coalesce_tracks 2021-01-05 16:14:36 +01:00
Auguste Olivry
a391740614 Update changelog 2021-01-05 14:25:57 +01:00
Auguste Olivry
c61d18bed3 Remove semicolon when prefix is empty 2021-01-05 14:15:22 +01:00
Auguste Olivry
8bda9f991a Keep index tracks in coalesced tracklist 2021-01-05 14:15:22 +01:00
soergeld
b691a71745 style and legibility 2021-01-01 14:56:46 +01:00
soergeld
52a85cdf18 style and legibility 2021-01-01 14:55:14 +01:00
soergeld
7da5c374cc style 2020-12-30 16:18:59 +01:00
soergeld
66379d542c style 2020-12-30 16:05:05 +01:00
soergeld
67587850c9 changelog 2020-12-30 16:04:40 +01:00
soergeld
364111d688 use browse for big releases 2020-12-30 16:02:19 +01:00
Adrian Sampson
53dcb24d10
Merge pull request #3671 from dosoe/beets_test_parentwork
first try at mocking get_work_by_id
2020-12-22 12:01:17 -05:00
soergeld
03cc76375d style 2020-12-22 16:02:48 +01:00
soergeld
7803ce271e mock confined to test 2020-12-22 15:59:45 +01:00
soergeld
53474678e9 mock confined to test 2020-12-22 15:41:49 +01:00
soergeld
a8d1cc9ce4 mock confined to test 2020-12-22 15:40:50 +01:00
Adrian Sampson
7f8be8e732
Merge pull request #3818 from ybnd/replaygain-disable-import-parallelism
Disable replaygain parallelism during import
2020-12-22 08:31:47 -05:00
ybnd
eb8ba838e5 Check 'auto' on import_begin 2020-12-22 12:45:28 +01:00
soergeld
a8b81ca193 style 2020-12-22 12:19:26 +01:00
soergeld
18bfefece7 revert changes to working version with external mock 2020-12-22 11:51:24 +01:00
ybnd
cc18beb12a Reference issue 2020-12-21 19:33:23 +01:00
ybnd
93101e7ea6 Disable replaygain parallelism during import 2020-12-21 19:19:20 +01:00
Adrian Sampson
10e81a55dd
Disable Python 3.5 CI on Windows
It was broken and is not worth fixing.
2020-12-21 08:49:14 -05:00
Adrian Sampson
1c0a4708db
Merge pull request #3817 from wisp3rwind/fix-replaygain-test
replaygain: Use on-disk database
2020-12-21 08:48:45 -05:00
Adrian Sampson
206b1c1099
Merge pull request #3816 from ybnd/parallel-replaygain-fix-import-write
Fix logic for replaygain auto-compute on import
2020-12-21 08:48:03 -05:00
wisp3rwind
30baf22e77 replaygain: Use on-disk database
there can only be a single connection to an in-memory database, but the
parallel replaygain code accesses the db from different threads
2020-12-21 11:13:45 +01:00
ybnd
12db40fa67 Remove .get() when checking config values 2020-12-21 08:50:39 +01:00
ybnd
1dfd79e658 Fix logic for replaygain auto-compute on import 2020-12-20 19:38:21 +01:00
Adrian Sampson
48222153ae
Merge pull request #3812 from billyjanitsch/fix-fish-completions
Fix escape helper in fish completion plugin
2020-12-16 08:10:48 -05:00
Adrian Sampson
bfa2068ec1
Merge pull request #3811 from sentriz/master
lastgenre: Make TitleCasing optional
2020-12-16 07:54:44 -05:00
Billy Janitsch
c94809f6da Fix escape helper in fish completion plugin 2020-12-16 02:15:26 -05:00
sentriz
95677c8626
lastgenre: Make TitleCasing optional 2020-12-15 23:37:16 +00:00
Adrian Sampson
2928cef383
Merge pull request #3810 from beetbox/sam/fast-plugin-setup
Use caching in plugins.find_plugins()
2020-12-15 08:27:34 -05:00
Sam Thursfield
3fec6d347a Use caching in plugins.find_plugins()
This function is called from library.Item._getters(), making it a hot
path when exporting data. We cache plugin instances but previously we
reran `import` for each module on each call. We now return the cached
values providing a speed boost for `beet export`.

This has a small effect on `beet ls` speed: for me it went 11.00s ->
10.40.

It had a significant effect on `beet export` speed when combined with
https://github.com/beetbox/beets/pull/3762/.

Before:

    $ time /home/sam/.local/bin/beet 'export' '--library' '--format' 'jsonlines' '--include-keys' 'artist,title,path,mb_artistid,mb_trackid' 'artist+ title+' > /dev/null
    Executed in   25.13 secs

After:

    $ time /home/sam/.local/bin/beet 'export' '--library' '--format' 'jsonlines' '--include-keys' 'artist,title,path,mb_artistid,mb_trackid' 'artist+ title+' > /dev/null
    Executed in   10.49 secs
2020-12-15 14:16:09 +01:00
Adrian Sampson
8645f56512
Merge pull request #3478 from ybnd/parallel-replaygain
Implement parallel replaygain analysis
2020-12-14 17:41:11 -05:00
ybnd
e3205aacbd Merge remote-tracking branch 'origin/master' into parallel-replaygain 2020-12-14 22:19:28 +01:00
ybnd
363f71af2e Move OperationalError handler to test_replaygain.py 2020-12-14 22:10:54 +01:00
Adrian Sampson
ed18551c1c
Merge pull request #3805 from adammillerio/master
keyfinder: Catch output from keyfinder-cli with no key
2020-12-08 07:37:22 -05:00
Adam Miller
c1d93165f0 Fix line length 2020-12-07 22:11:08 -05:00
Adam Miller
e11687f80a keyfinder: Catch output from keyfinder-cli with no key 2020-12-07 22:04:05 -05:00
Adrian Sampson
9657919968
Merge pull request #3088 from rubdos/reflink
Add reflink option
2020-11-27 13:29:10 -05:00
Ruben De Smet
5efaa09482 Note installing pyreflink in docs 2020-11-26 13:45:33 +01:00