Commit graph

2713 commits

Author SHA1 Message Date
Adrian Sampson
8fad15263b reorganize default template functions into class
Using a class wrapper allows additional context to be provided to the functions.
Namely, we can now provide the Item itself to the function, so %foo{} could
conceivably do something useful even without arguments. This will be used for
the upcoming %unique function.
2012-03-22 17:08:22 -07:00
Adrian Sampson
22e8695172 BPD: use playbin2 instead of playbin (#364) 2012-03-21 14:25:01 -07:00
Philippe Mongeau
bdef5ef152 add random plugin 2012-03-20 22:10:43 -04:00
Adrian Sampson
c7840bbbf0 docs/changelog for duplicate resolution (#164) 2012-03-20 14:36:11 -07:00
Adrian Sampson
24cdf2a72e duplicate trumping: remove items & delete files
Based on the "remove_duplicates" flag on ImportTask, the apply_choices coroutine
now looks for duplicates (using an extended version of the _duplicate_check
functions) and removes items from the library. It also *deletes* files
associated with those items when they are located inside the beets library
directory. Files outside of the directory are left on disk (but their DB entry
is still removed). This should "do the right thing" in most cases -- again, this
is something we can add a config option for if it comes up.
2012-03-20 14:23:44 -07:00
Adrian Sampson
34ec25e642 appropriate logging for duplicate resolution 2012-03-20 13:13:52 -07:00
Adrian Sampson
71762375c9 skip duplicate prompt in quiet mode
In quiet mode, duplicates are skipped. We can add a new config option if people
really want to customize this.
2012-03-20 13:02:02 -07:00
Adrian Sampson
ced4e1ace8 duplicate resolution prompt (#164)
"Skip" and "keep both" work already, but "remove old" does not. It sets a flag
on the import task object; this flag should then be read by the apply_choices
coroutine, where appropriate action should be taken as part of the same
transaction that adds stuff to the DB.

Unresolved questions:
- Should old files be deleted? (How is this decided? Based on config parameters,
  or with another prompt option?)
- Logging details.
- Folder naming. If I have two albums with the same name, I want them in
  different directories.
- Quiet mode. Currently, there are no checks -- the prompt should not be made in
  quiet mode. (In that case, what should it do?)
2012-03-19 15:46:05 -07:00
Adrian Sampson
19b08f8e99 duplicate resolution callback function (#164) 2012-03-19 15:32:53 -07:00
Adrian Sampson
6bfbb899bc docs: more readable list of included plugins 2012-03-18 16:58:02 -07:00
Adrian Sampson
af0da7d1b6 m3uupdate docs, changelog, and cleanup (#23) 2012-03-18 16:42:12 -07:00
Adrian Sampson
c989ddc731 Merge pull request #23 from KraYmer/master
m3uupdate plugin
2012-03-18 16:06:54 -07:00
Adrian Sampson
99e0edd3a1 Travis CI: only 2.7 until tests fixed; plugin deps 2012-03-18 15:13:08 -07:00
Adrian Sampson
fca346c5d7 add Travis CI configuration 2012-03-18 15:02:24 -07:00
Adrian Sampson
c0c80cd576 docs typo: missing $ in path formats 2012-03-17 12:28:27 -07:00
Adrian Sampson
aa36fa288c version bump: b14 2012-03-17 12:03:28 -07:00
kraymer
f670fc87ab add 'm3uupdate' plugin 2012-03-17 12:12:12 +01:00
Adrian Sampson
5ddb9ebc95 Added tag 1.0b13 for changeset b6c10981014a 2012-03-16 09:58:48 -07:00
Adrian Sampson
b49beac9bb add release date to changelog 2012-03-16 09:55:30 -07:00
Adrian Sampson
d461e7675e catch Mutagen exceptions when reading fields (#356) 2012-03-15 08:00:58 -07:00
Adrian Sampson
1b1b8c4ae3 cleanup/docs for list formatting (#203; #22 on GH) 2012-03-14 14:51:13 -07:00
Adrian Sampson
a96f2511da Merge pull request #22 from phmongeau/list_format
Custom formatting option for "list"
2012-03-14 14:27:54 -07:00
Adrian Sampson
194f224687 changelog about colorama (#21 on GitHub) 2012-03-14 14:23:31 -07:00
Karl Southern
e6999df2d9 Ammends beets to only import and requires colorama on win32
---
 beets/ui/__init__.py |    5 +++--
 setup.py             |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
2012-03-14 14:17:41 -07:00
Karl Southern
e05bda87b4 Fixes up colours on Windows by using colorama. ANSICON, and other solutions are not reliable.
---
 beets/ui/__init__.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
2012-03-14 14:17:41 -07:00
Paul Provost
68952209d5 Added artist sort name
- MP3 tag saved
- Available template field as $artist_sort_name
2012-03-10 18:51:48 -05:00
Adrian Sampson
3ffbe171e5 lyrics: detect missing lyrics in lyrics.com result 2012-03-10 12:40:19 +00:00
Adrian Sampson
c65b237b99 lyrics: resolve   entity 2012-03-10 12:37:57 +00:00
Adrian Sampson
5befad8ba0 lyrics safely decoded from bytes 2012-03-10 12:33:19 +00:00
Philippe Mongeau
200a98d4df add format option to list_items command
you can provide a custom format option to the list
command.
Example: $ beet ls -f '$title - $album'
2012-02-29 19:14:56 -05:00
Adrian Sampson
2d3c9d9f9a suppress more pylast errors (#349) 2012-02-26 17:57:40 -08:00
Adrian Sampson
8fca659392 log errors when fingerprinting fails 2012-02-26 17:51:19 -08:00
Adrian Sampson
8d9c324b61 fix unicode encoding for lyrics requests (#350) 2012-02-26 12:54:27 -08:00
Adrian Sampson
a71961d7df changelog intro for b13 2012-02-19 13:54:19 -08:00
Adrian Sampson
2f38a42fe7 deduplicate track matches (#247) 2012-02-19 13:46:34 -08:00
Adrian Sampson
982f5849e2 show track lengths in difference display (#121) 2012-02-19 13:06:36 -08:00
Adrian Sampson
531ebd19bb import log: flush on write; close on crash (#337) 2012-02-19 12:40:44 -08:00
Adrian Sampson
dfc5ddb942 mention hangs in replaygain warning 2012-02-19 12:30:14 -08:00
Adrian Sampson
62cf26806c strip characters in replacement 2012-02-19 12:19:55 -08:00
Adrian Sampson
ca53bc8935 changelog for "list" fix 2012-02-17 15:45:37 -08:00
Simon Chopin
52a34c7510 Fix the list command in BPD
The cmd_list method wasn't a generator as run() expected, but instead
loaded directly the data onto the connection withoutactually sending it.
2012-02-17 20:15:25 +01:00
Adrian Sampson
bc3b51705a defensive programming when expanding album match 2012-02-15 17:02:44 -08:00
Adrian Sampson
6d2df0e4bf import_delete: delete local album art (#242) 2012-02-15 16:46:23 -08:00
Adrian Sampson
ea95fa1373 album art fetcher tests 2012-02-15 16:35:28 -08:00
Adrian Sampson
d86a3fe9b7 more config detail in getting started guide 2012-02-15 10:31:39 -08:00
Adrian Sampson
9088df0947 document album art stuff to tagger guide (#339) 2012-02-15 10:17:24 -08:00
Adrian Sampson
41769e961c merge 2012-02-14 21:01:29 -08:00
Adrian Sampson
4f437174d0 link to dev tarball (allowing pip install beets==dev) 2012-02-14 21:00:37 -08:00
Adrian Sampson
153f52a6eb import_delete prunes empty imported directories (#243) 2012-02-09 15:06:33 -08:00
Adrian Sampson
6fd8ae0e95 move plugin API docs to their own page 2012-02-09 14:43:59 -08:00