Commit graph

9622 commits

Author SHA1 Message Date
jtpavlock
3282f1565e
Update pull_request_template.md 2020-06-28 17:33:42 -05:00
jtpavlock
c9519c1ef5
Create pull_request_template.md 2020-06-28 17:32:37 -05:00
Mark Trolley
0f767ffa66 fetchart: Use Cover Art Archive thumbnails
The Cover Art Archive API offers pre-resized thumbnails of cover
art. If the `maxwidth` option of `fetchart` matches one of the
supported Cover Art Archive thumbnail sizes, and a thumbnail of
that size exists in the Cover Art Archive, fetch it directly
instead of fetching the full size image then resizing it.
2020-06-28 17:18:42 -04:00
Adrian Sampson
533cc88df2
Merge pull request #3639 from trolley/topic/coverart-fallback
Revert Cover Art Archive thumbnails
2020-06-27 19:46:45 -04:00
Adrian Sampson
3e32a4fb87
Merge pull request #3635 from jtpavlock/master
Fix genius lyrics backend artist matching with hyphens
2020-06-27 19:38:26 -04:00
Jacob Pavlock
685d21a8fb changelog 2020-06-27 14:10:03 -07:00
Mark Trolley
a4c647be46 Revert "fetchart: Use Cover Art Archive thumbnails"
This reverts commit 2131f6f7d9.
2020-06-27 16:26:52 -04:00
Mark Trolley
3232a5b8b7 Revert "Indentation fix"
This reverts commit 1e527ed4e5.
2020-06-27 16:26:20 -04:00
Mark Trolley
71af5c04fc Revert "Thanks & bug link for #3637"
This reverts commit db181d35fb.
2020-06-27 16:26:05 -04:00
Adrian Sampson
db181d35fb Thanks & bug link for #3637 2020-06-27 12:50:13 -04:00
Adrian Sampson
1e527ed4e5 Indentation fix 2020-06-27 12:49:32 -04:00
Adrian Sampson
0cd52939d4 Merge pull request #3637 from trolley/topic/coverart-thumb
fetchart: Use Cover Art Archive thumbnails
2020-06-27 12:48:32 -04:00
Mark Trolley
2131f6f7d9 fetchart: Use Cover Art Archive thumbnails
The Cover Art Archive API offers pre-resized thumbnails of cover
art. If the `maxwidth` option of `fetchart` matches one of the
supported Cover Art Archive thumbnail sizes fetch it directly
instead of fetching the full size image then resizing it.
2020-06-27 12:34:43 -04:00
Jacob Pavlock
17d9477106 tests for applicable genius artist slugging 2020-06-26 19:33:08 -07:00
Jacob Pavlock
7220c91d2a generalize genius artist matching to use slug() 2020-06-26 18:56:20 -07:00
Jacob Pavlock
bb5740d63c better debug message for no genius artist match 2020-06-26 16:41:20 -07:00
Jacob Pavlock
ae175e156b fix genius lyrics artist matching when artist contains a hyphen 2020-06-26 16:10:33 -07:00
Adrian Sampson
31855a9394
Merge pull request #3621 from wisp3rwind/fix_ast_39
Compatibility with breaking changes to the ast module
2020-06-10 09:13:42 -04:00
wisp3rwind
dab0c1f9ab compatibility with breaking changes to the ast module
new in 3.10, also backported to 3.8 and 3.9: https://github.com/python/cpython/pull/20649
In fact, our generation of some Literals has been invalid since Python
3.4, fix that too.
2020-06-09 20:03:50 +02:00
Adrian Sampson
9b47e4fa23
Merge pull request #3619 from trolley/topic/plex-secure-connections
feat: support secure Plex connections
2020-06-08 20:28:27 -04:00
Mark Trolley
6d41f31309 Rename use_secure to secure and add to changelog 2020-06-08 20:19:19 -04:00
Adrian Sampson
ee25439c85
Merge pull request #3618 from trolley/topic/clarify-mbcollection-docs
docs: clarify mbcollection options
2020-06-08 19:28:30 -04:00
Mark Trolley
22d74a3b8a feat: support secure Plex connections 2020-06-08 18:05:43 -04:00
Mark Trolley
2ae0dbbd7a docs: clarify mbcollection options 2020-06-08 16:29:33 -04:00
Adrian Sampson
74ad966528 Run GitHub Actions CI on pull requests too 2020-06-05 10:04:13 -04:00
Adrian Sampson
1aa35edd3d Switch Travis badge to GitHub Actions 2020-06-05 10:03:37 -04:00
Adrian Sampson
3aad6f42ce Merge pull request #3602 from jef/jef/github-actions
feat: added github actions
2020-06-05 09:56:59 -04:00
Jef LeCompte
a96059634c
feat: add codecov to GitHub Actions 2020-06-04 22:09:18 -04:00
Jef LeCompte
c095429123
feat: remove Travis CI in favor of GitHub Actions 2020-06-04 22:03:16 -04:00
Jef LeCompte
14dc285b4f
chore(flake8): update comment and version 2020-06-04 21:55:47 -04:00
Adrian Sampson
93c14ea66d
Merge pull request #3612 from ybnd/master
Fix item == None issues when writing lyrics ReST (issue #2805)
2020-06-04 14:32:47 -04:00
ybnd
d1f3d664d7 Implement comments & add to changelog 2020-06-04 16:43:42 +02:00
ybnd
b239a0b3d2 Fix item == None issues when writing lyrics ReST
* Skip ReST writing & sphinx info messages if query doesn't yield anything
* `writerest` into `appendrest` and `writerest`, don't call `writerest(item=None)` to flush state at the end.
2020-06-04 11:15:34 +02:00
Jef LeCompte
42e5844564
fix: revert flake8 change 2020-06-04 02:09:04 -04:00
Jef LeCompte
b9068e3fbd
fix: flake8 problem 2020-06-04 01:40:05 -04:00
Jef LeCompte
f0534090c3
fix: revert add windows to ci 2020-06-04 01:29:52 -04:00
Jef LeCompte
26caef544f
fix: remove --min-version 2020-06-04 01:21:46 -04:00
Jef LeCompte
e66cfd58ad
feat: add windows into ci 2020-06-04 01:14:11 -04:00
Jef LeCompte
bf06338cc7
Merge branch 'jef/github-actions' of https://github.com/jef/beets into jef/github-actions 2020-06-04 00:27:08 -04:00
Jef LeCompte
18645ffbe4
chore(tox): revert changes 2020-06-04 00:26:33 -04:00
Jef LeCompte
9af683f26c
Merge branch 'master' into jef/github-actions 2020-06-04 00:22:54 -04:00
Adrian Sampson
0af2504424
Merge pull request #3607 from cota/tarfile
importer: use tarfile.open to handle compressed archives
2020-06-01 08:09:32 -04:00
Emilio G. Cota
c69e96432a importer: use tarfile.open to handle compressed archives
Call tarfile.open instead of tarfile.TarFile from the importer so that
we can import compressed tar archives.

Note that tarfile.TarFile does not handle compressed archives:
$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tarfile
>>> tf = tarfile.TarFile("Lagrimas.tar.bz2")
Traceback (most recent call last):
[...]
tarfile.ReadError: invalid header
>>>

But tarfile.open does deal with them:
$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tarfile
>>> tf = tarfile.open("Lagrimas.tar.bz2")
>>>

Tested:
$ ls Lagrimas/*.mp3 | wc -l
11
$ tar cjf Lagrimas.tar.bz2 Lagrimas/

- Before:
$ beet import Lagrimas.tar.bz2
extraction failed: invalid header
No files imported from /tmp/Lagrimas.tar.bz2

- After:
$ beet import Lagrimas.tar.bz2
[works]

Fixes #3606.
2020-05-31 23:35:31 -04:00
Adrian Sampson
19ab28e141
Merge pull request #3605 from ybnd/master
Fix `list -af` example in documentation
2020-05-29 08:28:26 -04:00
ybnd
d3b759d7ca Fix list -af example in documentation
Didn't work since $tracktotal is not an Album field
2020-05-29 13:29:31 +02:00
Jef LeCompte
9c93b4d356
docs: update punctuation
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-27 16:36:27 -04:00
Jef LeCompte
0068afcb99
feat: add more options to tox 2020-05-26 12:40:23 -04:00
Jef LeCompte
e8693acb6a
docs: elaborated exhaustive list
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-26 10:40:10 -04:00
Jef LeCompte
b0f456b3c3
ci: removed windows for now
has to do with UnicodeDecodeError
2020-05-25 23:18:59 -04:00
Jef LeCompte
9a67cee95f
ci: added windows 2020-05-25 23:16:40 -04:00