Commit graph

9823 commits

Author SHA1 Message Date
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
Jef LeCompte
9f8bd4cd3f
style: flake8 linting 2020-05-25 20:06:43 -04:00
Jef LeCompte
0c3201930c
feat: added github actions
only working with linux for now. exact replica of travis basically.
should probably try to implement the rest of tox or deprecate some
functionality.
2020-05-25 19:35:15 -04:00
Adrian Sampson
6639c1babc
Merge pull request #3600 from martinkirch/add-drop2beets-ref
add drop2beets to community plugins
2020-05-23 11:51:58 -04:00
Martin Kirchgessner
fc4a61c557 add drop2beets to community plugins 2020-05-23 17:09:18 +02:00
Adrian Sampson
1b4686eebc Merge pull request #3598 from jef/jef/fix-str
fix: use `endwith()` instead of `endWith()`
2020-05-23 09:19:25 -04:00
Adrian Sampson
edb31f69d0 Remove explicit jellyfish dep from Tox
This is already installed when installing beets, and it's done in a way
that actually gets the right package version for the right Python version.
2020-05-23 09:03:12 -04:00
Jef LeCompte
10f589d80a
feat: added subsonicupdate tests 2020-05-22 21:23:26 -04:00
Jef LeCompte
66e6b11404
refactor: moved static methods inside class
made them static private class methods
2020-05-22 21:23:25 -04:00
Jef LeCompte
d9603788bc
fix: use endwith() instead of endWith() 2020-05-22 21:23:25 -04:00
Adrian Sampson
469541df2e
Merge pull request #3596 from jef/jef/fix-subsonic
feat: uses new subsonic format as default
2020-05-18 15:14:43 -04:00
Jef LeCompte
1374aa2aea feat: uses new subsonic format as default
also gets rid of warning that port must be `int` when it's default was a `string`
2020-05-18 10:23:26 -04:00
Adrian Sampson
5c91013d1f Expand changelog for #3594 2020-05-17 14:46:10 -04:00
Adrian Sampson
485abb08c0 Merge pull request #3594 from stlutz/master
Scrape new Genius song page html
2020-05-17 14:44:57 -04:00