Adrian Sampson
dd053d7723
changelog and style fixes for #665
2014-04-06 17:59:30 -07:00
Adrian Sampson
1d212eb126
Merge branch 'master' of github.com:sampsyo/beets
2014-04-06 17:56:40 -07:00
Adrian Sampson
7501072877
Merge pull request #665 from lee-reinhardt/fetchart-keyerror
...
Added extra checking to fetchart plugin.
2014-04-06 17:56:34 -07:00
Lee Reinhardt
bf05135e5f
Added extra checking to fetchart plugin.
...
Will avoid a KeyError being raised when Content-Type header is missing.
See #664 .
2014-04-06 14:42:51 -05:00
Yevgeny Bezman
9c00e43b30
changelog: added a note regarding the new replaygain plugin
2014-04-06 08:49:38 +03:00
Yevgeny Bezman
2a6e5c7273
Merge branch 'replaygain-backends'
...
Conflicts:
tox.ini
2014-04-06 08:45:35 +03:00
Adrian Sampson
1bb8991a60
windows guide: simplify pip installation
...
The get-pip.py script is immensely convenient and will get setuptools for you
if you don't have it already.
2014-04-05 18:46:05 -07:00
Adrian Sampson
c09bac603f
dbcore: types translate null values on assignment
...
In preparation for #660 , where we will allow MediaFile to expose None values
when tags are missing (and consume None to remove tags). This makes it
possible to hide nullness in the rest of beets by translating None to a
suitable zero-ish value on field assignment.
Types can of course opt out of this to preserve a distinct null value. We do
this now for the album_id field, which needs to be null to indicate
singletons.
Type.normalize() also enables more sophisticated translations (e.g., an
integer field could round off float values assigned into it) in the future.
2014-04-05 16:27:07 -07:00
Thomas Scholtes
1b434a7dae
Import original file when conversion fails.
...
Fixes previous test
2014-04-05 21:09:12 +02:00
Thomas Scholtes
0a08696add
Test convert error during import
...
When the conversion of an audio file fails during import the original should be
imported. See #659
2014-04-05 21:09:12 +02:00
Thomas Scholtes
41708865f5
Add helper for high-level tests
2014-04-05 21:09:12 +02:00
Adrian Sampson
c742ad631e
version bump: 1.3.5
2014-04-05 11:55:14 -07:00
Adrian Sampson
f44960c774
one day late
2014-04-05 11:39:11 -07:00
Adrian Sampson
44bd499af8
pretty up changelog for 1.3.4 release
2014-04-04 18:15:01 -07:00
Adrian Sampson
a6de671994
Merge branch 'master' of github.com:sampsyo/beets
2014-04-04 18:05:19 -07:00
Thomas Scholtes
4f844dfb92
Travis and gstreamer: I give up!
2014-04-04 23:15:39 +02:00
Thomas Scholtes
c77b030f15
Travis and gstreamer. One last try. Seriously.
2014-04-04 23:06:08 +02:00
Thomas Scholtes
6286bc0b0f
Include site-packages on travis and skip tests otherwise
2014-04-04 22:43:08 +02:00
Thomas Scholtes
5b277eedf8
Add replaygain test for command backend
2014-04-04 22:42:17 +02:00
Thomas Scholtes
1c598d4cee
Add replaygain target level for gstreamer
2014-04-04 22:42:17 +02:00
Yevgeny Bezman
b47e6dd4d4
replaygain: added a test for skipping already calculated items
2014-04-04 22:01:59 +03:00
Thomas Scholtes
04ab2be424
Final attempt at travis and gstreamer
2014-04-04 20:39:13 +02:00
Thomas Scholtes
5d40dc0fab
Fix typo in .travis.yml
2014-04-04 20:16:03 +02:00
Thomas Scholtes
c54d8cb96c
Add python-gi and bad gstreamer plugins to travis
2014-04-04 20:09:44 +02:00
Thomas Scholtes
43f2c483b7
Install gstreamer1.0 on travis
2014-04-04 19:58:34 +02:00
Thomas Scholtes
5d666fa4e7
Reset config and plugins after tests
2014-04-04 19:52:39 +02:00
Thomas Scholtes
81a2433e9d
Use GLib.MainLoop instead of deprecated GObject
2014-04-04 19:46:43 +02:00
Thomas Scholtes
81f53fb0d2
Add basic cli tests for replaygain
2014-04-04 19:44:16 +02:00
geigerzaehler
694150410b
Merge pull request #652 from geigerzaehler/item-write
...
Add path argument to item.write()
2014-04-04 19:30:44 +02:00
Yevgeny Bezman
cf49d88156
replaygain: clarified the need to strange thread initialization|
2014-04-04 20:20:14 +03:00
Yevgeny Bezman
d8c37d6ca3
replaygain: Added a FatalReplayGainError class to signal the plugin that the backend failed completely
2014-04-04 19:17:41 +02:00
Thomas Scholtes
a5bdbdcf7f
Move available backends to class level
...
See also https://github.com/sampsyo/beets/issues/650
2014-04-04 19:17:41 +02:00
Thomas Scholtes
439fc1938f
Remove debug print statements
2014-04-04 19:17:41 +02:00
Thomas Scholtes
89680d835a
Refine docstrings and fix style issues (flake8)
2014-04-04 19:17:41 +02:00
Yevgeny Bezman
6aa1cc95cb
replaygain: Improved error handling
2014-04-04 19:17:41 +02:00
Yevgeny Bezman
2d9f40d62d
replaygain: fixed small errors introduced by previous refactor. Commented the code in key parts.
2014-04-04 19:17:41 +02:00
Yevgeny Bezman
71a447fac1
replaygain: Update documentation to include some info regarding the GStreamer backend
2014-04-04 19:17:41 +02:00
Adrian Sampson
08b2bff28d
eliminate GStreamer globals and initialize_config
2014-04-04 19:17:41 +02:00
Adrian Sampson
2369122075
minor Python style; move namedtuples to module
2014-04-04 19:17:41 +02:00
Yevgeny Bezman
d2c6d00b7b
replaygain: Added some informative prints, removed hardcoded debug print
2014-04-04 19:17:40 +02:00
Yevgeny Bezman
9581b91e10
replaygain: Added gstreamer support, fixed some small bugs
2014-04-04 19:17:40 +02:00
Yevgeny Bezman
86ee30df0d
replaygain: modified current implementation to fit a backend framework in anticipation of other implementations
2014-04-04 19:17:40 +02:00
Thomas Scholtes
4970c1de5a
Add tests for item.write() custom path
2014-04-04 15:19:32 +02:00
Thomas Scholtes
766c8b190b
Add path argument to item.write()
...
Symmetrical to item.read(), this allows us to update the tags of files that are
not in the library. The motivation was this issue [1].
The commit also includes a nasty hack in the plugin code that prevents breaking
other plugins.
[1]: https://github.com/geigerzaehler/beets-check/issues/1
2014-04-04 14:56:10 +02:00
Thomas Scholtes
ee2cf0df8e
Plugins can't extend MediaFile anymore
...
Backported from #607 .
See https://github.com/sampsyo/beets/pull/607#issuecomment-38387100
This will be return in #644 .
2014-04-04 14:28:47 +02:00
geigerzaehler
1d815b3734
Merge pull request #651 from sahandKashani/patch-1
...
bash completion documentation fix for GNU Bash-4.2
2014-04-04 11:45:51 +02:00
sahandKashani
3d675b2339
bash completion documentation fix for GNU Bash-4.2
...
In GNU Bash-4.2, I have to put quotes around the eval statement for the shell to correctly interpret the output of the beet completion command.
2014-04-04 09:28:53 +02:00
Adrian Sampson
fba8949e2f
tox: pass args through to nosetests
...
This way, you get parallel testing by passing --processes=N.
You can get even more parallelism using detox:
$ detox -- --processes=4
2014-04-03 20:25:04 -07:00
Adrian Sampson
b1ae7cb692
whitespace fixes in util
2014-04-03 19:56:59 -07:00
Adrian Sampson
4e2b35f372
avoid use of deprecated os.popen
2014-04-03 19:54:15 -07:00