Commit graph

769 commits

Author SHA1 Message Date
Adrian Sampson
9ee4adc5e1 move remaining generic Query types to dbcore.query
NumericQuery is still broken. This, of course, is the whole reason for the
change.
2014-01-20 16:40:50 -08:00
Adrian Sampson
77daa542c8 fix infinite-recursion regression in rewrite
Reported by axion on IRC.
2014-01-20 11:39:33 -08:00
Thomas Scholtes
a4b6976755 Make plugin path configuration useable 2014-01-20 17:39:46 +01:00
Adrian Sampson
3787b59430 changelog/thanks for #493 2014-01-14 13:04:56 -08:00
Stig Inge Lea Bjørnsen
6ed430d730 Send a plugin event when a file is copied.
I use this event in a plugin that needs to know which file outside the
library an item was copied from during import.
2014-01-14 21:53:12 +01:00
Adrian Sampson
3d5d071fe7 fix docs to refer to dbcore module 2014-01-13 17:25:07 -08:00
Adrian Sampson
f239489549 docs: remove outdated path_format config option
The example config contained a configuration key that's been unsupported for
years! How embarrassing.
2014-01-10 19:12:45 -08:00
Adrian Sampson
960e6b2593 changelog/thanks for #489 2014-01-09 22:30:46 -08:00
Adrian Sampson
ec77d92cf9 Merge pull request #489 from neomilium/master
events: add item_removed event
2014-01-09 22:28:53 -08:00
Romuald Conty
f0483ccd85 doc: add documentation about 'item_removed' event 2014-01-10 01:23:47 +00:00
Adrian Sampson
a046551304 handle some exceptions while writing during import
A few people get freaky crashes at this point, even though it theoretically
should be impossible (since reading the file succeeded earlier). This should
help the import process not croak at that point.
2014-01-09 12:07:08 -08:00
Adrian Sampson
1ad1f7634c py26 compatible format strings (fix #490) 2014-01-09 11:22:49 -08:00
Adrian Sampson
fe725fb9a9 changelog/thanks for #487 2014-01-05 13:34:13 -08:00
Adrian Sampson
806c6bf1fa Merge pull request #483 from yoasif/patch-1
Added instructions on how to run manually from CLI
2013-12-26 21:36:46 -08:00
yoasif
54a34a77f0 Slight grammar improvement 2013-12-26 23:58:09 -05:00
yoasif
8eb30f77f0 Added instructions on how to run manually from CLI 2013-12-26 23:54:33 -05:00
Adrian Sampson
cc5e3d489c item templates can use album flexattrs (fix #461) 2013-12-25 15:49:51 -08:00
Adrian Sampson
3e59c158ff enable queries over computed attributes
This makes containment (field in obj) work with all attributes even though
other dict-like methods for iterating over the object don't expose computed
fields by default. I think this is the right compromise to avoid accidental
eager evaluation of computed fields.
2013-12-24 15:30:39 -08:00
Adrian Sampson
b38812b452 collapse model base classes
The artificial separation was hurting legibility/maintainability more than it
was helping.
2013-12-24 15:20:52 -08:00
Adrian Sampson
aeb9afdbb5 1.3.2: finish up changelog 2013-12-22 16:17:02 -08:00
Adrian Sampson
f9b978a1c7 docs: link to mailing list, not me directly
It's about time for beets to "grow up" as an open-source project and to be
more owned by the community rather than just by me alone. Questions should go
to the hive mind. :)
2013-12-22 13:52:02 -08:00
Adrian Sampson
888f76a631 merge 2013-12-22 13:44:37 -08:00
Adrian Sampson
0852f8ff4a docs: "using plugins" section
Plugin pages can now link to :ref:`using-plugins` for instructions.
2013-12-22 13:41:41 -08:00
Adrian Sampson
638b2e3321 organize 1.3.2 changelog 2013-12-22 13:14:53 -08:00
Adrian Sampson
5d55c21c38 changelog for scrub mp4 fix 2013-12-22 12:49:06 -08:00
Adrian Sampson
3e1be1346a deprecate old echonest_tempo plugin 2013-12-18 16:26:29 -08:00
Adrian Sampson
a9b4169ee2 zero out month & day when missing from match 2013-12-18 16:20:40 -08:00
Adrian Sampson
3338ef2ff2 lastgenre: multiple + canonical genres (fix #478) 2013-12-17 17:29:37 -08:00
Adrian Sampson
19868946d5 mpdstats refactor: comments/credit 2013-12-12 15:47:26 -08:00
Adrian Sampson
15b6433db0 echonest: docs pass 2013-11-29 19:21:59 -08:00
Adrian Sampson
5e08c178e6 echonest: fix codegen/identify
I broke two things:
- forgot to return the fingerprint! oops
- need to handle raw Exception raised by pyechonest
2013-11-29 10:09:09 -08:00
Adrian Sampson
8f54b2ef3d sync docs with previous commit 2013-11-25 23:20:31 -08:00
Adrian Sampson
e475e40b41 docs proofreading 2013-11-25 23:02:01 -08:00
Adrian Sampson
cf3af711da replace: tolerate None replacements
Avoids confusion/traceback when you leave off the replacement string instead
of using ''.
2013-11-25 21:52:46 -08:00
Adrian Sampson
bc660ec47f clutter option: permit whitespace-separated 2013-11-25 21:37:47 -08:00
Adrian Sampson
38ecb35718 lyrics -f (#455, closes #414): style, changelog 2013-11-25 15:58:53 -08:00
Adrian Sampson
d7d1f1f78c changelog/thanks for 887e02c fix 2013-11-25 15:51:57 -08:00
Adrian Sampson
f98dde1b7e docs/changelog for write (#328, #448) 2013-11-25 15:34:11 -08:00
Adrian Sampson
6ee8bb8505 changelog reorganization 2013-11-25 15:08:53 -08:00
Adrian Sampson
8d06820d9a docs: flexattrs guide in "advanced" guide 2013-11-25 14:55:43 -08:00
Adrian Sampson
3a08b72eba new file format? file a bug
(as opposed to emailing me directly)
2013-11-25 14:45:47 -08:00
Adrian Sampson
81fddad7c3 docs: note about possible lagging packaged version
It's surprising how many Debian users don't realize they're looking at the
wrong version of the docs.
2013-11-25 14:42:40 -08:00
Pedro Silva
9b75db8326 merge Bitdemon-master
- minor style changes
- synchronize with documentation
2013-11-17 12:34:53 +01:00
Adrian Sampson
b266a2b182 changelog/thanks for #451 2013-11-07 10:39:06 -08:00
Adrian Sampson
3ccd231765 id3v23: remove one redundant case; changelog/thanks 2013-11-05 19:59:45 -08:00
Peter Schnebel
6e30af0adb added new plugin mpdstats to changelog 2013-11-04 11:04:46 +01:00
Adrian Sampson
5ba52d669e fix id3v23 tag writing
Fix due to Chris Cogburn on the mailing list.
2013-11-03 21:36:57 -08:00
Peter Schnebel
ea31a7ef2a moved 2013-11-01 22:09:05 +01:00
Peter Schnebel
6925a9d2a6 fixed formating 2013-11-01 22:08:57 +01:00
Peter Schnebel
2437ff5cc3 fixed formating 2013-11-01 22:08:23 +01:00
Peter Schnebel
ba419d503d fixed formating 2013-11-01 22:06:30 +01:00
Peter Schnebel
4e6a4316f5 fixed doc file name 2013-11-01 22:04:31 +01:00
Peter Schnebel
263da2bc52 too much text ... 2013-10-31 21:30:39 +01:00
Peter Schnebel
accaf5c21d update docs 2013-10-31 21:12:02 +01:00
Peter Schnebel
e4abf0af35 renaming mpc to mpdstats 2013-10-31 20:28:09 +01:00
Peter Schnebel
2bbf83e1a0 first draft for documentation 2013-10-31 17:10:25 +01:00
Peter Schnebel
0d2458cfb4 first draft for documentation 2013-10-31 17:07:47 +01:00
Peter Schnebel
a13832a562 Small correction and link to detailed information for the echonest plugin. 2013-10-27 11:14:54 +01:00
Peter Schnebel
479f92f250 Merge pull request #424 from pscn/echoplus
New plugin to fetch extended information from the EchoNest (call for feedback)
2013-10-27 03:10:29 -07:00
Peter Schnebel
e2a14985c9 added the echonest plugin 2013-10-27 11:08:42 +01:00
Peter Schnebel
8fca70a0be added the echonest plugin 2013-10-27 11:08:03 +01:00
Peter Schnebel
a45f8d6abf removed echonest_ prefix 2013-10-27 08:53:08 +01:00
Adrian Sampson
2481dc244b convert: iterate over the right items (fix #439) 2013-10-26 11:08:52 -07:00
Peter Schnebel
d9a1b81bff added echonest to the index 2013-10-26 13:57:20 +02:00
Peter Schnebel
a7eb1f0493 added partial documentation 2013-10-26 12:50:03 +02:00
Peter Schnebel
5dbb277b1a added partial documentation 2013-10-26 12:49:52 +02:00
Pedro Silva
1e737d146b Add new copy, move, delete, and tag options 2013-10-23 17:15:16 +02:00
Pedro Silva
3379c31f4f Add new option 'checksum' for specifying arbitrary checksumming commands 2013-10-23 01:32:05 +02:00
Pedro Silva
587de12ecc Default to match on mb_{track,album}id 2013-10-22 22:53:07 +02:00
Pedro Silva
7299ed24c6 Add vararg_callback utility function to beets.ui
Optparse doesn't support argparse nargs='+' style arguments.  This patch
adds a callback utility function that allows that idiom. The function is
taken from the page at
http://docs.python.org/2/library/optparse.html#callback-example-6-variable-arguments.

Here's an example of how to use it:

    from beets.ui import vararg_callback
    parser.add_option("-c", "--callback", dest="vararg_attr",
                      action="callback", callback=vararg_callback)
2013-10-22 18:11:24 +02:00
Pedro Silva
6ae10ed765 add 'keys' option to allow duplicate matching on arbitrary attributes
- towards addressing #427
- TODO: invert key list
- TODO: implement alternative strategies (fp, md5, etc)
2013-10-21 23:32:33 +02:00
Adrian Sampson
2bb2827a16 merge 2013-10-20 13:32:15 -07:00
Adrian Sampson
6ddb296c87 mediafile: add lower-case RG ID3 tags 2013-10-20 13:31:39 -07:00
Peter Schnebel
c82cd29081 requires 'self' 2013-10-18 14:10:16 +02:00
Peter Schnebel
840bf15e5b fixed typo 2013-10-18 12:52:22 +02:00
Peter Schnebel
332e8a2924 Revert "bugfix for too many upload retires + added comments"
This reverts commit 8700736020.
2013-10-18 00:17:40 +02:00
Peter Schnebel
8700736020 bugfix for too many upload retires + added comments 2013-10-18 00:12:16 +02:00
Peter Schnebel
185ef32551 removed duplicate 2013-10-17 23:39:59 +02:00
Adrian Sampson
3070ac382e lastgenre count/min_weight (#416): changelog/thanks
Also closes #407.
2013-10-17 12:07:31 -07:00
Adrian Sampson
f09bf57f6a Merge pull request #416 from pscn/master
Added min_weight option to lastgenre plugin, to provide for filtering out unpopular genres.
2013-10-17 12:00:35 -07:00
Adrian Sampson
526aa0f811 Beatport API closure (#423) 2013-10-17 11:55:00 -07:00
Peter Schnebel
6cb5e8064c make the doc 'clearer' 2013-10-17 09:57:56 +02:00
Peter Schnebel
b1570beba9 Merged the ``multiple` and `max_genres` option into one `count`` option.
Updated debug output to waste less lines.
2013-10-17 09:52:35 +02:00
Adrian Sampson
225c4ed41c changelog for #420 2013-10-16 21:55:51 -07:00
Peter Schnebel
c5896684f3 The following only applies when ``multiple`` is activated:
Return one valid genre even if its weight is lower then ```min_weight```.
Default for ```min_weight``` is now *10*.
Added new config option ```max_genres``` to limit the amount of genres returned.  Default is *3*.
2013-10-15 13:20:45 +02:00
Adrian Sampson
8e2c1bbe68 ftintitle: check artist_sort for null (fix #418) 2013-10-14 21:11:40 -07:00
Peter Schnebel
eafceaa0ed Added min_weight option to lastgenre, to provide for filtering out unpopulare genres. 2013-10-14 12:36:39 +02:00
Adrian Sampson
fac13a041e missing: tolerate disctotal == None
This problem:
http://pastebin.ca/2466454
is likely indicative of a bug elsewhere, but defensive coding seems like a
good idea here.
2013-10-13 18:22:43 -07:00
Adrian Sampson
f12d589e84 version bump: 1.3.2 2013-10-12 19:43:58 -07:00
Adrian Sampson
86fec680b6 add missing ftintitle docs 2013-10-12 19:35:17 -07:00
Adrian Sampson
5127d716d1 typo 2013-10-12 19:24:25 -07:00
Adrian Sampson
2b82d0d813 1.3.1: changelog summary & release date 2013-10-12 19:03:51 -07:00
Adrian Sampson
20bdffcbd6 API docs: slightly less skeletal 2013-10-09 01:09:02 -07:00
Adrian Sampson
d6dac1d35b scrub: no need to save after delete()
The delete() method on Mutagen objects writes the file directly. Calling
save() was unnecessary and, in at least one case we found, could inadvertently
preserve non-standard tags that Mutagen did not understand.
2013-10-08 14:49:29 -07:00
Adrian Sampson
c0c01b2680 id3v23 config option (fix #388) 2013-10-06 20:20:18 -07:00
Adrian Sampson
64dcd283f8 fix ihate docs example (fix #393) 2013-10-06 12:16:56 -07:00
Adrian Sampson
a6798f9ba3 #380: Template.safe_substitute
This way, you almost never need to use the $$ escape sequence.
2013-10-06 12:01:42 -07:00
Adrian Sampson
5e82b670f9 #380: shortcut/compatibility options
These config options make it easier to customize the command (no need to make
a single-element formats dict). And the opt config option provides backwards
compatibility with the previous style.
2013-10-06 11:57:32 -07:00
Adrian Sampson
d828d7aae4 #380: correctly skip no-op transcodes
The format key is now the (lower-cased) format name string used by beets,
which means we can precisely detect which transcodes would be unnecessary. To
facilitate this, I added an ALIASES dict which allows more convenient names to
work for this (e.g., "wma" is easier to remember than "windows media").
2013-10-06 11:21:56 -07:00
Adrian Sampson
2aebec0928 #397: shorter option name, docs, changlog
I changed the option name from "multiple_genres" to "multiple".
2013-10-06 10:34:32 -07:00