Commit Graph
2939 Commits
Author SHA1 Message Date
Adrian Sampson a6ca63d67c bash completion (#553): expand docs 2014-03-07 15:03:30 -08:00
Adrian Sampson 606444049e tiny style cleanups in built-in commands 2014-03-07 14:48:47 -08:00
Adrian Sampson fc8325753c skip completion test if script not found 2014-03-07 14:46:09 -08:00
Adrian Sampson ab8d008049 use OrQuery for smartplaylist (#575) 2014-03-07 14:38:40 -08:00
Adrian Sampson f06a16819f spl mutli-query (#575): remove option, changelog 2014-03-07 14:26:49 -08:00
Adrian Sampson f9b9ab5db8 Merge branch 'spl_multi_query' of https://github.com/brilnius/beets into brilnius-spl_multi_query 2014-03-07 14:22:38 -08:00
Thomas Scholtes 0832b9b346 Move mediafile cast logic to storage style
StorageStyle.get should return a python builtin type.
This amends 5716cd1024
2014-03-07 16:32:21 +01:00
geigerzaehler c654df9422 Merge pull request #564 from geigerzaehler/mediafile-date
Remove date packing and invert date dependency
2014-03-07 12:11:21 +01:00
Adrian Sampson 3556356f03 Merge pull request #580 from ian-kelling/master
Clarify debian/ubuntu pip installation.
2014-03-06 11:35:13 -08:00
Adrian Sampson c62277134e changelog for #579/#578 2014-03-06 11:23:00 -08:00
Adrian Sampson 71e1f00d03 use travis_retry with apt-get commands
Avoid spurious failures on connectivity issues.
2014-03-06 11:06:56 -08:00
Adrian Sampson b8af77bdea changelog (& tiny tweak) for #567 2014-03-06 11:03:41 -08:00
Adrian Sampson f71307f87e changelog for #570 2014-03-06 11:00:00 -08:00
Adrian Sampson 4e89bf215c add link to Slackware SlackBuild 2014-03-06 10:56:55 -08:00
Adrian Sampson 26c2fa7fd0 changelog/thanks for #577 2014-03-06 10:45:03 -08:00
Adrian Sampson 5e51b1a60d Merge pull request #577 from johtso/show-musicbrainz-urls
Display MusicBrainz URLs
2014-03-06 10:43:51 -08:00
geigerzaehler 69cb44003e Merge pull request #579 from johtso/fix-safe-case-asfunicodeattribute
Fix _safe_cast of ASFUnicodeAttribute
2014-03-06 11:20:16 +01:00
Thomas Scholtes a47f3f0a2e Add suite function to config command test module
This makes `python setup.py test` work again and fixes #576
2014-03-06 11:13:24 +01:00
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