Commit graph

3221 commits

Author SHA1 Message Date
Ian Kelling
da3531bd34 Clarify debian/ubuntu pip installation. 2014-03-05 16:22:17 -08:00
Johannes
5716cd1024 Fix _safe_cast of ASFUnicodeAttribute
Fixes #578
2014-03-06 00:21:33 +00:00
Johannes
6f1d82909b Display MusicBrainz URLs
Closes #574
2014-03-05 23:30:51 +00:00
Bruno Tournay
ab513f7bc2 Add the ability to gather the result of ^Cveral queries into a smartplaylist 2014-03-05 21:40:24 +01:00
Thomas Scholtes
165c28e967 Raise configuration error if BEETSDIR is file 2014-03-04 17:29:14 +01:00
Thomas Scholtes
e916609eee Save import history only when path associated
Fixes #570
2014-03-04 17:12:42 +01:00
Pedro Silva
de213c2b96 fix #566: vararg_callback(): consume one less element 2014-03-04 00:29:36 +01:00
Thomas Scholtes
f33c0bceff Remove date packing and invert date dependency
Before, each year, month, and day field used packing to store its values in the
same tag but at different positions. We then instantiated a
`CompositeDateField` to combine the different values. This lead to code
duplication in the storage styles for these fields. It also inverted the data
dependency. It's more natural to think of year, month, and day as part of a
date then as of a date as composed of these.

Now, only `DateField` class stores data in the files tag. This makes sense: One
tag, one field that accesses it. To obtain access to the year, month, and day
parts, the DateField is equipped with factories that create `DateItemField`
instances associated to a `DateField`. These descriptor allow us to get and set
parts of a date field.
2014-03-03 00:02:42 +01:00
Thomas Scholtes
8a5a2fcebf Merge branch 'completion'
Conflicts:
	beets/ui/commands.py
	docs/reference/cli.rst
