Adrian Sampson
1ffc56b85a
doc correction and refactoring for #275
...
Plugin-provided template fields are not available for queries. (Perhaps they
should be, though!)
2013-05-17 12:07:53 -07:00
Adrian Sampson
a6a0256bf9
Merge pull request #276 from pedros/missing
...
Use newly defined '$missing' template field instead of hardcoded format (-c)
2013-05-17 11:57:12 -07:00
Adrian Sampson
916ceb4b15
changelog and tweaks for #275
...
I've removed the -p option. The command now always shows plugin-provided
template fields if any are available. We also avoid printing out blank lines
for plugins that don't provide fields.
2013-05-17 11:55:17 -07:00
Adrian Sampson
22044eacac
Merge pull request #275 from pedros/show_plugin_fields
...
Append plugin template fields to 'beet fields' output with -p, --plugins
2013-05-17 11:46:17 -07:00
Adrian Sampson
b8f651fa1a
changelog/API docs for #274
2013-05-17 11:44:35 -07:00
Adrian Sampson
05cfbdcd0b
Merge pull request #274 from pedros/album_template_fields
...
Perform template field substitution on albums
2013-05-17 11:40:46 -07:00
Pedro Silva
7031c15418
Initial import of 'duplicates' plugin
2013-05-17 12:47:34 +01:00
Adrian Sampson
3126ce697c
require py-mb-ngs 0.4
...
The MusicBrainz search API changed. This version fixes compatibility with
that, so changing our dependency version will make users upgrade automatically
when upgrading to 1.1.1.
2013-05-15 15:02:54 -07:00
Pedro Silva
a48fde9f2c
Use newly defined '$missing' template field instead of hardcoded format (-c)
2013-05-15 15:09:00 +01:00
Pedro Silva
4f5faeccac
Append plugin template fields to 'beet fields' output with -p, --plugins
2013-05-15 13:41:54 +01:00
Pedro Silva
106ad99556
Perform template field substitution on albums
...
- adds another traversal through all plugins' template_fields for each
'evaluate_template' call.
- requires the following idiom (or equivalent):
@Plugin.template_field(field')
def _tmpl_field(album):
"""Return stuff.
"""
if isinstance(album, Album):
return stuff
2013-05-15 13:05:55 +01:00
Adrian Sampson
9dd5e84c60
^C dumps a stack trace in verbose mode
2013-05-12 13:06:41 -07:00
Adrian Sampson
a0ef886801
lyrics: substitute more punctuation ( fixes #270 )
2013-05-12 12:45:49 -07:00
Adrian Sampson
a5cb34360d
lyrics: fix encoding for Lyrics.com
2013-05-12 12:38:48 -07:00
Adrian Sampson
c1815a5d72
FIELDS lists use real types instead of SQL strings
...
This should enable some useful simplifications down the road.
2013-05-11 16:41:04 -07:00
Adrian Sampson
056cf932d8
docs/changelog for date added ( #264 )
2013-05-11 13:31:42 -07:00
Adrian Sampson
6f77169ad2
itime ( #264 ): name change
...
I changed the "itime" field to "added" and the %format function to %time.
2013-05-11 13:24:23 -07:00
Adrian Sampson
4704c4a3c8
simplify album-adding by marking itime as album
...
Since both albums and items have an itime field, I'm putting itime into
ALBUM_KEYS_ITEM. This simplifies a lot of handling code. It also will make the
item and album itimes synchronize at some points, which is probably fine -- I
can't see a major use case for maintaining separate added dates for an album
and its tracks.
2013-05-11 13:20:04 -07:00
Adrian Sampson
8806f2d02b
remove a stray constant
2013-05-11 13:11:42 -07:00
Adrian Sampson
4904106a72
config option for time format string
2013-05-11 13:10:31 -07:00
Adrian Sampson
24c90b565a
move time formatting to format_for_path
...
This is where field value transformations belong.
2013-05-11 13:06:24 -07:00
Adrian Sampson
dd00fe0cff
fix stray character and tweak whitespace
2013-05-11 12:54:53 -07:00
Adrian Sampson
cb8195fe2b
Merge pull request #264 from duailibe/master
...
Adding support for the "Date added field"
2013-05-11 12:52:18 -07:00
Lucas Duailibe
c7c2b266cd
correcting identation
2013-05-11 10:58:19 -03:00
Lucas Duailibe
4d5773c195
Support for date/time fields
2013-05-11 10:53:43 -03:00
Lucas Duailibe
5c31d3ac15
Formatting the import time in the view and paths
...
Added the %format{} template function to output the time to any format supported by time.strftime()
2013-05-11 10:53:43 -03:00
Lucas Duailibe
0a631bcda2
Using time.time() to store the import time
2013-05-11 10:53:43 -03:00
Lucas Duailibe
d907dd6b40
Preliminary support for "date added" fields
...
This isn't yet finished, it needs some input on how to organize the data, and actually where to implement the use of this data, but it already works in setting the date
2013-05-11 10:53:43 -03:00
Adrian Sampson
f086fb6fd7
changelog, little style tweak for #272
...
Changed single-triple quotes to double-triple quotes, just for consistency
with the rest of the codebase.
2013-05-10 22:23:24 -07:00
Adrian Sampson
e1f7027abc
Merge branch 'missing' of https://github.com/pedros/beets
...
Conflicts:
docs/plugins/index.rst
2013-05-10 22:08:15 -07:00
Pedro Silva
b2d8f04f05
Modify "not part of beets" to "part of beets"
2013-05-10 16:50:34 +01:00
Pedro Silva
99355e60d4
Synchronize documentation with new parameters and respective behavior
2013-05-10 16:43:36 +01:00
Pedro Silva
763cfa06b4
Don't check for item.paths == None as that can't happen
2013-05-10 16:43:17 +01:00
Pedro Silva
d32a3ef9b5
Implement logic for displaying missing track counts
2013-05-10 16:42:45 +01:00
Pedro Silva
69877f2013
Add 'count' and 'total' parameters
...
- count: count missing tracks per album
- total: count total missing tracks
2013-05-10 16:42:10 +01:00
Pedro Silva
bed7c5ae88
Add _missing_count function
2013-05-10 16:41:04 +01:00
Pedro Silva
abe12be4b2
Remove unneeded Library argument from _missing
2013-05-10 16:06:30 +01:00
Pedro Silva
18e2704ffb
Remove unnecessary _format function
2013-05-10 14:23:32 +01:00
Pedro Silva
6ac86f9f4a
Add documentation for missing tracks plugin
...
Also add link to the documentation plugin to the index
2013-05-10 14:14:58 +01:00
Pedro Silva
6ae73bc921
Initial import of missing tracks plugin
...
This plugin adds a new command, ``missing`` or ``miss``, which finds
and lists, for every album in your collection, which tracks are
missing.
2013-05-10 14:13:53 +01:00
Adrian Sampson
cc13edf49f
changelog/docs for range queries #261
2013-05-09 16:13:22 -07:00
Adrian Sampson
8781433f59
add tests for matching floating-point ranges
2013-05-09 15:49:38 -07:00
Adrian Sampson
ea0928c845
generalize YearQuery to NumericQuery
2013-05-09 15:47:25 -07:00
Adrian Sampson
0f06c79991
Merge pull request #261 from mschuerig/master
...
Support for year queries with ranges
2013-05-09 15:00:49 -07:00
Adrian Sampson
b57193fd6c
changelog/thanks for #265
2013-05-08 22:58:01 -07:00
Adrian Sampson
ba288ce604
move type conversion to commands module ( #265 )
...
This change also uses the existing str2bool utility function.
2013-05-08 22:56:27 -07:00
Adrian Sampson
bc5e045592
Merge pull request #265 from duailibe/modify
...
"Modify" for non-string values
2013-05-08 22:38:25 -07:00
Adrian Sampson
8d0449c23d
rewrap and changelog note for #267
2013-05-08 22:31:53 -07:00
Adrian Sampson
9d73c3111a
Merge pull request #267 from jayme-github/album_itemcount
...
Print number of tracks when importing
2013-05-08 22:29:30 -07:00
Adrian Sampson
12be4f23b0
version bump: 1.1.1
2013-05-08 22:28:35 -07:00