Commit graph

6487 commits

Author SHA1 Message Date
Adrian Sampson
9c8e726e4f bypass candidate selection if second-best choice is much worse than first choice 2010-06-02 23:57:16 -07:00
Adrian Sampson
ed51369dce track ordering now always uses bipartite matching algorithm, no longer assumes
current metadata to be correct if it's complete

Previously, we were using the Munkres algorithm (minimum bipartite matching) to
order tracks intelligently only as a fallback if the current metadata was
paradoxical or incomplete. This was because of a concern about the performance
of the potentially-O(n^3) Munkres solver. However, it was found that (a) the
performance is actually not bad, taking on the order of 0.02 to perform a
matching, and (b) there was no recourse for the tagger to reorder tracks that
were legitimately in the wrong order. Now, we get intelligent reordering of
badly tagged music even when the metadata seems to be complete.

To retain some of the functionality of the old orderer, the track distance
metric was expanded to include a component reflecting the track index.

In doing this, another bug was discovered in the UI that showed the track name
differences based on an arbitrary ordering. Now, the tag_album function returns
a reordered items list with every candidate.
2010-05-30 23:52:54 -07:00
Adrian Sampson
237ad69bf1 raise auto-accept and auto-select thresholds to 0.05 (from 0.00) and 0.2 (from
0.1)
2010-05-29 14:36:18 -07:00
Adrian Sampson
a3cada9807 void divide-by-zero when comparing two zero-length strings (!!! problem) 2010-05-28 19:17:47 -07:00
Adrian Sampson
0b2f203654 make "1" the default candidate selection 2010-05-28 18:20:45 -07:00
Adrian Sampson
53b8ae60db allow selection of [U]se as-is from "no match found" state 2010-05-28 18:16:54 -07:00
Adrian Sampson
e94e996bfa skip the "candidates" selection if there's only one choice 2010-05-28 17:57:45 -07:00
Adrian Sampson
fc36443ca4 add existing metadata printout before candidates listing 2010-05-28 17:50:25 -07:00
Adrian Sampson
d1a3311fdd deal with MusicBrainz 503 (server busy) errors by retrying a few times 2010-05-28 11:20:59 -07:00
Adrian Sampson
634690a811 change name of command-line tool to "beet"
--HG--
rename : bts => beet
2010-05-28 08:37:38 -07:00
Adrian Sampson
67c4ec9507 change to MIT license
--HG--
rename : COPYING.txt => LICENSE.txt
2010-05-28 00:07:11 -07:00
Adrian Sampson
47fe87e5f0 friendly error message when gstreamer isn't installed 2010-05-27 23:57:07 -07:00
Adrian Sampson
2c218bf360 added -d flag to bpd command controlling debug output 2010-05-27 23:35:23 -07:00
Adrian Sampson
4f4c05d783 changed default library path to ~/.beetsmusic.blb 2010-05-27 23:12:19 -07:00
Adrian Sampson
bded856140 -A flag for skipping autotag during import 2010-05-27 23:10:11 -07:00
Adrian Sampson
965a8357b3 add manual search fallback to autotag interface 2010-05-27 11:49:29 -07:00
Adrian Sampson
f793aa9061 "use as-is" fallback option for albums not in MusicBrainz 2010-05-27 10:06:20 -07:00
Adrian Sampson
27f561807a more consistency in tagging questions 2010-05-27 09:49:25 -07:00
Adrian Sampson
d5001413cc refactor CLI logic and interaction into beets.ui module 2010-05-26 22:37:07 -07:00
Adrian Sampson
be315b6f33 initial support for multiple autotag candidates 2010-05-25 21:26:12 -07:00
Adrian Sampson
ba6186c962 volume control for bpd 2010-05-24 23:05:50 -07:00
Adrian Sampson
d98ee6bfb5 better usage of ConfigParser; change config filename to .beetsconfig 2010-04-11 12:13:12 -07:00
Adrian Sampson
f6a0345786 intuitive field restrictions on text queries for browsing functions 2010-04-10 13:17:44 -07:00
Adrian Sampson
60e945a516 dedup query-joining code 2010-04-09 23:07:20 -07:00
Adrian Sampson
2281bcd4e5 added options for import: disable copying (-C) or tag-writing (-W) 2010-04-09 22:26:05 -07:00
Adrian Sampson
ddc4d188ea added "bts rm" for removing and deleting files 2010-04-09 21:00:21 -07:00
Adrian Sampson
6769c9b20d make sure pathnames are unicode everywhere 2010-04-09 15:52:31 -07:00
Adrian Sampson
107bf1bb5e CLI options for directory and path format 2010-04-09 15:20:53 -07:00
Adrian Sampson
bae5ca5d70 implement get() querying for device libraries 2010-04-06 17:49:19 -07:00
Adrian Sampson
cd9bb22270 merge in device branch (including BaseLibrary refactor) 2010-04-06 12:14:46 -07:00
Adrian Sampson
e1c1b1e038 fill out PodLibrary's implementation of the Library methods
--HG--
branch : device
2010-04-06 12:07:21 -07:00
Adrian Sampson
38801813be Item no longer retains a Library (changed constructors)
--HG--
branch : device
2010-04-06 11:45:31 -07:00
Adrian Sampson
68d43380b4 remove remaining library-interaction methods from Item
--HG--
branch : device
2010-04-06 11:36:00 -07:00
Adrian Sampson
628cfbffe2 Item.move() now takes a library as an argument
--HG--
branch : device
2010-04-06 11:18:41 -07:00
Adrian Sampson
c7f98ccde1 make the PodLibrary interface class more consistent; remove more back-references
from Item to Library

