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
Jayme
9ed6c671fa
Print number of tracks on disc to simplify the decision of switching to singleton mode
2013-05-06 18:55:06 +02:00
Lucas Duailibe
e72fcc4b68
Changing to some more meaningful names
2013-05-05 20:32:33 -03:00
Lucas Duailibe
c7f4b8a095
"Modify" for non-string values
...
Added the possibility to modify float, integer e bool values (using explicitly true/false)
2013-05-05 20:22:38 -03:00
Georges Dubus
bcae495c50
Added a -e option to random that makes the distribution even among artists
2013-05-03 18:19:44 +02:00
Michael Schuerig
ae807bccfc
Merge branch 'master' of git://github.com/sampsyo/beets
2013-05-01 14:07:05 +02:00
Adrian Sampson
9d6e25175e
Added tag v1.1.0 for changeset 97f04ce25233
2013-04-29 10:43:58 -07:00
Adrian Sampson
dd8d4c16cc
spell check
2013-04-29 10:23:21 -07:00
Adrian Sampson
a9d3ad65bf
changelog summary
2013-04-28 23:37:52 -07:00