Commit graph

3634 commits

Author SHA1 Message Date
Thomas Scholtes
f98d8619ae Add attach-import command and detect globs 2014-08-18 17:49:01 +02:00
Thomas Scholtes
c463c6ed84 Attachment doc and tests 2014-08-18 16:06:21 +02:00
Thomas Scholtes
addac17b2c store() adds attachment to db if it does not exist 2014-08-17 13:40:25 +02:00
Thomas Scholtes
315c43dcb8 Attachments queries 2014-08-14 22:22:04 +02:00
Thomas Scholtes
54f11953fb Don't duplicate attachments 2014-08-14 18:49:44 +02:00
Thomas Scholtes
2c05a874ec Extend attachment tests 2014-08-14 15:14:04 +02:00
Thomas Scholtes
f6e6af08d2 Determine basename of attachment from path and entity 2014-08-14 13:30:32 +02:00
Thomas Scholtes
402cd61c93 Fix test failures 2014-08-14 11:06:55 +02:00
Thomas Scholtes
a74da1ecf8 Basic support for importing attachments 2014-08-14 11:06:55 +02:00
Thomas Scholtes
db6e32b3e4 Refactory discovery and add basename prop 2014-08-14 11:06:55 +02:00
Thomas Scholtes
1a630908c9 Discover attachment files 2014-08-14 11:06:55 +02:00
Thomas Scholtes
ee19abc293 Implement and test attachment.move() 2014-08-14 11:06:55 +02:00
Thomas Scholtes
d4d4c4a788 Implement and test attachment destination 2014-08-14 11:06:55 +02:00
Thomas Scholtes
081e485376 Test and implement --local option 2014-08-14 11:06:55 +02:00
Thomas Scholtes
d8f58603fc Replace URLs with paths 2014-08-14 11:06:55 +02:00
Thomas Scholtes
9f97952f43 Move attachment command into ui.commands 2014-08-14 11:06:55 +02:00
Thomas Scholtes
acf9e21dc3 Implement and test attach command 2014-08-14 11:06:54 +02:00
Thomas Scholtes
8852bd24d0 Retrieve attachments of albums and tracks 2014-08-14 11:06:54 +02:00
Thomas Scholtes
67eb8cf9fd Integrate and test attachments into library 2014-08-14 11:06:54 +02:00
Thomas Scholtes
f000a0af07 Add tests 2014-08-14 11:06:54 +02:00
Thomas Scholtes
e3fb7459f9 Test factory.create 2014-08-14 11:06:54 +02:00
Thomas Scholtes
6f57bd73f3 Add base implementation of attachments 2014-08-14 11:06:54 +02: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
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