Commit graph

5505 commits

Author SHA1 Message Date
Adrian Sampson
70b5a44ef4 Move query parsing to new dbcore.queryparse
Fix #649.
2014-05-24 17:07:18 -07:00
Adrian Sampson
95a036d510 Move implicit path query identification out (#649)
This is not the most elegant solution, but it does let us move most of the
query-parsing logic out of library.py. It would still be nice to get rid of
most of beets.library.get_query, but I don't yet know how to do that.
2014-05-24 16:52:16 -07:00
Thomas Scholtes
fe6c7819d3 More informative MediaFile exceptions
* Remove generic messages for `UnreadableFileError`. The class
  carries that information—so we see it if the exceptions crashes the
  program. If the exception is caught (in `library`, `importer`,
  and `autotag`) the type of the exceptions is logged.

* Attach file path to the exceptions. This allows us to determine
  the file that crashed the application.

See #788
2014-05-23 11:29:17 +02:00
Adrian Sampson
7339559359 Factor prefixes out of query parser (#649) 2014-05-22 22:27:24 -07:00
Adrian Sampson
1d8a4d0143 Changelog for #784 and #757 2014-05-22 08:37:08 -07:00
Adrian Sampson
a65ea653d5 Merge pull request #784 from ghedo/info_props
Print all readable fields in info plugin
2014-05-22 08:34:42 -07:00
Alessandro Ghedini
331674159b Print all readable fields in info plugin
This includes all audio properties (format, bit rate, channels, ...) too.
2014-05-22 16:43:59 +02:00
Thomas Scholtes
38f300248c Run replaced item query only once 2014-05-21 17:18:05 +02:00
Thomas Scholtes
180433e72c Convert path to bytestring
This is in line with `beets/library.py:336`. Closes #757
2014-05-21 17:16:40 +02:00
Thomas Scholtes
de08059da4 Fix replaced items in importer
Previously, `task.replaced_items[item]` was a `Result` instance.
This meant that iterating over these, in the plugin stage for
example, would fetch them from the database. But by then the
items had been replaced with the imported versions.

Now we instantiate the list of replaced items so that we always
get the same, old ones.
2014-05-21 11:58:18 +02:00
Adrian Sampson
b8143d2561 Changelog for #782 (fix #779) 2014-05-20 17:25:26 -07:00
Adrian Sampson
908584bde8 Revamp FormattedItemMapping
This subclass was not cleanly conforming to the Mapping abstract base. Now
we're in business -- the thing looks like a dict. Brought up by #782.
2014-05-20 16:24:40 -07:00
Adrian Sampson
452382bffa Merge pull request #782 from PierreRust/fixRemoveFlexAttr
Fix remove flex attr
2014-05-20 16:00:00 -07:00
Pierre Rust
4aa626d263 Add defaut value to formatted mapping dict.
This mimics dict get method behavior.
2014-05-21 00:01:20 +02:00
Pierre Rust
9901d6a4eb Add Test case for flexattr removal (#779) 2014-05-20 23:55:42 +02:00
Adrian Sampson
e41ae47ebf Changelog for #767 2014-05-18 15:35:37 -07:00
Adrian Sampson
3d12508cc1 Fix default config (#767) 2014-05-18 15:31:56 -07:00
Adrian Sampson
2b227f57f8 Undo variable name obfuscation (#767) 2014-05-18 15:22:10 -07:00
Adrian Sampson
9ec26f7402 Merge pull request #767 from ghedo/play_cmd
Support commands with options in play plugin
2014-05-18 15:21:09 -07:00
Adrian Sampson
943cbe0838 MediaFile: allow setting date fields to None 2014-05-18 15:14:36 -07:00
Adrian Sampson
dfa8445980 Style and wording for Google Images (#766) 2014-05-17 22:10:39 -07:00
Adrian Sampson
7f675dbf64 Merge branch 'Lemutar-master' 2014-05-17 22:02:09 -07:00
Adrian Sampson
79aef50c25 AIFF support (fix #250)
Thanks to @EvanPurkhiser, AIFF is now supported in Mutagen 1.23! Now we can
support it too.
2014-05-17 21:13:40 -07:00
Adrian Sampson
48ee713584 MediaFile: fix deletion of FLAC image fields
This was a no-op before but raises an exception on Mutagen 1.23. This fixes
the behavior (I'm not sure if we were using it anywhere) and the failing test.
2014-05-17 13:30:58 -07:00
Adrian Sampson
32a3da5961 Clarify dependencies for RG GStreamer backend 2014-05-17 13:21:55 -07:00
Adrian Sampson
9bf4a69c85 Merge pull request #775 from rafi/patch-1
Clarifying ImportFeeds' `dir` parameter
2014-05-16 10:32:32 -07:00
Rafael Bodill
294eefab00 Clarifying ImportFeeds' dir parameter 2014-05-16 16:52:23 +03:00
Lemutar
c890384215 add a test, replace urllibs , update help 2014-05-16 10:56:55 +02:00
Stig Inge Lea Bjørnsen
5d7c78c219 Minor correction in the documentation for date queries. 2014-05-15 20:06:25 +02:00
Alessandro Ghedini
cff45bbf99 Add multi-option command example to the play plugin documentation 2014-05-15 11:07:58 +02:00
Alessandro Ghedini
0f20651f8b Support commands with options in play plugin
This adds support for specifying additional options in the command config value
for the play plugin. Example:

play:
    command: /usr/bin/command --option1 --option2 some_other_option
2014-05-15 11:07:58 +02:00
Lemutar
eb8048f54d add picture fetch over for google search 2014-05-14 21:23:28 +00:00
Adrian Sampson
7cf6491a65 Changelog for #520 2014-05-13 21:55:22 -07:00
Adrian Sampson
12ea97cabd Merge pull request #520 from silb/importmtimes_plugin
Add a plugin for preserving file modification times during copy imports.
2014-05-13 21:53:47 -07:00
Stig Inge Lea Bjørnsen
e800c9cc62 Plugin rename importmtimes -> importadded.
This includes some minor changes to the documentation.
2014-05-14 00:05:44 +02:00
Stig Inge Lea Bjørnsen
34c256925e Fix style errors reported by Flake8. 2014-05-14 00:05:44 +02:00
Stig Inge Lea Bjørnsen
f8abd50090 Only delete album item mtimes that are in the dictionary. 2014-05-14 00:05:44 +02:00
Stig Inge Lea Bjørnsen
94aad7e309 Record mtimes instead of pre-import paths.
This adds support for move imports.

Item and file mtime preservation is now configurable and disabled by
default.
2014-05-14 00:05:44 +02:00
Stig Inge Lea Bjørnsen
0bf4222947 Add importmtimes plugin for preserving file mtimes during copy imports.
File modification times are stored as item.mtime, item.added and
album.added.
2014-05-14 00:05:44 +02:00
Adrian Sampson
a19e3f30b6 Back out a changelog entry
I usually don't add changelog bullets for project metadata---maybe this is
misguided, but it's nice to have everything be relevant to how beets itself
works so the changelog doesn't get too boring. I also don't list documentation
improvements, for example.
2014-05-13 10:17:44 -07:00
Stanislav Ochotnicky
395540f0cd [setup.py] Update optional plugin dependencies
echonest and mpdstats plugins need pyechonest and python-mpd respectively so
let's list them properly
2014-05-13 19:11:53 +02:00
Adrian Sampson
a8d3fd25b6 Changelog for #743: web display fixes
Closes #345. Fixes #741.
2014-05-12 22:45:21 -07:00
Adrian Sampson
5a1fa9e3f1 Merge pull request #743 from udiboy1209/master
Fix web plugin scroll and lyrics newline bug
2014-05-12 22:43:11 -07:00
udiboy1209
ac7646f0f4 Fix alignment of play button with logo 2014-05-11 19:21:50 +05:30
Adrian Sampson
1a25561907 Version bump: 1.3.7 2014-05-10 18:18:24 -07:00
Adrian Sampson
55e55a2065 Finalize changelog for 1.3.6 release 2014-05-10 18:12:25 -07:00
Adrian Sampson
40e1475a87 Release script: publish command 2014-05-10 17:57:23 -07:00
Adrian Sampson
06ab0ec2e2 Tiny wording tweaks for #754 2014-05-10 17:19:04 -07:00
Adrian Sampson
7310f6e945 Documentation tweaks for bucket (#747) 2014-05-10 17:14:35 -07:00
Adrian Sampson
74048d17e7 Merge branch 'master' of github.com:sampsyo/beets
Conflicts:
	docs/changelog.rst
2014-05-10 16:44:18 -07:00