Adrian Sampson
24471f2f69
Merge pull request #339 from KraYmer/lyrics-enh
...
lyrics: google backend should turn up (even) more results
2013-06-30 18:29:50 -07:00
Fabrice Laporte
995d75f3f3
Logging: remove match ratio, add source website name
2013-06-29 14:24:41 +02:00
Fabrice Laporte
9780be270c
Some tweaking to yield better results by not
...
rejecting valid lyrics.
2013-06-29 14:23:53 +02:00
Fabrice Laporte
c6f935ac4c
Don't consider text between parentheses when
...
matching url title with song title.
2013-06-29 14:21:55 +02:00
Adrian Sampson
649dcd760d
changelog for #335 , version bump
2013-06-26 22:03:02 -07:00
Adrian Sampson
3a20a83ad4
Merge pull request #335 from dsedivec/master
...
Send a plug-in event when file is moved
2013-06-26 21:59:16 -07:00
Dale Sedivec
0e994c2274
Add Item instance to item_moved event
...
This brings this plug-in event in to line with similar events.
2013-06-26 22:10:19 -05:00
Dale Sedivec
ee5b0d36c4
Document new plug-in event item_moved
2013-06-25 22:31:01 -05:00
Dale Sedivec
fe886d363a
Send a plug-in event when file is moved
...
I use this in one of my plug-ins to notice when I've moved all the audio
files in an album from one directory to another, at which point I move
any associated non-album files to the new directory and delete the old
directory.
2013-06-24 00:17:37 -05:00
Adrian Sampson
b1bb2e5c80
Added tag v1.2.1 for changeset bd7259ac13b5
2013-06-22 15:58:29 -07:00
Adrian Sampson
252b476f43
clean up changelog for release
2013-06-22 15:44:24 -07:00
Adrian Sampson
1649512b54
web: item_count -> stats ( #333 )
...
The new /stats endpoint now counts both items and albums. In the future, it
could also expose other interesting information.
2013-06-21 10:27:49 -07:00
Adrian Sampson
7053694893
Merge pull request #333 from xhochy/feature/trackcount
...
Expose number of item via the web API
2013-06-21 10:23:05 -07:00
Adrian Sampson
6f7d633564
changelog/docs for #332
2013-06-21 10:18:49 -07:00
Adrian Sampson
dfeee527e8
Merge pull request #332 from jhawthorn/disk
...
Add 'disk' spelling as a multidisc marker.
2013-06-21 10:16:01 -07:00
Uwe L. Korn
3fd78bd63d
[web] Add API method to get the total item count
2013-06-21 16:01:03 +02:00
Adrian Sampson
58bd8a9e24
docs: a note about albums and the update command
2013-06-15 22:49:14 -07:00
Adrian Sampson
4f9beb6543
changelog for py26 fixes
2013-06-14 13:09:54 -07:00
Pedro Silva
13dc28b349
Fix zero length field error under Python 2.6
...
* missing.py (_missing): add field indexes to format spec
* duplicates.py (commands): add field indexes to format spec
2013-06-14 13:59:14 +01:00
Adrian Sampson
d32e13a63e
show data URL for track matches
...
That should be the last one.
2013-06-12 16:42:15 -07:00
Adrian Sampson
829626d757
show penalties/disambig in track listing
...
This is the second step in bringing parity between the album and item
displays. Fortunately, we get to reuse most of the code.
2013-06-12 16:39:43 -07:00
Adrian Sampson
94aebd6bca
show penalties and disambig for tracks
...
This makes the UI for track match display match that for album display.
2013-06-12 16:31:42 -07:00
Adrian Sampson
0262803a40
add data_source, data_url to TrackInfo objects
...
The Beatport plugin now uses this to provide singleton matches (and their
appropriate penalty).
2013-06-12 16:19:30 -07:00
Adrian Sampson
4555d69803
random: py26 fix
2013-06-12 16:09:41 -07:00
Adrian Sampson
03a2bedac3
changelog for #325
2013-06-11 19:07:50 -07:00
Adrian Sampson
02c305e20c
Merge pull request #325 from KraYmer/master
...
lyrics: google backend should turn up more results
2013-06-11 18:56:38 -07:00
Fabrice L.
6c8f45c7f7
Update lyrics.py
2013-06-12 01:20:08 +03:00
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