Fabrice Laporte
a64d277bae
Merge branch 'master' of https://github.com/sampsyo/beets
2013-06-12 00:09:44 +02:00
Fabrice Laporte
b3747189e5
lyrics: google backend should turn up more results
...
bs4 scraping routine has been made more generic,
relying less on specific markup tags.
Better algorithm to detect which url titles match
song titles: domain names are now removed from url
titles.
Use regex to decimate \n in fetched lyrics.
2013-06-12 00:07:01 +02:00
Adrian Sampson
2f053b0ecd
scrub: handle IOError
...
Mutagen can raise this error when trying to truncate a file.
2013-06-10 16:06:43 -07:00
Adrian Sampson
b1ea90a724
don't duplicate penalty names in max_rec section
...
This is for maintanability: in the future, when we add new distance penalty
components, now we won't have to list them twice in the default config.
2013-06-10 15:59:41 -07:00
Adrian Sampson
82991ce614
documentation enhancements for new config opts
2013-06-10 15:53:06 -07:00
Adrian Sampson
5c4b17685e
parameter name change
2013-06-10 15:45:22 -07:00
Adrian Sampson
7983c94ef8
add keys() method to Distance
2013-06-10 15:40:51 -07:00
Adrian Sampson
33ff001d0a
move track length params out of weights section
...
These aren't really weights, so I'm moving them out of "distance_weights".
2013-06-10 15:35:05 -07:00
Adrian Sampson
c818663539
replace Distance.sorted() with .items()
...
This is an effort to make the distance object feel slightly more dict-like.
The name changed and order of tuples is reversed: we now yield (key, value)
instead of (value, key), which I think is a little more intuitive.
2013-06-10 15:31:25 -07:00
Adrian Sampson
c85e43ee2a
finish removing setUp from DistanceTest
...
I had to do this for the tests that use the config, so I thought I might as
well finish the job.
2013-06-10 15:24:25 -07:00
Adrian Sampson
f6faf72328
move Distance class to hooks module
2013-06-10 15:21:32 -07:00
Fabrice Laporte
7f62db7327
Merge branch 'master' of https://github.com/sampsyo/beets
2013-06-08 16:36:56 +02:00
Adrian Sampson
d1ebe423c9
changelog/thanks/style for #319
2013-06-07 20:53:53 -07:00
Adrian Sampson
ac9e5b2054
Merge pull request #319 from tima/beatport-ms
...
Fix bug where a null value for lengthMS would crash an import. Added a fallback to parse the standard min:sec length field.
2013-06-07 20:50:16 -07:00
Timothy Appnel
847edcd6cc
Fix bug where a null value for lengthMS would crash an import. Added a fallback to parse the standard min:sec length field.
2013-06-07 23:43:21 -04:00
Adrian Sampson
6baaa7e06e
Changelog for migration fix ( #317 )
...
Eventually, we should just remove the migration code. Not sure when, however.
2013-06-07 11:59:08 -06:00
Adrian Sampson
8fb5e730c1
Merge pull request #317 from parapente/master
...
Don't rename the config file if there is nothing to migrate from
2013-06-07 10:51:22 -07:00
Theofilos Intzoglou
5015f6a21d
Don't rename the config file if there is nothing to migrate from
2013-06-07 19:09:33 +03:00
Tai Lee
42efd2a761
Change log for #316 and code style tweaks.
2013-06-08 00:32:40 +10:00
Wessie
0009c51577
Made formatting strings compatible with python 2.6
...
Also fixed styling according to pep8
2013-06-07 15:58:36 +02:00
Adrian Sampson
884c596f46
clarify changelog for distance refactor ( #302 )
2013-06-06 10:44:30 -07:00
Adrian Sampson
1eb588f743
use equality for media comparisons again
2013-06-06 10:35:29 -07:00
Adrian Sampson
fa40fd9108
beatport: use new Distance objects ( #302 )
...
This also brought to light the fact that the distance calculations for tracks
was incorrect because there's no source field on TrackInfo objects yet. This
needs to be fixed.
2013-06-06 10:34:20 -07:00
Adrian Sampson
e3472a5150
move changelog for #302 to 1.2.1 section
2013-06-06 10:23:18 -07:00
Adrian Sampson
40dadd4c59
Merge pull request #302 from mrmachine/distance-refactor
...
Use a Distance object instead of floats for distance calculations.
2013-06-06 10:18:09 -07:00
Adrian Sampson
daec2e6806
version bump: 1.2.1
2013-06-06 10:17:46 -07:00
Tai Lee
4cfd1a874f
Merge branch 'master' of github.com:sampsyo/beets into distance-refactor
...
Conflicts:
beets/autotag/match.py
beets/config_default.yaml
docs/changelog.rst
docs/reference/config.rst
2013-06-06 23:28:25 +10:00
Adrian Sampson
31d1d90e4c
Added tag v1.2.0 for changeset ecff182221ec
2013-06-05 21:58:08 -07:00
Adrian Sampson
c5e8e7b52d
oops! forgot release date
2013-06-05 21:58:04 -07:00
Adrian Sampson
d21a6aad83
Added tag v1.2.0 for changeset b3f7b5267a2f
2013-06-05 21:52:26 -07:00
Adrian Sampson
90873af0be
media comparison: lower-case both sides
2013-06-05 20:57:27 -07:00
Adrian Sampson
e04cb6f548
media field distance: binary, not string diff
2013-06-05 20:06:49 -07:00
Adrian Sampson
78187cfcba
preferred_media: null default, expand docs
...
Setting the default preferred_media to null is more like previous versions.
This way, as digital becomes more popular, we aren't stuck with a default
configuration that prefers an outdated format.
2013-06-05 20:00:17 -07:00
Adrian Sampson
11e8c3e784
mpdupdate domain sockets ( #313 ): changelog/docs
2013-06-05 18:43:47 -07:00
Adrian Sampson
d352720096
Merge pull request #313 from jhawthorn/mpdupdate_unix
...
mpdupdate: Allow UNIX domain socket for MPD server
2013-06-05 18:39:45 -07:00
Tai Lee
898254ed6a
Merge branch 'master' into distance-refactor
...
Conflicts:
docs/changelog.rst
2013-06-06 11:09:36 +10:00
Tai Lee
c1ebae83bc
Decouple color_diff() UI function from string_dist() matcher function.
...
These are separate issues. We're still colorising case changes in light gray
because these characters are effectively equivalent, but symbol and
transliteration edits will continue to be colorised in red.
2013-06-06 10:44:24 +10:00
Tai Lee
5ce996df0d
Revert "Don't bypass candidate selection in timid mode. Always show all candidates."
...
This reverts commit b02974f68f .
2013-06-06 10:18:01 +10:00
Tai Lee
ea1becfea1
Add Distance.__iter__() and Distance.__len__(), for convenience.
2013-06-06 09:51:17 +10:00
Adrian Sampson
9542a292ed
write more connective text in changelog
2013-06-05 15:51:19 -07:00
Adrian Sampson
7fca25fba6
1.1.1 -> 1.2.0
2013-06-05 15:21:43 -07:00
Adrian Sampson
1364e6ba37
organize 1.1.1 changelog into sections
2013-06-05 15:20:36 -07:00
John Hawthorn
1bf8ae0a01
mpdupdate: Allow UNIX domain socket for MPD server
...
If the host configuration begins with a '/', it is assumed to reference
a UNIX domain socket. This is similar to libmpdclient's behaviour.
2013-06-05 13:20:27 -07:00
Adrian Sampson
dfda5a311d
beatport ( #301 ): more Unicode literals
...
Avoids warnings in the unidecode module.
2013-06-03 14:06:51 -07:00
Adrian Sampson
975f5bd818
changelog/doc links for Beatport plugin ( #301 )
2013-06-03 14:01:16 -07:00
Adrian Sampson
dc75935b89
Merge pull request #301 from jbaiter/beatport
...
Plugin for Beatport Metadata in Autotagger
2013-06-03 13:53:05 -07:00
Adrian Sampson
4e016f1913
fix MediaFile exception test
2013-06-03 13:39:52 -07:00
Adrian Sampson
c276cfecc9
mediafile: pass through base IOErrors
...
This also tries to be a bit more thorough about capturing all the
Mutagen-originated exceptions.
2013-06-03 12:11:28 -07:00
Adrian Sampson
e093d76e21
handle FLACVorbisError exceptions from Mutagen
2013-06-03 12:01:06 -07:00
Adrian Sampson
7c430a791c
possibly fix error for some Mutagen exceptions
2013-06-03 10:06:54 -07:00