2014-03-02 23:06:05 +01:00
Adrian Sampson
a50aae769c changelog/thanks for #563 2014-03-02 13:39:28 -08:00
Pedro Silva
37ac63ccc6 remove debugging print statement inadvertently left from 6ef879f 2014-03-02 22:14:53 +01:00
Pedro Silva
6ef879ffec fix #563: split prog parts before formating in item's name 2014-03-02 22:08:45 +01:00
Thomas Scholtes
210592a06b Use _package path instead of resource_string 2014-03-02 21:11:57 +01:00
Pedro Silva
dc4624c1b3 specialize exception handling when doing checksums 2014-03-02 20:56:56 +01:00
Pedro Silva
5cc7cac2e7 clarify that keys are not necessarily mbids 2014-03-02 20:43:17 +01:00
Pedro Silva
6d283ecafa fix checksum problem where key was unintentionally hard-coded 2014-03-02 20:39:42 +01:00
Thomas Scholtes
c51e541ae2 Move completion_script into commands module 2014-03-02 19:59:35 +01:00
Adrian Sampson
bb6372abfd changelog/thanks for #562 2014-03-02 09:38:17 -08:00
Thomas Scholtes
44c843793b Add completion of plugin commands 2014-03-02 16:18:16 +01:00
Thomas Scholtes
25080bd59f Add documentation for completion command 2014-03-02 15:50:23 +01:00
Pedro Silva
bf7e04af0f fix #562: fail on empty code and handle analyze exceptions 2014-03-02 14:10:52 +01:00
Adrian Sampson
057ff66ad6 show_model_changes: special display for new fields
c.f. #560
2014-03-01 09:57:53 -08:00
Adrian Sampson
ecace62e14 changelog/thanks for #560 2014-03-01 09:55:04 -08:00
Adrian Sampson
e2908017a4 Merge pull request #560 from brilnius/fix_modify_with_new_field
Fixed ignored new fields when showing/detecting a model change
2014-03-01 09:50:29 -08:00
Bruno Tournay
8b35ec9d95 Fixed ignored new fields when showing/detecting a model change 2014-02-28 23:45:35 +01:00
Adrian Sampson
86bf8b65ba beet config (#552): show non-existent user path
This makes sure to print out the user's configuration path location even if no
user config file exists. (This makes "BEETSCONFIG=xxx beet config -p" behave
as expected, for instance.) It's a little hacky. Does the approach make sense
to you, @geigerzaehler?
2014-02-28 14:31:38 -08:00
Adrian Sampson
f0c0b5c54b config.dump: new approach to excluding defaults
This uses a lot less code (and actually works).
2014-02-28 10:40:35 -08:00
Adrian Sampson
26d9e0b7b7 config.dump: no filename parameter
It's bad style, in my opinion, to provide a file-writing option when the
client code could just as easily write the string to the file. (It implies
we're doing some sort of streaming, which we're obviously not.)
2014-02-28 09:50:08 -08:00
Adrian Sampson
3b2d51e018 backport YAML dumping from Confit (#552)
We actually added more full-blown YAML dumping to the Confit library a while
back but it looks like it never made it into beets. It offers a few benefits
over the hand-rolled flattening that the `config` command was previously
using, including printing ordered dicts in the right order. But it also
appears to have broken logic when attempting to hide defaults. I'll fix this
right quick.
2014-02-28 09:49:29 -08:00
Adrian Sampson
692645466e documentation expansion for config command (#552) 2014-02-28 09:31:10 -08:00
Thomas Scholtes
5c7104adb0 Print warning last 2014-02-28 17:15:04 +01:00
Thomas Scholtes
57f7fccdde Install bash-completion on travis 2014-02-28 16:57:22 +01:00
Thomas Scholtes
91bba13acb Changelog for config command 2014-02-28 16:53:19 +01:00
Thomas Scholtes
c345df9155 Merge branch 'config_command'
Conflicts:
	beets/ui/commands.py
	docs/reference/config.rst
	test/_common.py
2014-02-28 16:50:06 +01:00
Thomas Scholtes
8ffee6c027 Remove duplicate code 2014-02-28 15:19:51 +01:00
Thomas Scholtes
d3777745fc Extract slashed packing storage style 2014-02-28 15:19:21 +01:00
Thomas Scholtes
00903ed6c4 Extract tuple storage style 2014-02-28 15:00:10 +01:00
Thomas Scholtes
c51459b6ad Decouple StorageStyles and MediaFile
Storage styles interact only with Mutagen files—they don't need to know about
MediaFile. Also made some variable names more verbose.
2014-02-28 14:30:00 +01:00
Thomas Scholtes
4ca3c8764e Test mediafile with unicode strings 2014-02-28 14:04:41 +01:00
Adrian Sampson
cd7b74271a avoid repr() on paths in filesystem errors 2014-02-27 19:47:03 -08:00
Adrian Sampson
d9435552d3 changelog and style/docs for #527 2014-02-27 19:25:54 -08:00
Adrian Sampson
5ccd9674a6 Merge branch 'mediafile_multiple_values' of https://github.com/geigerzaehler/beets into geigerzaehler-mediafile_multiple_values
Conflicts:
	beets/mediafile.py
2014-02-27 19:12:53 -08:00
Thomas Scholtes
2b0929b71b Complete queries 2014-02-27 22:13:09 +01:00
Adrian Sampson
982ccce02e version bump: 1.3.4 2014-02-27 10:55:46 -08:00
Thomas Scholtes
74cb897f79 Add warning if completion package not found 2014-02-27 18:16:02 +01:00
Thomas Scholtes
8450d51bab bash-completion package can be set by environment 2014-02-27 17:57:02 +01:00
Thomas Scholtes
996a1d6c90 Use bash-completion package 2014-02-27 17:52:23 +01:00
Thomas Scholtes
211d3ac1cb Do not evaluate in subshell 2014-02-27 15:28:16 +01:00
Thomas Scholtes
81a28198aa Test completion with clean bash instance 2014-02-27 15:09:02 +01:00
Adrian Sampson
f9a820d303 summarize changelog for 1.3.3 release 2014-02-26 20:31:06 -08:00