Commit graph

3618 commits

Author SHA1 Message Date
Olin Gay
9330e49013 Change spottily plugin output to use syserr for everything except printing the plugin tracks. Allows output to be piped. 2014-08-17 10:36:41 -04:00
Olin Gay
d076e14515 Complete PEP8 cleanup of spotify plugin 2014-08-17 09:53:54 -04:00
Olin Gay
6bab9a2cae Merge branch 'master' of https://github.com/sampsyo/beets into spotify-plugin 2014-08-17 08:36:32 -04:00
Adrian Sampson
09b0e1c75d Add failing test for #899 2014-08-15 12:38:41 -07:00
Adrian Sampson
7de6259c1d MediaFile: make id3v23 a constructor parameter
For #899, we need to change MediaFile's behavior (pre-write) based on whether
we're doing ID3v2.3 or not. So we need a field on the object, not a parameter
to `save()`.
2014-08-15 12:09:18 -07:00
Adrian Sampson
3771134716 Add zsh completion script by @vapniks (#862) 2014-08-13 21:54:43 -07:00
Stig Inge Lea Bjørnsen
64fc3539cd Correct the textual description of a date query
The the date query syntax `2008-12..2009-10-11` covers the interval [2008-12-01T00:00:00, 2009-10-12T00:00:00).
2014-08-14 00:44:19 +02:00
Adrian Sampson
af3bdd8a66 echonest: Log on retries (for mersault_) 2014-08-11 16:52:37 -07:00
Adrian Sampson
945e30d155 Fix music-crawl error messages (thanks, derwin)
Due to the new exception nesting stuff, we were catching and emitting
exceptions where none was necessary: specifically, when the file was non-music
(which is expected, especially when there are images).
2014-08-10 17:18:10 -07:00
Adrian Sampson
60c59ca96a Docs/changelog for #891 2014-08-10 16:51:42 -07:00
Adrian Sampson
e7f1ff0e3f Clean up convert --pretend (#891)
There were a number of problems with the changes to the util melange:
- It used print rather than logging, and its string formatting was probably
  not Unicode-ready.
- The shell-command-like print lines were not quite compatible, which makes
  their general usefulness questionable.
- Used an unsafe/leaky global variable for mkdirall.
- Used deprecated sets.Set.
Seemed better just to add this to the plugin where we need it so it's easier
to see where this goes.

It also seems unnecessary to me to print `mkdir -p` commands. They just
clutter up the output for me when I really just want to see the transcoding
commands.
2014-08-10 16:46:23 -07:00
Adrian Sampson
12a375f4ed Merge pull request #891 from Dietr1ch/master
[Improvement] --pretend option for the convert plugin
2014-08-10 16:28:07 -07:00
Adrian Sampson
d5910b4e85 Docs tweaks 2014-08-10 16:20:17 -07:00
geigerzaehler
e6fdf4c0e5 Merge pull request #894 from geigerzaehler/asciify
add asciify_paths configuration option
2014-08-06 21:20:23 +02:00
Thomas Scholtes
f1388eb23d docs: Add note for 'replace' config and unicode 2014-08-06 18:00:18 +02:00
Thomas Scholtes
76c7ba9186 Add asciify_paths configuration option 2014-08-06 17:53:44 +02:00
Dietrich Daroch
ff9b18dd44 Merge branch 'master' of https://github.com/sampsyo/beets
Conflicts:
	beetsplug/convert.py

PS: I O U the logging changes, it's quite late :c
2014-08-06 01:55:34 -04:00
Thomas Scholtes
29e4fde571 convert: Simplify format configuration.
We don't have to specify the extension. By default it is the same as
the format name.
2014-08-05 12:06:35 +02:00
Thomas Scholtes
c2822a5b90 Documentation and changelog for b2740968 2014-08-05 11:50:06 +02:00
Thomas Scholtes
b27409684e convert: Add --format option
This option allows the user to specify the format on the command line
instead of editing the configuration.

The commit also includes some refactoring. In particular adding
arguments to functions to avoid dependence on global state.

Doc and Changelog in next commit
2014-08-05 10:45:32 +02:00
Olin Gay
ce4b45ec76 Pull request for Spotify plugin development, see: https://groups.google.com/forum/#!topic/beets-users/2xsOZC-NMNk 2014-08-03 19:55:50 -04:00
Thomas Scholtes
1eb62bcd72 Handle incremental and resumed imports in session 2014-07-31 11:48:35 +02:00
Thomas Scholtes
0f2a9bdcdc Record singletons for incremental import
We still need to implement this for flat imports, archives and toppath
singletons. Fixes #860.
2014-07-31 11:09:16 +02:00
Dietrich Daroch
ea4832e212 [PEP8] I didn't had a pep8 checker on vim :c 2014-07-30 14:35:19 -04:00
Dietrich Daroch
f554e2e4a0 [Improvement] --pretend option for the convert plugin
Partially resolves #877 showing:
  - Directory creation
  - Copies
  - Deletes
  - Moves
  - Encodings

Information about tagging and plugins on _after_convert_ is not
currently shown. That requires changing the plugins to support the
pretend option, so a lot of work may be needed and it doesn't seem to be
helpful enough for me.
2014-07-28 20:13:15 -04:00
Adrian Sampson
51123d901b Fixes for chroma.auto (#888, fix #629) 2014-07-25 21:28:52 -07:00
Adrian Sampson
4df38c8b86 Merge pull request #888 from lacasse/master
Add 'auto' option in acoustid(Fix #629)
2014-07-25 21:20:53 -07:00
dettrittus
e1d2b5220c Add 'auto' option in acoustid(Fix #629) 2014-07-25 23:40:23 -04:00
Thomas Scholtes
c5f23cc4f8 Don't write state to disk when nothing changes 2014-07-19 14:17:51 +02:00
Adrian Sampson
e0755cffd2 Merge pull request #881 from nrgetik/patch-1
Update genres-tree.yaml
2014-07-18 08:51:49 -07:00
nrgetik
8cc4f96548 Update genres-tree.yaml
funkd is clearly a typo
2014-07-18 11:49:29 -04:00
Adrian Sampson
36b26f77e7 Sort help output
Commands are now listed in sorted order. (With Python's hash randomization,
the order was changing on every execution!)
2014-07-17 09:58:07 -07:00
Adrian Sampson
3cf015606d Use ordinary dict for progress (#873)
This is compatible with older versions of beets. It should also be less
surprising when deserializing.
2014-07-17 09:54:29 -07:00
Thomas Scholtes
3eafd9f7a6 PEP8 Fixes 2014-07-17 13:27:33 +02:00
Thomas Scholtes
0e853ac5ea Correctly reset import progress.
Progress is a `defaultdict` and we assume presence of any key. This
means we have to assign keys the default value instead of deleting
them. Fixes #873.
2014-07-17 12:48:42 +02:00
Thomas Scholtes
4ea53de672 Make -h option equivalent to help command
Fixes #867.
2014-07-17 12:22:32 +02:00
Adrian Sampson
b7da5df5ee Docs/changelog for #866 2014-07-13 22:23:59 -07:00
Adrian Sampson
01edb0de19 Merge pull request #866 from aroquen/master
Detect BPM from keystrokes
2014-07-13 22:02:37 -07:00
aroquen
b069b16b2e Added bpm to plugins index 2014-07-14 02:36:54 +02:00
aroquen
090a51597d New bpm plugin to determine bpm from keystrokes 2014-07-14 02:35:07 +02:00
Adrian Sampson
b8ee0b59b8 Merge branch 'master' of github.com:sampsyo/beets 2014-07-12 10:56:47 -07:00
Adrian Sampson
35994e4bbd Docs: remove reference to "beet write -a"
This flag doesn't really exist!
2014-07-12 10:56:24 -07:00
Thomas Scholtes
dc53f7907a Fix completion script 2014-07-08 17:52:46 +02:00
Thomas Scholtes
d2e848f75c Refactor help command and cli parsers
* Control flow and implementation of help command is now
  similar to the other commands.
* Simplifies and flattens some code and removes unused method.
* Makes SubcommandOptionParser agnostic of Subcommand.parser.
2014-07-08 17:10:39 +02:00
Thomas Scholtes
46c9992633 Refactor resuming of imports
Instead of recording only the most recently imported path and assuming
that all previous path have also been imported, we record all imported
paths and skip recorded paths when resuming the import.

This fixes an issue where parallelism would screw up the import order
and reimport some files. It also allows us to record singleton items.

We can apply the same strategy can be applied for incremental imports.
2014-07-08 15:06:01 +02:00
Thomas Scholtes
34021127e4 Remove debug print 2014-07-08 13:07:08 +02:00
Thomas Scholtes
b5426f72a1 Wrap mediafile read exceptions in library.ReadError
The ui only handles library Exceptions. Fixes #857.
2014-07-06 13:19:43 +02:00
Adrian Sampson
38bf08a49e Move path entry in field list 2014-07-02 18:59:37 -07:00
Adrian Sampson
91b784ee8f Merge pull request #859 from r04r/patch-1
Add $path to the list of available values in pathformat.rst
2014-07-02 18:58:39 -07:00
r04r
f6b59cf7df Add $path to the list of available values in pathformat.rst 2014-07-03 03:30:34 +02:00