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
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
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
76c7ba9186
Add asciify_paths configuration option
2014-08-06 17:53:44 +02: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
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
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
Thomas Scholtes
c5f23cc4f8
Don't write state to disk when nothing changes
2014-07-19 14:17:51 +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
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
10d0572214
Tiny style fixes for #854
2014-07-01 23:10:50 -07:00
philipbjorge
9e6f31eef0
Fixed flake8 errors
2014-07-01 19:41:43 -07:00
philipbjorge
16ef9a7aeb
Added unit test for Library unicode filenames #833
2014-07-01 19:19:55 -07:00
Adrian Sampson
e5c5e1858c
Changelog for #851 (bucket improvements)
2014-07-01 14:40:39 -07:00
Adrian Sampson
711b1a5bb1
Merge branch 'sotho-master'
2014-07-01 14:38:02 -07:00
Adrian Sampson
59da6c851d
Merge pull request #847 from KraYmer/issue805
...
lastgenre: remove duplicate genres
2014-07-01 14:27:51 -07:00
Alexander Elbs
9ca816f247
the bucket plugin transforms a pattern like 'A - D' into something that
...
matches all letters starting with A to D (upper and lower case). This
change allows to put more artists into that bucket. E.g. artists
starting with ä or Ä and 0 to 9 and … (three dots)
Example config for overriding a bucket pattern:
bucket:
bucket_alpha: ['A - D', 'E - L', 'M - R', 'S - Z']
bucket_alpha_regex:
'A - D': ^[0-9a-dA-D…äÄ]
2014-06-30 20:55:28 +02:00
Fabrice Laporte
df47f19e86
lastgenre: remove duplicate genres
2014-06-28 10:31:12 +02:00
Fabrice Laporte
ef89daf1be
test_art: add unit test
...
the test checks that the keyword priority (related to its
position in the keywords list) is considered when selecting
image filename amongst several candidates
2014-06-27 23:32:57 +02:00
Thomas Scholtes
f19fa1567e
Test converter embeds album art
2014-06-02 17:09:16 +02:00
Thomas Scholtes
9c6491a65d
Embedart TestCase
2014-06-02 16:04:55 +02:00
Adrian Sampson
632d3a9612
dbcore: Add shared instances of common types
...
Following click's example:
https://github.com/mitsuhiko/click/blob/master/click/types.py#L414
2014-05-25 16:38:47 -07:00
Adrian Sampson
394e4e45eb
dbcore: Add types for non-fixed fields
...
The base Type class now serves as the catch-all logic for untyped fields.
2014-05-25 16:23:15 -07:00
Adrian Sampson
70b5a44ef4
Move query parsing to new dbcore.queryparse
...
Fix #649 .
2014-05-24 17:07:18 -07:00
Adrian Sampson
908584bde8
Revamp FormattedItemMapping
...
This subclass was not cleanly conforming to the Mapping abstract base. Now
we're in business -- the thing looks like a dict. Brought up by #782 .
2014-05-20 16:24:40 -07:00
Pierre Rust
9901d6a4eb
Add Test case for flexattr removal ( #779 )
2014-05-20 23:55:42 +02:00
Adrian Sampson
943cbe0838
MediaFile: allow setting date fields to None
2014-05-18 15:14:36 -07:00
Adrian Sampson
dfa8445980
Style and wording for Google Images ( #766 )
2014-05-17 22:10:39 -07:00
Adrian Sampson
7f675dbf64
Merge branch 'Lemutar-master'
2014-05-17 22:02:09 -07:00
Adrian Sampson
79aef50c25
AIFF support ( fix #250 )
...
Thanks to @EvanPurkhiser, AIFF is now supported in Mutagen 1.23! Now we can
support it too.
2014-05-17 21:13:40 -07:00
Lemutar
c890384215
add a test, replace urllibs , update help
2014-05-16 10:56:55 +02:00
Fabrice L.
c0f7e1fec4
Merge pull request #747 from KraYmer/issue740_buckets
...
Issue740: introduce bucket plugin to organize files in bucket directories
2014-05-10 23:04:28 +02:00
Fabrice Laporte
02f7e78fd3
fix flake8 warnings
2014-05-10 10:57:44 +02:00
Fabrice Laporte
21feab7ab1
add tests to check bad buckets definitions
...
message is now printed to the user when buckets declared in the config
file cannot be parsed
2014-05-10 10:55:38 +02:00
Fabrice Laporte
4add189608
Add option to extrapolate year buckets names
...
- spans are now tracked via a list of dicts instead of 2 lists
previously (simpler code)
- extend_year_spans() pregenerates all possible ranges at plugin setup
stage
- a BucketError is now raised if declared bucket format not accepted
2014-05-08 01:28:17 +02:00