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
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
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
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
Adrian Sampson
c5174b3881
use command_output utility in echonest
...
That's the last direct use of the subprocess calls.
2014-04-03 19:51:50 -07:00
Adrian Sampson
d407db725f
convert: catch OSErrors and display error message
...
This also adds close_fds (only available on Unixes) to the common subprocess
invocation utility.
2014-04-03 19:47:21 -07:00
Adrian Sampson
ac99622ec7
Merge branch 'single-files'
...
Conflicts:
docs/changelog.rst
2014-04-03 13:20:53 -07:00
Adrian Sampson
7f9e301428
fix tests for cached weights loading
2014-04-03 13:17:38 -07:00
Thomas Scholtes
2011156f8b
Add test case for single file import
2014-04-03 22:13:31 +02:00
Adrian Sampson
b814168fb6
Merge branch 'master' of github.com:sampsyo/beets
2014-04-03 13:01:05 -07:00
Adrian Sampson
729e001432
benchmark: customizable album ID
2014-04-03 13:00:20 -07:00
Thomas Scholtes
eaab0bcc6e
Enable coverage with tox -e py27
2014-04-03 21:46:54 +02:00
Adrian Sampson
3372fd3066
avoid unnecessarily reloading weights ( #609 )
...
In my profiling runs, this was taking 80% of the matching time to recompute
exactly the same dict over and over. Worth optimizing.
`beet bench_match` went from 80 seconds to 17 seconds on my machine with this
change.
2014-04-03 12:13:29 -07:00
Adrian Sampson
9285f669e9
style fixes in match.py
2014-04-03 11:58:00 -07:00
Adrian Sampson
cd57c8da7f
benchmarking for slow matches
...
Investigating #609 . The culprit seems to be repeated reading of the config's
weight settings.
2014-04-03 11:56:26 -07:00
Adrian Sampson
d116e03bed
ensure lists of paths are passed to ImportTask
...
Also change the variable name from `path` to `paths` to reflect this.
2014-04-02 21:57:30 -07:00
Adrian Sampson
c6abfa57c7
docs: link to beets-check plugin
2014-04-02 21:20:03 -07:00
Adrian Sampson
b683f239f0
some style tweaks for #638
2014-04-02 21:18:41 -07:00
Adrian Sampson
0c049f2e5c
tox: restore pypy/py26 configs, sphinx -q ( #643 )
2014-04-02 20:47:04 -07:00
Adrian Sampson
c4be9c273f
Merge pull request #643 from geigerzaehler/tox-flake8-travis
...
Use tox to test on travis and add docs and flake8
2014-04-02 20:39:22 -07:00
Adrian Sampson
c9141a6adf
import single files and one-track albums
...
An alternate proposal for what's being discussed in #640 .
2014-04-02 17:14:48 -07:00
Thomas Scholtes
9fab6e7ca3
Use coverage only with py27
2014-04-03 01:52:21 +02:00
Thomas Scholtes
8488f665fc
Add sphinx dependency to tox virtual environment
2014-04-03 01:41:18 +02:00