Commit graph

1556 commits

Author SHA1 Message Date
Scott Thomas
07e352143e File modification note in docs
I couldn't get beet update to read metadata changes - turns out that puddletag
doesn't touch the file modification time by default. It's a perfectly sensible
behaviour but I thought I'd add a note in the `beet update` section in case
anyone else has this problem.
2015-05-21 00:45:20 +01:00
Tom Jaspers
be484f2af0 Implement --pretend option for the move command
The method `show_path_changes` takes a list of tuples (source, destination)
that will be printed on either single / double line, as proposed in #1405.
2015-05-20 13:03:18 +02:00
Tom Jaspers
a7eace81d4 fetchart: improve Wikipedia art source
Artists with non-typical casing (e.g., alt-J, dEUS) would not get matched on
DBPedia, as the RDFS:label uses arbitrary casing, and SPARQL provides only exact
matches. The FOAF:name attribute is always title-cased (e.g., Alt-J, Deus).

Due to a bug in DBPedia, the cover filename is truncated when it contains
parentheses, (e.g., 'Foo bar (band).jpg' gets truncated to 'Foo bar .jpg').
To work around this, an additional Wikipedia call gets made for all its
images, in which we try to match our truncated image.

The Wikipedia art source now catches the correct exceptions, instead of
a broad catch-all.

Wikipedia album images can be gifs, so these are now added to the list of
accepted content types.
2015-05-19 09:57:54 +02:00
Tom Jaspers
a82dee35cb fetchart complains if no imaging backend available
The `enforce_ratio` and `minwidth` options depend on PIL or ImageMagick.
Previously it silently fails. Now it will log a warning, and accept the
image.

Tests concerning these options are skipped when no imaging backend is available.

Fix #1460
2015-05-18 19:44:40 +02:00
Pedro Silva
6be98b0a36 add tiebreaking facility 2015-05-16 19:25:47 +02:00
multikatt
63369246ae Update docs: -g now works for queries 2015-05-15 15:59:56 -04:00
multikatt
ef1f4965f0 Adding documentation 2015-05-15 13:59:43 -04:00
Adrian Sampson
71d7c0b004 Merge pull request #1450 from tomjaspers/metasync-itunes
MetaSync: more OO structure +  iTunes support
2015-05-13 15:04:36 -07:00
Adrian Sampson
dff4feaec2 embedart: Preempt wrong-type error in AAC files 2015-05-11 17:46:21 -07:00
Tom Jaspers
cb13d21ad6 MetaSync: automatic load of sources and item_types
- MetaSources get loaded from the modules automatically
- The MetaSources can define their own item_types, that get loaded for the plugin
- __init__ doesn't need any changes to accept new metasources
- Fix the --sources option to actually accept sources
  (it was being interpreted as boolean flag before, crashing the plugin)
