djl
33b10d60fb
fetchart: Improve Cover Art Archive source. ( #3748 )
...
* fetchart: Improve Cover Art Archive source.
Instead of blindly selecting the first image, we now treat all "front"
images as candidates.
This is useful where some digital releases have both an animated cover
and a still image and the animated image is the first image returned
from the API.
2020-09-13 20:27:12 +01:00
Jef LeCompte
3c8419dbe0
fix(plugin): subsonicupdate rest call
...
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
2020-09-04 00:51:03 -04:00
Aidan Epstein
fce27e6fa9
mpdstats: Don't record a skip when stopping MPD.
...
MPD keeps the current track in the queue when stopping, so it's not
really like a skip, and I use it so that I can stop the music, and later
start at the beginning of a track.
I do this by keeping track of the current song id, and then comparing
them when we receive a stop signal.
2020-08-10 07:07:17 -07:00
Samuel Cook
b89a2650cc
Delete after convert ( #3700 )
...
* If import move is true, files will be deleted after converting.
Fixes #2947
* Removed trailing whitespace to comply with W293, fixing build
* Add period to the end of the comment
Co-Authored-By: Adrian Sampson <adrian@radbox.org>
* Added changelog entry for this fix.
* Added delete_originals option to remove source files after transcode
* Added unit test, removed redundant syspath call
Co-authored-by: Logan Arens <logan-arens@users.noreply.github.com>
Co-authored-by: Logan Arens <heresmygithub@protonmail.com>
Co-authored-by: Adrian Sampson <adrian@radbox.org>
Co-authored-by: Logan Arens <logan.arens@protonmail.com>
2020-08-03 20:20:20 -05:00
Jack Wilsdon
92f425628d
Skip Genius integration test on GitHub actions
2020-08-02 17:56:22 +01:00
Gunther Schmidl
48d39ea11e
fix regex, add test and changelog entry
2020-07-30 22:42:31 +02:00
Gunther Schmidl
1eda0d39e6
better regex for drive letter; hopefully fixed tests for 2.7; added test to show only drive-letter like colons are affected
2020-07-25 22:11:07 +02:00
Gunther Schmidl
0a9a801b05
add unit tests
2020-07-25 21:50:33 +02:00
José Albornoz
dc7e433768
Fix thumbnail plugin pathlib bug ( #3360 )
...
PathlibURI.uri() would fail if given a path as bytes instead of as string.
Co-authored-by: Jacob Pavlock <jtpavlock@gmail.com>
2020-07-15 21:00:50 -05:00
Jacob Pavlock
f2e7b3fdd7
remove references to nose
2020-07-07 15:28:38 -07:00
Jacob Pavlock
25c6843c28
classify integration tests in test_parentwork.py
2020-07-07 15:05:21 -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
17d9477106
tests for applicable genius artist slugging
2020-06-26 19:33:08 -07:00
Mark Trolley
6d41f31309
Rename use_secure to secure and add to changelog
2020-06-08 20:19:19 -04:00
Mark Trolley
22d74a3b8a
feat: support secure Plex connections
2020-06-08 18:05:43 -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
Jef LeCompte
10f589d80a
feat: added subsonicupdate tests
2020-05-22 21:23:26 -04:00
stlutz
5d306d6fd9
Remove debugging statement and conform to line length.
2020-05-16 17:48:56 +02:00
stlutz
46143d9762
Remove unnecessary intermediate web request to genius.com when fetching lyrics.
...
The search results already include the correct song page url, making it superfluous to do another request via the /song api just to get it.
2020-05-16 16:28:17 +02:00
Adrian Sampson
1dcfa03b5b
Merge branch 'master' of github.com:beetbox/beets
2020-05-13 08:21:09 -04:00
Adrian Sampson
5db2b4ccaa
Fix new flake8 warnings
2020-05-13 08:20:50 -04:00
soergeld
7c71bb87a2
cleaning up, renaming dup_XXInfo() to copy()
2020-05-08 16:32:12 +02:00
soergeld
d7ed84646e
create method for deepcopy
2020-04-28 14:18:27 +02:00
soergeld
ba2b22cac5
try to correct deepcopy
2020-04-28 12:59:52 +02:00
soergeld
b39ef0b8f9
better deepcopy, docstring, minor improvements
2020-04-28 12:16:19 +02:00
soergeld
eec7994dbe
corrected on deepcopy replacement
2020-04-27 16:16:37 +02:00
soergeld
2bc0027adf
remove some prints, unused libraries, __setitem__ method
2020-04-27 16:08:47 +02:00
soergeld
048b5c2151
remove need for deepcopy, simplify __init__
2020-04-27 15:55:12 +02:00
soergeld
14e1b33839
lines too long
2020-04-27 11:44:51 +02:00
soergeld
805f4e801f
typo in tests
2020-04-27 11:31:39 +02:00
soergeld
f507f04639
reintroduce default arguments, adapt all occurences of TrackInfo and AlbumInfo to the absence of positional arguments
2020-04-27 11:21:13 +02:00
Ashhar Hasan
625e9253c0
Add tests for artist_sort as lyrics search fallback
...
Adjust doc comment to highlight that artist_sort is used as a fallback
2020-04-19 19:19:07 +05:30
lijacky
9ec0d725e5
Changes given feedback on https://github.com/beetbox/beets/pull/3554 and trimmed sample html
2020-04-17 17:14:21 -04:00
lijacky
b7ecf32f28
style changes
2020-04-16 19:06:17 -04:00
lijacky
525202e529
adding genius sample html
2020-04-16 19:06:17 -04:00
lijacky
29d7b80847
Added unit test for null check
2020-04-16 19:06:17 -04:00
x1ppy
19d6dfc8f3
Support extra tags for MusicBrainz queries
2020-03-20 14:13:40 -04:00
Adam Jakab
611659d03c
removed value_match and repr tests
2020-03-16 10:16:29 +01:00
Adam Jakab
ac1a3851fa
typo fix
2020-03-15 19:36:38 +01:00
Adam Jakab
ceb901fcca
struggling with old python
2020-03-15 19:30:24 +01:00
Adam Jakab
935768d983
fixing repr tests
2020-03-15 19:19:09 +01:00
Adam Jakab
8e68b5ff2e
cleaning up
2020-03-15 15:54:01 +01:00
Adam Jakab
532c6d7c82
better repr testing #2
2020-03-15 15:41:32 +01:00
Adam Jakab
3f2f125b09
better repr testing
2020-03-15 15:24:17 +01:00
Adam Jakab
d6538e5f0c
removed value_match method - not reachable?
2020-03-15 14:57:02 +01:00
Adam Jakab
d5a52cbd26
removed unused imports
2020-03-14 21:51:46 +01:00
Adam Jakab
fbd1266bc5
simplified condition in test and added changelog entry
2020-03-14 21:30:22 +01:00