Adrian Sampson
1c0a7af92d
Merge pull request #2922 from ilianaw/mbsync-events
...
Send albuminfo_received / trackinfo_received when running mbsync
2018-05-10 09:48:20 -04:00
vapniks
5b9cebe9a0
Use beet config -p to update BEETS_CONFIG
2018-05-10 13:06:31 +01:00
Bin Jin
69d6dfe097
mbsync: fix updating album with invalid first track MBID
...
MBID of recording could become invalid after merging. The existing
code always copies metadata from first track after updating. But for
albums with invalid track MBID that happens to be the first track,
MusicBrainz changes won't be applied to whole album, only whose
tracks with valid MBID. This is particularly annoying since those
changes are actually displayed for every `beet mbsync` run, but never
get applied.
Fix this issue by finding any track that get MusicBrainz updates, and
apply it to whole album.
2018-05-10 16:38:30 +08:00
Iliana Weller
d1d745a58e
Test {album,track}info_received sends in mbsync
2018-05-09 21:46:57 -07:00
Iliana Weller
fa4a18879f
Send event in hooks.{album,track}_for_mbid ( #2921 )
...
Send events from {album,track}_for_mbid, then remove the decorators from
{albums,tracks}_for_id so that duplicate events are not fired.
When moving to generators and decorators in autotag.hooks (#2249 ),
albuminfo_received and trackinfo_received stopped being sent from code
directly calling hooks.{album,track}_for_mbid. This is most visible when
trying to write a plugin to interact with mbsync, as the documentation
explicitly says it should work.
2018-05-09 21:46:53 -07:00
vapniks
7e0fbef9fe
Update _beet; incremental caching
...
Lots of changes to implement incremental caching scheme.
2018-05-09 21:25:40 +01:00
Adrian Sampson
63abe83a01
Merge pull request #2917 from jdetrey/fix/1234
...
mbsync: Map tracks using release track MBIDs instead of recording MBIDs
2018-05-09 11:38:33 -04:00
Jérémie Detrey
1b24d92db6
Add changelog entry for PR #2917 .
2018-05-09 10:36:06 +02:00
Adrian Sampson
f131c642fe
Merge pull request #2918 from jdetrey/pep8-naming
...
Fix coding style: `Shareable` is a metaclass.
2018-05-08 14:05:27 -04:00
Jérémie Detrey
5b8a8388aa
Fix coding style: Shareable is a metaclass.
2018-05-08 18:07:00 +02: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
3b03372502
mbsync: Use release-track-id to construct track mapping.
...
Fixes #1234 by following recording MBIDs changes.
2018-05-08 16:30:07 +02:00
Adrian Sampson
4f7c1c9bed
Merge pull request #2912 from rachmadaniHaryono/fix-lyric
...
fix list item remove error on lyric plugin
2018-05-02 22:07:18 -04:00
rachmadaniHaryono
2a9d485b83
new: doc: doc on fix
2018-05-03 09:57:54 +08:00
rachmadaniHaryono
e90a547642
chg: dev: fix list item remove error
2018-05-03 09:46:03 +08:00
Adrian Sampson
0712076612
Merge pull request #2893 from dbogdanov/discogs_original_year
...
Fetch original_year from master releases for Discogs (#1122 )
2018-05-02 17:03:52 -04:00
Dmitry Bogdanov
a840bc700b
Merge branch 'master' into discogs_original_year
2018-05-02 17:41:07 +02:00
Dmitry Bogdanov
a9834c1fb1
Add changes to changelog
2018-05-02 17:02:36 +02:00
Adrian Sampson
3373b090bd
Merge pull request #2896 from jdetrey/feature/406
...
Support `musicbrainz_releasetrackid`
2018-05-02 09:40:19 -04:00
Jérémie Detrey
f838dea08b
Fixed line too long.
2018-05-02 09:27:58 +02:00
Jérémie Detrey
dd467e41e4
Add support for musicbrainz_releasetrackid to changelog.
2018-05-02 09:21:03 +02:00
vapniks
209d281871
Update _beet to use zsh caching
...
Caching is now done with zsh builtin completion caching functions.
2018-05-01 21:58:11 +01: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
Adrian Sampson
965640859c
Merge pull request #1638 from jdetrey/master
...
Take the audio tracks in a data track into account.
2018-04-29 18:44:51 -04: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
708d1ab4fb
Merge branch 'master' of https://github.com/sampsyo/beets
2018-04-29 20:08:39 +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
f1d5c2f398
Fix #2537 : keyfinder uses imported_items()
2018-04-29 13:45:39 -04:00
Adrian Sampson
e8190b5c1a
Avoid a crash when mediums is none
2018-04-29 13:37:59 -04:00
Jérémie Detrey
c15f1ba877
Add the `data-track-list' feature to changelog.
2018-04-29 18:21:40 +02:00
Dmitry Bogdanov
6aba118e94
Fetch original_year from master releases for Discogs ( #1122 )
...
This adds an additional Discogs API call inside get_album_info().
Assume that original_year equals to year for releases without a
master release.
2018-04-29 18:18:15 +02:00
Jérémie Detrey
1a37db732e
More fitting name for total track count.
2018-04-29 18:00:36 +02:00
Jérémie Detrey
fda740ab47
Merge branch 'master' of https://github.com/sampsyo/beets
2018-04-29 15:42:42 +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
Dmitry Bogdanov
f9b6473893
Some more code style fixes
2018-04-28 19:03:32 +02:00
Dmitry Bogdanov
7ac2aff50c
Fix a few code style issues
2018-04-28 14:06:29 +02:00
Dmitry Bogdanov
8c42c458a7
Update changelog
2018-04-28 03:34:34 +02:00
Dmitry Bogdanov
0ea5882bc0
Better comments in code explaining Discogs track IDs ( #2336 )
2018-04-28 02:32:42 +02:00
Dmitry Bogdanov
09ee194142
Make Discogs medium indexing code easier to understand
2018-04-28 02:23:46 +02:00
Adrian Sampson
55e5e95afa
Merge branch 'master' of github.com:beetbox/beets
2018-04-27 17:36:10 -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
48140f11e7
Use releasegroup_id to store master release IDs from Discogs
...
Master releases roughly correspond to MusicBrainz' release groups.
It will be usefull to store master IDs, for example to retrieve
original release dates (#1122 ).
2018-04-27 21:56:51 +02:00
Dmitry Bogdanov
2e422122b3
Invent our own track IDs for Discogs
...
Discogs does not provide track IDs. As a workaround, invent our own
IDs by combining release ID with original track position strings
returned by Discogs (#2336 ).
2018-04-27 20:30:35 +02: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
Adrian Sampson
f3630a3210
Merge pull request #2888 from cgtobi/sonos
...
Add sonos updater plugin.
2018-04-20 09:04:18 -04:00
Tobias Sauerwein
8768e786af
Fix toctree.
2018-04-20 08:47:43 +02:00