- More safety w.r.t. external dependencies
2015-05-09 11:31:39 +02:00
Tom Jaspers
27aef76ae5 MetaSync: update changelog & fix typo in doc 2015-05-08 16:43:02 +02:00
Lucas Duailibe
df89a68a99 Fixing sort by path (fix #1451) 2015-05-07 23:45:26 -03:00
Tom Jaspers
04d7c883d1 MetaSync: docs for itunes synchronization
changelog & metasync plugin documentation
2015-05-07 10:28:41 +02:00
Adrian Sampson
c856326865 Fix #1449: Unicode paths in permissions 2015-05-06 22:23:18 -07:00
Tom Jaspers
c108447bb4 Changelog for #1448 (PIL import fix) 2015-05-04 08:30:38 +02:00
Adrian Sampson
076e77711f Changelog for #1443 2015-04-29 14:53:57 -07:00
Adrian Sampson
274865147c Version bump for dev: 1.3.14 2015-04-24 08:56:17 -07:00
Adrian Sampson
a8fce9be69 Finalize 1.3.13 changelog 2015-04-24 08:54:04 -07:00
Adrian Sampson
0e3f6cb09d Provide Unicode to Jellyfish 0.5.0
The new version requires arguments are Unicode. We were providing ASCII byte
strings, produced by Unidecode. We now re-decode this back to Unicode before
passing to the Levenshtein function.
2015-04-23 15:25:47 -07:00
Adrian Sampson
fbf40c6f62 Slightly expand changelog for #1436 2015-04-23 15:12:15 -07:00
D Andrew Reynhout
bd12cd59fd Update changelog for #1427 fix 2015-04-23 15:44:15 -04:00
Adrian Sampson
841f646fd7 Version bump for dev: 1.3.13 2015-04-18 17:05:45 -07:00
Adrian Sampson
e8489e125d Datesamp 1.3.12 release 2015-04-18 17:05:05 -07:00
Adrian Sampson
7ebf5d7bf8 Light changelog reorganization 2015-04-18 17:04:26 -07:00
Adrian Sampson
cd2e11b4e4 A little more changelog for #1429 2015-04-18 11:58:31 -07:00
Adrian Sampson
c52074786e Merge pull request #1429 from tomjaspers/sort-ignore-case
Sort can ignore case if configured to do so
2015-04-18 11:54:22 -07:00
Adrian Sampson
0711172446 Docs fixes for metasync: #1386 2015-04-18 11:49:36 -07:00
Heinz Wiesinger
0ecc560650 Add documentation for metadata sync plugin. 2015-04-18 16:09:46 +02:00
Tom Jaspers
91ab207156 Make sort-ignore-case branch mergeable 2015-04-18 11:48:54 +02:00
Tom Jaspers
0302c44909 Docs & changelog for case insensitive sort 2015-04-18 10:27:56 +02:00
Adrian Sampson
e14b1d7626 Some docs massaging for imminent release 2015-04-17 14:55:16 -07:00
Bruno Cauet
4e7c8d14a8 Discogs: add troubleshooting section in docs
Mention the token file, system date. Provide a URL that searches github
issues for "discogs".

Relates to #1417.
2015-04-17 17:32:42 +02:00
Fabrice Laporte
7a10a7a86b Update changelog.rst 2015-04-17 16:08:22 +02:00
Adrian Sampson
7073a54975 Expand changelog descriptions 2015-04-16 20:13:31 -07:00
Adrian Sampson
df579c6b45 Changelog for #1404 2015-04-16 19:57:41 -07:00
Adrian Sampson
6004da7c42 Expand changelog for "or" queries (#1423) 2015-04-16 19:34:20 -07:00
Adrian Sampson
bc698c3c0e Merge pull request #1423 from tomjaspers/or-query-operator
Use comma as "or" operator for queries
2015-04-16 19:25:24 -07:00
Adrian Sampson
aef4e323f8 Changelog for #1426 2015-04-16 14:53:46 -07:00
Tom Jaspers
0a4e8309fd Changelog entry for OR-operator 2015-04-16 10:09:46 +02:00
Tom Jaspers
c98835709f Query documentation to include "or" operator 2015-04-16 09:44:49 +02:00
Adrian Sampson
0c7823b4a5 Add zsh completion instructions (fix #1420) 2015-04-15 19:53:27 -07:00
Adrian Sampson
b313c8b46a fuzzy: Fix #1422, regression crasher 2015-04-15 19:46:31 -07:00
Adrian Sampson
46f382fd9b importadded: Fix in-place singleton imports
Fixes #1416.
2015-04-14 11:45:20 -07:00
Adrian Sampson
0507f80fcd discogs: Handle errors on auth setup (fix #1417) 2015-04-14 10:26:39 -07:00
Adrian Sampson
195f0dd6d4 No default terminal encoding (#1419) 2015-04-14 09:51:02 -07:00
Adrian Sampson
a0ff517d17 Guess output encoding from sys.stdout.encoding
Rather than using the locale settings. #1419
2015-04-13 11:11:16 -07:00
Adrian Sampson
ab78eed02e replaygain: Avoid suppressing debug output (#1398)
This was suppressing debug output even with `beet -vv import`. This also avoid
registering an import hook when auto is disabled.
2015-04-12 22:59:48 -07:00
Adrian Sampson
39a6fa5495 Changelog for #1398 2015-04-10 09:03:11 -07:00
Adrian Sampson
821c5bf3df Documentation pass for #1398 2015-04-09 17:06:35 -07:00
David
c3745ce6c2 typo: exapnds -> expands 2015-04-09 12:30:38 -04:00
jmwatte
f1f7094938 fix bs1770gain for windows and exceptionally big albums 2015-04-09 17:18:26 +02:00
Adrian Sampson
51cd6ad90e Changelog for #1402 2015-04-07 22:52:43 -05:00
Frederik “Freso” S. Olesen
8788d6b764 Fix typo: dox → doc 2015-04-07 15:28:13 +02:00
Frederik “Freso” S. Olesen
0d21e816d4 Fetchart: Remove hard 500px size limit for CAA cover art.
Using -500 URLs for coverartarchive.org will only ever return images
where the biggest dimension is (width or height) is 500 pixels,
regardless of what fetchart settings are otherwise set.

This commit removes the -500 from the URL entirely rather than using it
conditionally, since a maxwidth of 500 will allow for a 600 high and 500
wide image, but CAA.org/...-500 would return a 500x417 image instead, so
not enforcing a size is the only way to ensure the user's {max,min}width
settings are properly respected.
2015-04-07 15:24:01 +02:00
Tom Jaspers
5afe2e14aa Changelog entries for #1389 and #1394 2015-04-06 16:41:38 +02:00
Tom Jaspers
7bdcb08ef5 Merge pull request #1394 from tomjaspers/fetchart-minwidth-ratio
Fetchart: minwidth and enforce_ratio options
2015-04-06 11:20:33 +02:00
Adrian Sampson
b94088eceb Version bump for dev: 1.3.12 2015-04-05 23:26:37 -05:00
Adrian Sampson
e1013fe9c9 Merge branch 'master' of github.com:sampsyo/beets 2015-04-05 23:24:53 -05:00
Adrian Sampson
445543fb04 Release date for 1.3.11 2015-04-05 23:18:00 -05:00
David
09100c4a55 Update plugins.rst
The class is called CommonOptionsParser, Option*s*.
2015-04-05 22:44:08 -04:00
Adrian Sampson
eba9392aa4 Changelog summary paragraphs 2015-04-05 16:52:06 -07:00
Adrian Sampson
677d1e0b15 Clean up 1.3.11 changelog 2015-04-05 10:27:16 -07:00
Adrian Sampson
cf39977fbb Fix #1393: rewrite broken for album-level fields
We now create a computed field for albums as well as items. (This plugin is
very old!)
2015-04-04 16:03:12 -07:00
Tom Jaspers
b5ec26c949 Fetchart: minwidth & enforce_ratio options
- Minimum image width can be specified via minwidth (default `0`)
- The image ratio can be enforced to 1:1 using `enforce_ratio` (default `no`)

See #1058
2015-04-04 20:52:08 +02:00
Adrian Sampson
1750d997d1 Remove some outdated OS X versions 2015-04-01 07:47:34 -05:00
Bruno Cauet
c6f6e3164a Merge branch 'thread-safe-logging2' 2015-04-01 10:45:12 +02:00
Bruno Cauet
f6f68420b5 Drop Python 2.6 support
See PR #1366 and PR #1390 for a thorough explanation.
2015-04-01 10:43:33 +02:00
Bruno Cauet
8a71935a95 Document path detection update 2015-03-30 13:18:35 +02:00
Adrian Sampson
e953e6bdcb Merge branch 'master' of github.com:sampsyo/beets 2015-03-29 14:28:22 -07:00
Adrian Sampson
c37561c74b Redact by default (#1376) 2015-03-29 14:26:16 -07:00
Bruno Cauet
9705c09035 Merge branch 'thumbnails' 2015-03-29 21:44:42 +02:00
Adrian Sampson
22d5d34253 Changelog for #1377 2015-03-29 12:12:04 -07:00
Adrian Sampson
eeca2105f9 Merge pull request #1377 from amishb/custom_ft_title
ftintitle plugin now allows a custom format to be defined (Correct Branch)
2015-03-29 12:05:53 -07:00
Amish Bhadeshia
9a38b07ed4 Housekeeping and styling changes 2015-03-28 11:20:28 +00:00
Pedro Silva
8feb4bdf34 update changelog with #66e06ba fix for #1000 2015-03-28 09:48:13 +01:00
Adrian Sampson
a5add050d4 Changelog for #1382, #1383 2015-03-27 23:05:23 -04:00
Adrian Sampson
ef5052e111 Merge pull request #1383 from autochthe/convert/tmpdir
convert: Add 'tmpdir' option
2015-03-27 23:05:18 -04:00
Adrian Sampson
819883b2b6 Add note about YAML to guide (close #1370) 2015-03-27 22:54:47 -04:00
Adrian Sampson
37860bf2ef --redacted is now --redact
Seems more direct to me.
2015-03-27 22:44:32 -04:00
Adrian Sampson
b477f4a53f Merge pull request #1376 from tomjaspers/config-redacted-fields
Config: new option -r redacts sensitive fields

Conflicts:
	beets/util/confit.py
2015-03-27 22:11:24 -04:00
Amish Bhadeshia
6365a9b538 Added indice into curly brackets, for py26 compatabiity 2015-03-27 20:54:42 +00:00
Pedro Silva
66e06baca7 fix #1000: provide --strict option (don't match on null attributes) 2015-03-27 11:34:45 +01:00
Mara Kim
ddca1b2e13 Add 'tmpdir' option to convert plugin
Closes sampsyo/beets#1382

Add tmpdir setting

document tmpdir setting
2015-03-27 02:11:33 -05:00
Tom Jaspers
ce78be3eb6 Config: add docs & tests for --redacted option 2015-03-26 12:49:54 +01:00
Bruno Cauet
265fa962eb Merge branch 'master' into thumbnails 2015-03-25 18:17:12 +01:00
Adrian Sampson
127b92598c Clarify plugin verbosity docs (taken from sampsyo/thread-safe-logging) 2015-03-25 12:55:39 +01:00
Tom Jaspers
c4d7dd0d6d Add beets-setlister to community plugins docs
(shameless self-promotion!)
2015-03-23 07:56:20 +01:00
Amish Bhadeshia
d2a95158f2 Updated ftintitle plugin to follow a format 2015-03-21 15:36:39 +00:00
Adrian Sampson
d09c8c66b3 Merge pull request #1359 from brunal/more_info_in_db_changes
Smartplaylist only updates playlists that may have changed
2015-03-19 09:42:52 -04:00
Bruno Cauet
7be7a78d5a Restore recent html_theme value in docs/conf.py
The old value got restored in commit 86443c076 by mistake.
2015-03-19 13:43:52 +01:00
Bruno Cauet
86443c076d Document smartplaylist sorting behavior. 2015-03-18 19:05:16 +01:00
Bruno Cauet
7bee2f093b changelog: fix an extra ':' after a bug # 2015-03-16 18:48:28 +01:00
Bruno Cauet
5d1ee0457f Document the smartplaylist plugin updates 2015-03-16 18:47:38 +01:00
Bruno Cauet
191ff61c53 Document the database_change parameter update 2015-03-16 18:44:52 +01:00
Adrian Sampson
cf3388fae7 Merge pull request #1344 from jmwatte/bs1770gainsupport
Bs1770gainsupport-tests
2015-03-15 15:35:39 -07:00
Adrian Sampson
f6df14a798 Isolate bugs in pylast
Should fix crashes like this:
http://hastebin.com/nizusukuli.log
2015-03-14 15:13:07 -07:00
Bruno Cauet
e71caded81 Update docs' html_theme value: default → classic
New proposed default is 'alabaster', which looks nice but leaves less
room to the core content. 'classic' replaces 'default'.

Anyway readthedocs.org applies its own theme so this only impacts local
builds.
2015-03-11 11:08:40 +01:00
Bruno Cauet
679b0a586b Remove list_format_{album,item} sections from docs 2015-03-07 13:45:58 +01:00
jmwatte
da4a5d0797 fix bs1770gain link 2015-03-06 22:28:59 +01:00
jean-marie winters
f376d3c2a8 Merge branch 'bs1770gainsupport' of https://github.com/jmwatte/beets into bs1770gainsupport 2015-03-06 22:05:45 +01:00
jmwatte
0d70db3966 Update replaygain.rst 2015-03-06 20:36:06 +01:00
Bruno Cauet
58b39f1000 Merge branch 'master' into subcommand-auto-format-path 2015-03-05 17:53:31 +01:00
Bruno Cauet
6fda0e23fc Update docs & changelog 2015-03-05 17:40:32 +01:00
Bruno Cauet
f14f47f059 Renamed list_format_* into format_* 2015-03-04 16:51:28 +01:00
Adrian Sampson
8113c7ba85 Roll back whitespace changes from #1343 2015-03-03 10:41:30 -08:00
Adrian Sampson
48671cbdf1 Changelog for #1343 2015-03-03 10:38:01 -08:00
jean-marie winters
5bc8ef7009 fix some formating 2015-03-02 22:11:33 +01:00
jean-marie winters
72c5db8876 add doc, clean-up code 2015-03-02 15:38:33 +01:00
Adrian Sampson
eec8d5d2be Doc rewording for #1330 2015-03-01 17:09:36 -08:00
Adrian Sampson
e14f28fdda Merge pull request #1330 from brunal/path-query-case-sensitivity
Fix path query case sensitivity

Conflicts:
	docs/changelog.rst
2015-03-01 17:01:45 -08:00
Taeyeon Mori
ddf86af3a0 DOCS The plugin stages now receive the ImportSession as first argument 2015-03-01 19:52:11 +01:00
Adrian Sampson
ca0e9a8c03 Merge pull request #1329 from brunal/play-interactive
play command is now interactive

Conflicts:
	docs/changelog.rst
2015-02-17 17:22:03 -05:00
Adrian Sampson
c05dea123e Docs clarity for verbosity levels (#1320) 2015-02-17 17:12:42 -05:00
Adrian Sampson
171ded17b6 Merge pull request #1320 from brunal/multiple-logging-levels
Multiple logging levels
2015-02-17 17:10:31 -05:00
Adrian Sampson
31500a741e Merge pull request #1318 from jaquer/no-apply-replaygain
Stop applying mp3gain directly to files. Fixes #1316
2015-02-17 17:03:57 -05:00
Bruno Cauet
83e34322e9 Update changelog & docs 2015-02-17 13:14:29 +01:00
Marvin Steadfast
b9174d176f The permissions plugin now uses startswith for finding ancestors in the library path. 2015-02-17 11:45:21 +01:00
Marvin Steadfast
27f4732d3d Updated permissions plugin docs 2015-02-17 11:41:15 +01:00
Bruno Cauet
39a6145d2d Plugin play uses default item sort in album mode
Offer library.get_default_{item,album}_sort for that purpose.
2015-02-16 12:26:23 +01:00
Bruno Cauet
c47221555f Add beets.util.interactive_open() find cmd + execute
interactive_open() takes a target and an optional command, if it does not
receive a command then it uses open_anything().

It parses command and lexes it with shlex.split(), revieling the client
from that task.

"config -e" command uses it, and gives a better error message in case of
problem. "play" plugin uses it as well, as side-effect being that the
command is now interactive, as requested in issue #1321.

Fix issue #1321.
2015-02-16 12:26:17 +01:00
Tom Jaspers
1555d3fe17 Importer metadata source is saved as flex attr
Saving a file "as is" keeps the data_source attribute unset
2015-02-15 17:46:00 +01:00
Tom Jaspers
c286ea38de Importer metadata source is set as a field: docs
docs + changelog

See #1311
2015-02-11 10:29:13 +01:00
Bruno Cauet
a014750e2d Update docs: mention multi-level logging
If you think what I wrote suck, it's because it does.
2015-02-10 17:29:02 +01:00
Arturo R
60b1819db0 Stop applying mp3gain directly to files. Fixes #1316
Update docs to remove non-existent `apply` option.
2015-02-09 12:51:27 -08:00
Bruno Cauet
c6455c269f Merge branch 'master' into thumbnails
Conflicts:
	docs/changelog.rst
2015-02-09 16:08:29 +01:00
Adrian Sampson
f1ce37e20e Update Python download link 2015-02-04 09:34:41 -08:00
Adrian Sampson
cc01d87209 discogs: Catch *another* exception (fix #1305)
Everything but requests is a travesty.
2015-02-03 23:04:14 -08:00
Adrian Sampson
82e89b8960 Merge pull request #1292 from mried/import-autosingleton
Allow plugins to change the created import tasks
2015-02-03 09:49:13 -08:00
Tom Jaspers
1341ad9b1d Importer UI: Display number of missing/unmatched tracks
Fix #1088
2015-02-03 10:23:52 +01:00
Adrian Sampson
9dc123a665 Changelog for filesize field
See #1291. Feature in commit 6ed0b2e.
2015-02-02 22:48:19 -08:00
Adrian Sampson
8151a40f1f discogs: Catch socket errors (#1299)
See also:

https://github.com/discogs/discogs_client/issues/44
2015-02-02 22:27:14 -08:00
Adrian Sampson
313c3807aa scrub: Use syspath in beet scrub (#1297) 2015-02-02 10:42:31 -08:00
Adrian Sampson
465719a208 scrub: Catch IOErrors in command (fix #1297) 2015-02-02 10:13:48 -08:00
geigerzaehler
46ba99ce79 Merge pull request #1295 from sampsyo/more-info
Info plugin can filter properties in output
2015-02-01 21:19:24 +00:00
Thomas Scholtes
482008bf1d Info plugin can filter properties in output
Resolves #1287
2015-02-01 21:51:26 +01:00
Thomas Scholtes
b150d40394 Changelog for #1294 2015-02-01 21:49:49 +01:00
Adrian Sampson
b68708f81e Installation instructions for Fedora (fix #375) 2015-02-01 12:22:24 -08:00
Tom Jaspers
a2b00a8408 Changelog entry for #1291 2015-02-01 20:32:28 +01:00
Malte Ried
e681449785 Added documentation
FileFilterPlugin uses the new return value feature
Some tweaks to get the code more readable
2015-02-01 17:01:06 +01:00
Bruno Cauet
df4c7952d4 Update doc: liberal plugin ordering for fetchart 2015-01-31 21:37:19 +01:00
Bruno Cauet
f284d8fad5 Handle shlex parse errors in query strings
Provide context: offending query string.
Update changelog.
Fix #1290.
2015-01-31 19:54:07 +01:00
Tom Jaspers
927a53d59b Merge pull request #1281 from tomjaspers/configurable-colors
Colors are now user configurable.

Conflicts:
	beets/ui/__init__.py
	beets/ui/commands.py
2015-01-30 13:48:19 +01:00
Bruno Cauet
0a37c4652e docs: restore freedesktop in plugins toctree
Every file *has* to be in a toctree
2015-01-30 10:32:41 +01:00
Bruno Cauet
533af4edaa Remove 'freedesktop' from plugins index
+ move thumbnails in the category where freedesktop stood.
2015-01-29 18:15:42 +01:00
Tom Jaspers
ea687baebd Configurable colors: update documentation and changelog 2015-01-29 14:05:00 +01:00
Bruno Cauet
a78cc65826 Merge freedesktop plugin into thumbnails
Add test for that new code, update docs, update the changelog.
2015-01-29 13:08:02 +01:00
Bruno Cauet
3d64440ef2 Write thumbnails doc & add changelog entry 2015-01-29 12:19:18 +01:00
Adrian Sampson
fc82f2bb89 Changelog for #1190/#1272 2015-01-28 11:43:35 -08:00
Malte Ried
67ecf32671 Fixed typos. 2015-01-28 15:46:16 +01:00
Malte Ried
e2a7f7c153 Merge branch 'master' into extractart-for-albums 2015-01-28 15:44:36 +01:00