Adrian Sampson
c31eabe95c
convert: add missing syspath call ( closes #106 )
2013-02-27 10:30:24 -08:00
Adrian Sampson
7a410f636b
happy new year ✨
...
For future reference, this command did the trick:
ack -l 'Copyright 201' | xargs perl -pi -E 's/Copyright 201./Copyright 2013/'
2013-01-11 10:43:41 -08:00
Adrian Sampson
6d68a4855e
per-plugin configuration defaults in __init__()
...
This uses the new BeetsPlugin.config convenience view heavily. Things are
slowly getting less verbose.
2012-12-18 22:35:44 -08:00
Adrian Sampson
582851a6fe
merge fix from master
2012-12-14 12:57:40 -08:00
Adrian Sampson
4222b37bc2
convert: fix processing singletons w/ "embed" on
2012-12-14 12:38:46 -08:00
Adrian Sampson
6c94358b13
begin Confit-ifying plugins in alphabetical order
2012-12-13 12:31:10 -08:00
Jakob Schnitzer
19acf0809f
convert: switch from flac and lame to ffmpeg
...
Instead of flac and lame the convert plugin now uses ffmpeg. This adds
support for more input formats and simplifies the code. ffmpeg also uses
the lame encoder internally and has equivalents of all the -V<num>
presets which should be sufficient.
2012-11-05 22:30:21 +01:00
Adrian Sampson
f4fa11f8ca
don't use subprocess.check_output
...
This function was added in Python 2.7 and we're currently targetting 2.6 as a
minimum version. Replaced with a function in util.
2012-11-01 11:59:02 -07:00
Jakob Schnitzer
cf98bfcbe6
convert: write tags from library to copied files
2012-10-25 01:05:06 +02:00
Adrian Sampson
02fd9bf809
convert: embed into destination file, not source file
...
Paging @yagebu: I think the old version of the code would embed album art into
the wrong file. Please correct me (and accept my apologies) if I'm wrong
though.
2012-10-24 15:17:00 -07:00
Adrian Sampson
dcb9ad7373
fix several non-unicode logging statements
...
A user reported a problem with one of the logging statements where .format()
tried to convert a Unicode string to bytes because the log message was '', not
u''. As a rule, we should ensure that all logging statements use Unicode
literals.
2012-10-24 15:14:33 -07:00
Jakob Schnitzer
54f29812cf
convert: fix breakage due to recent API changes
2012-10-21 13:35:41 +02:00
Jakob Schnitzer
492f168124
convert: Fix problem with "threads" config option
2012-10-20 13:25:25 +02:00
Jakob Schnitzer
58ba4b3d75
convert: fix album art embedding
2012-10-18 18:35:25 +02:00
Adrian Sampson
ce190fbe3b
merge
2012-10-17 19:47:31 -07:00
Jakob Schnitzer
26dfe38bb0
convert: Write tags from library instead of copying them
2012-10-17 21:12:31 +02:00
Adrian Sampson
cc8ead7e34
convert: atomic mkdirall() call
2012-10-15 19:53:17 -07:00
Adrian Sampson
526e82feaf
move cpu_count to util module; credit @storrgie
2012-10-14 14:09:03 -07:00
Adrian Sampson
6b7d9a6f40
merge pull request #56 (thread count detection)
2012-10-14 14:01:04 -07:00
Adrian Sampson
fcf5ec0b68
convert: low-level tweaks
...
Mainly adding some careful handling of paths (pass through displayable_path
before logging, etc.).
2012-10-12 22:19:27 -07:00
Adrian Sampson
71a5a5b02f
only load plugins from specified modules
...
Eliminate the __subclasses__ trick for finding all plugins. Now we explicitly
look in each plugin module for a plugin class. This allows us to import plugin
modules with unintentionally loading them. This lets us reuse the image
embedding machinery without copypasta.
2012-10-12 21:55:54 -07:00
Andrew G. Dunn
4ee39ed9da
Forgot to actually call the function
2012-10-12 08:25:28 -04:00
Andrew G. Dunn
365fa4347e
Added processor/thread detection, by default will now use maximum available processor count instead of 2. Idea adapted from soundconverter, credits in function.
2012-10-12 07:48:52 -04:00
Jakob Schnitzer
e316d0ea30
convert: PEP8, changelog note and license
2012-10-11 17:10:28 +02:00
Jakob Schnitzer
115c0e7410
coonvert: make sure temporary are deleted if encoding is interrupted
2012-10-10 10:15:51 +02:00
Jakob Schnitzer
8f9b4f0362
convert: remove bloat that's not needed after the fix to pipeline
2012-10-09 23:11:05 +02:00
Jakob Schnitzer
a2ff20979f
convert: Changed threading model to use beets.util.pipeline, fix embed
2012-10-09 14:05:54 +02:00
Jakob Schnitzer
aa3a66daad
Add option to disable embedding
2012-10-08 11:26:33 +02:00
Jakob Schnitzer
d1ab9267d0
Added lots of options, support MP3 as source
2012-10-07 22:19:15 +02:00
Jakob Schnitzer
3d580fc933
Added threads, cleaned up some of the code
2012-10-05 23:04:50 +02:00
Jakob Schnitzer
bbf974e581
First version of convert plugin
2012-10-05 20:56:59 +02:00