(including removing the delete() method, which was unused)

--HG--
branch : device
2010-04-06 11:07:57 -07:00
Adrian Sampson
4d1944f939 better names: add vs. add_path
--HG--
branch : device
2010-04-06 10:17:53 -07:00
Adrian Sampson
d3d485195c move destination calculation to Library from Item
--HG--
branch : device
2010-04-06 10:07:58 -07:00
Adrian Sampson
83d661152e moved library logic to the library: load, store, add, remove
--HG--
branch : device
2010-04-05 23:09:04 -07:00
Adrian Sampson
8e27693d2f create BaseLibrary class, which Library and PodLibrary extend
--HG--
branch : device
2010-04-05 21:50:40 -07:00
Adrian Sampson
4258474da8 reorganize gpod communication into PodLibrary class
--HG--
branch : device
2010-04-05 21:07:22 -07:00
Adrian Sampson
5402945866 use new API for modern eventlet versions (specifically 0.9.7) 2010-04-04 17:32:13 -07:00
Adrian Sampson
a6a232a6d4 more thorough conversion to Unicode for MPD protocol messaging 2010-04-04 16:49:28 -07:00
Adrian Sampson
b48bfe4bfa decode all arguments as UTF8; move a few other operations to Unicode
Fixes Unicode-related errors with gmpc and MPoD, but a more thorough conversion
to Unicode constants is needed.
2010-04-04 15:42:50 -07:00
Adrian Sampson
210d4f3af3 playing around with very basic iPod support
--HG--
branch : device
2010-04-04 15:20:40 -07:00
Adrian Sampson
ec861e499c better distance, multiple candidates, and distance threshold 2009-12-18 19:21:41 -08:00
Adrian Sampson
2af63ed803 fixed default file pattern (implicit extension) 2009-11-28 17:27:30 -08:00
Adrian Sampson
4280760191 truncate long filenames 2009-11-28 17:03:36 -08:00
Adrian Sampson
7a0b76e448 list albums with "ls -a" 2009-11-27 22:29:44 -08:00
Adrian Sampson
a348e19112 moved per-library settings to config file 2009-11-27 21:18:20 -08:00
Adrian Sampson
85b4d9a129 fixed handling of misnumbered tracks during ordering 2009-11-25 14:30:52 -08:00