Reg
f955f72e2c
test_fetchart: Fix for hidden files on Windows
2018-12-21 11:27:09 +01:00
Reg
54a83fa941
Fetchart / ignore settings tests
2018-12-20 18:44:55 +01:00
Reg
0696f915e5
test_fetchart: Avoid duplicate code in future tests.
2018-12-20 18:44:55 +01:00
Adrian Sampson
ca359d7e0d
Merge pull request #3085 from jackwilsdon/modify-skip-remaining
...
Allow exiting object selection early
2018-12-02 14:57:16 -05:00
Guilherme Danno
fa1037ee28
Enhance %title ( #3059 )
...
Use string.capwords in %title to lower char after apostrophe
2018-11-29 11:30:48 -02:00
Jack Wilsdon
bed3abd97a
Allow exiting object selection early
2018-11-28 17:17:12 +00:00
Adrian Sampson
0a74e0fd3f
Style fixes for latest pycodestyle changes
2018-10-24 17:05:38 -04:00
David Logie
27f0b57d2b
Remove pointless print call.
2018-10-10 15:40:21 +01:00
Jack Wilsdon
5ad16983d4
Fix miscellaneous typos
2018-10-09 01:11:06 +01:00
David Logie
932609933f
Allow "deleting" fixed attributes via beet modify.
...
Deleting a fixed field isn't possible so we just reset the
field back to it's "null" value.
Fixes #2497 .
2018-09-27 11:22:17 +01:00
Adrian Sampson
62772ceece
Merge branch 'master' into arogl-master
2018-09-16 20:56:17 -04:00
Adrian Sampson
dc45119a8d
Avoid comparing patterns in a test
...
As pointed out here:
https://github.com/beetbox/beets/pull/3028#issuecomment-420257867
2018-09-16 20:52:31 -04:00
Andrew Rogl
919f3f9c34
mbsync no longer queries MusicBrainz when the either the mb_albumid or mb_trackid field is invalid
2018-09-09 15:20:26 +10:00
Adrian Sampson
3ddf3ef58a
Merge pull request #3022 from beetbox/default-ignore-data-tracks
...
Make `ignore_data_tracks` `yes` by default
2018-09-05 23:13:44 -04:00
Filipe Fortes
2b41775b8a
Fix tests
2018-09-05 11:37:54 -04:00
David Logie
57b268923f
Split release and release-group disambiguation into separate fields.
2018-09-05 12:45:19 +01:00
Filipe Fortes
692060cc0a
Re-order tests
2018-09-04 11:33:07 -04:00
Filipe Fortes
1701aefe5c
Make ignore_data_tracks yes by default
2018-09-04 10:04:17 -04:00
Filipe Fortes
210b9d316f
Allow ignoring of audio data tracks on import
2018-09-02 10:09:10 -04:00
Adrian Sampson
142aeb6822
Merge branch 'master' into 2972-from-scratch-keep-immutable
2018-07-02 15:18:38 -04:00
Zsin Skri
77242d6b2b
add test: from_scratch only removes writeable
...
Tests for commit ba8fcdfd from_scratch import: only remove writable fields.
2018-07-01 20:23:41 +02:00
Zsin Skri
154e6cfca8
improve tests prefer_specific without canonical
...
This improves the tests for the changes introduced in
commit cef9a331 LastGenre: allow prefer_specific without canonical.
2018-07-01 09:19:36 +02:00
Zsin Skri
96120d5c6d
LastGenre test: prefer_specific without canonical
...
This tests commit cef9a331 .
2018-06-30 22:38:56 +02:00
Zsin Skri
0f847aefcb
LastGenre tests: setup_config: add prefer_specific
...
Allow to specify prefer_specific in lastgenre tests configuration setup.
2018-06-30 22:37:28 +02:00
Iliana Weller
d1d745a58e
Test {album,track}info_received sends in mbsync
2018-05-09 21:46:57 -07:00
Jérémie Detrey
b12b4a1998
mbsync: Add unit test for recording MBID change.
2018-05-08 17:17:23 +02:00
Jérémie Detrey
81e1fc1a7e
test.helper: Allow extra track values in generate_album_info.
2018-05-08 17:02:38 +02:00
Jérémie Detrey
f01799207a
Add mb_releasetrackid tag to full.* media files.
2018-05-01 08:37:34 +02:00
Jérémie Detrey
9f4c5c8096
Do not rely on positional arguments for TrackInfo.
2018-04-30 18:37:27 +02:00
Jérémie Detrey
f74899ab9a
Fix errors due to missing track['id'] in unit tests.
2018-04-30 18:26:06 +02:00
Jérémie Detrey
3e3a51dbb1
Merge branch 'feature/406' of github.com:Rawrmonkeys/beets into feature/406
2018-04-30 11:26:10 +02:00
Jérémie Detrey
c1d1388729
Unit test for import with video data tracks.
2018-04-29 20:19:11 +02:00
Jérémie Detrey
e88a7cea90
Unit test for import with audio data tracks.
2018-04-29 20:06:44 +02:00
Adrian Sampson
4288e11fc0
Merge pull request #2891 from dbogdanov/discogs_fixes
...
Some fixes and updates for the Discogs plugin
2018-04-28 14:32:27 -04:00
Adrian Sampson
8eb50fee33
Avoid weird mutation in web tests
...
This was strange and unnecessary---setting a field on the response
object instead of just using a local variable---and also broke on Flask
1.0.
2018-04-27 17:34:18 -04:00
Dmitry Bogdanov
676536efa7
Fix incorrect indexing of two-sided mediums
...
Fix incorrect split of a tracklist by medium for the case of
two-sided mediums (#2887 ).
Following the discussion in #2887 , the 'medium_total' value should
contain the number of tracks on the medium to which each particular
track belongs, not the total number of different mediums present on
a release.
Fix unit tests accordingly.
2018-04-27 19:28:35 +02:00
Denis Defreyne
0202d762bf
Add artist_credit config option
2018-04-08 08:29:06 +02:00
Rawrmonkeys
0f6f0391fd
add tag, database entry, data population for musicbrainz release track id
2018-03-25 18:58:04 -07:00
Adrian Sampson
492ff7359a
Set up date tests for #2652
2018-02-20 22:57:58 -05:00
Adrian Sampson
9577a511cb
Update tests for new Unidecode behavior: fix #2799
...
The library has started putting spaces around the expanded versions of
vulgar fraction characters.
2018-01-30 20:50:43 -05:00
Nicolas Guillaumin
816de1c3da
Rename setting to ignored_media for consistency
2018-01-02 15:04:00 -08:00
Nicolas Guillaumin
22c4f9cb97
Added a setting to control which formats are ignored
...
This is related to #2688 where a list of hard-coded non-audio formats to
ignore has been added. Some users may want to rip the audio portion of
video tracks (e.g. DVD-Video) so it would be beneficial to let them
control exactly which formats to ignore.
I added a `ignored_formats` setting for that purpose and moved the
hard-coded list into the config. Test and documentation have been
updated accordingly.
Aside: I also clarified the changelog a bit regarding this change and
the related one for #1210 .
2018-01-02 11:03:02 -08:00
Nicolas Guillaumin
d325bceb1d
Added a setting to control if video tracks are ignored
...
Users may want to keep tracking video tracks, for example if they rip
the audio part of the video tracks. Added a setting to allow this.
2017-12-31 10:46:48 -08:00
Nicolas Guillaumin
71b4d5c702
Fixes #1210 : Skip non-audio tracks from MusicBrainz
...
This ignores non-audio tracks during import:
- Data tracks, based on their title `[data track]` (which seems to be
the MusicBrainz convention, as there's no specific flag to indicate
that a track is a data one),
- Video tracks, based on the `video=true` attribute.
It's similar to the Picard changes mentioned in #1210 , except it doesn't
deal with `[silence]` tracks: These ones will probably require a setting
to let the user control if they should be imported or not.
2017-12-30 19:20:43 -08:00
Nicolas Guillaumin
3b491ce9b4
Fixes #2688 : Skip non-audio media from MusicBrainz
...
Some releases have non-audio media, such as CD+DVD or CD+DVD-Video. Skip
these media when fetching album info as they will never match audio
tracks and will always report missing tracks.
I took the naive approach of cherry-picking a list of media suspected to
not contain audio from the MusicBrainz formats list:
https://musicbrainz.org/doc/Release/Format
2017-12-30 13:29:37 -08:00
tummychow
e848adab04
Implement from_scratch option
...
Fixes #934 , and also helps with #1173 .
2017-12-07 14:46:40 -05:00
Sebastian Reuße
c40ea4f22a
mediafile._safe_cast: be safer when converting to int
...
The regex «[\+-]?[0-9]*» possibly matches a single minus/plus, which would then
be passed on to int(), raising a ValueError from within _safe_cast. The test
suite covered this for float, but not for int.
We now make sure we actually have a number after the sign by using a Kleene
plus.
2017-11-19 09:21:07 +01:00
Meet Udeshi
70f0bc5b6c
Implement album merging for duplicates
...
Fixes #112
2017-11-01 02:00:48 +05:30
konman2
578143ae12
updated to pass pep8 checks
2017-10-07 21:28:33 -07:00
konman2
fdeef05cc9
clearart asks for permission before deleting embedded albumart
2017-10-07 20:42:01 -07:00