Commit graph

9637 commits

Author SHA1 Message Date
Adrian Sampson
32e54a29fa
Merge pull request #3655 from aereaux/add_parentwork_date
Get the date of the parentwork, which may be different from the date of the child work.
2020-07-07 07:48:23 -04:00
Jacob Pavlock
e4284cff55 reverting change to ci for python3.4
seems github actions doesn't support python3.4
2020-07-06 18:51:36 -07:00
Jacob Pavlock
dabde74683 nose -> pytest and clean-up tox 2020-07-06 17:03:11 -07:00
Jacob Pavlock
723e04ebb3 deprecate tests_require in favor of extras 2020-07-06 17:02:23 -07:00
jtpavlock
aedd77317f
Merge pull request #3658 from jtpavlock/integration_tests
Add weekly integration test github action
2020-07-06 11:37:46 -05:00
jtpavlock
45abc9ed7a
Clean up code and tests for Genius Lyrics plugin backend (#3641)
* clean-up code & add tests for genius lyrics backend

* add genius fetch tests

* organize imports: standard lib -> pip -> local

* check in sample genius lyrics page

* fix mock import

* force utf-8 encoding for opened files

* use io.open to force utf-8 encoding w/ python2.7
2020-07-06 08:41:27 -05:00
Jacob Pavlock
06553cc37c adjust test_lyrics.py to work with integration tests 2020-07-05 21:41:31 -07:00
Jacob Pavlock
c05ba5c814 add integration test github action 2020-07-05 21:41:22 -07:00
Aidan Epstein
27199abac8 Get the date of the parentwork, which may be different from the date of the child work.
Also add a changelog entry and docs.
2020-07-03 09:35:15 -07:00
Adrian Sampson
cb668ccdab
Merge pull request #3648 from jtpavlock/patch-2
Create pull request template
2020-06-29 09:08:51 -04:00
Adrian Sampson
6411a58c80 Slight formatting/wording improvements 2020-06-29 09:08:25 -04:00
Adrian Sampson
aed81da2fa Thanks & bug link for #3637 2020-06-28 21:19:35 -04:00
Adrian Sampson
8deef192e6
Merge pull request #3647 from trolley/topic/coverart-thumbs-2
fetchart: Use Cover Art Archive thumbnails
2020-06-28 21:18:39 -04:00
jtpavlock
def44e6f88
Update pull_request_template.md 2020-06-28 17:36:40 -05:00
jtpavlock
b458509ba1
spelling 2020-06-28 17:35:08 -05:00
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