Commit graph

3991 commits

Author SHA1 Message Date
Adrian Sampson
5c2ca2ba59 Merge pull request #985 from IndiGit/master
added bpd option for initial volume setting
2014-09-30 11:28:01 -07:00
Ralf Sieger
2ead4d352a Added documentation about the new volume option 2014-09-30 19:14:33 +02:00
Ralf Sieger
ab5c5dcfd5 added option for initial volume setting 2014-09-30 09:34:04 +02:00
Adrian Sampson
6348164e9a Merge pull request #984 from sampsyo/reimport-metadata
Re-imports: preserve added dates and flexible attributes
2014-09-29 10:32:18 -07:00
Adrian Sampson
f88a960a63 Changelog for #984
[ci skip]
2014-09-28 11:50:05 -07:00
Adrian Sampson
06b4730105 Re-import tests: stub out *_for_id functions
Currently, these just return no results. (For our testing purposes, the
matches we get from the ordinary metadata search suffice just fine.)
2014-09-28 11:39:04 -07:00
Adrian Sampson
e69ee5136a Fix "X of Y items replaced" log message
This was erroneous before: it always said "N of N" due to the presence of
empty lists.
2014-09-28 11:22:27 -07:00
Adrian Sampson
a3eef35ba8 Test singleton re-imports 2014-09-28 11:16:38 -07:00
Adrian Sampson
f367a0971c Re-import test: check item-level data preserved 2014-09-28 11:04:25 -07:00
Adrian Sampson
e8d2ade167 Basic re-import tests 2014-09-28 10:58:43 -07:00
Adrian Sampson
d13d6ed1c1 Modernize logging
Unicode strings, .format() templating, and displayable_path sanitation. Really
makes me wish for automatic formatting stuff in the logger...
2014-09-28 10:31:23 -07:00
Adrian Sampson
0bbf027a4d Standardize docstring style 2014-09-28 10:22:31 -07:00
Adrian Sampson
1ce3b9b064 Merge branch 'master' into reimport-metadata
Conflicts:
	beets/importer.py
2014-09-28 10:21:44 -07:00
Adrian Sampson
582dbf6b34 Fix ArtResizer.local property (fix #983) 2014-09-27 11:29:38 -07:00
Adrian Sampson
a29b5fd750 Slight docs rewording 2014-09-27 11:24:52 -07:00
Stig Inge Lea Bjørnsen
62f63e5c32 Comply with PEP8. 2014-09-27 18:47:42 +02:00
Stig Inge Lea Bjørnsen
020e8e27d8 Fix for import and reimport of singleton items. 2014-09-27 18:19:04 +02:00
Stig Inge Lea Bjørnsen
6eb4afb35f Remove unnecessary database queries during reimport. 2014-09-27 18:11:49 +02:00
Fabrice L.
54c9761135 Merge pull request #981 from KraYmer/lyrics-enh
Lyrics scraping code refactored
2014-09-27 11:25:06 +02:00
Fabrice L.
d2db6ae88b Update embedart.rst
add info about threshold for similarity
2014-09-27 11:23:46 +02:00
Fabrice Laporte
3ef52e8ead lyrics.py: remove unnecessary re compile step 2014-09-26 07:08:54 +02:00
Adrian Sampson
d17c148e52 Minor fixes, changelog for #974 2014-09-25 15:33:52 -07:00
Adrian Sampson
4f2d7e0aaa Merge pull request #974 from KraYmer/fetchart_issue848_2
embedart: write candidate image only if it is "similar" to already embedded one (suite)
2014-09-25 15:25:46 -07:00
Fabrice Laporte
3a748f3294 add test_is_page_candidate() 2014-09-25 00:05:29 +02:00
Fabrice Laporte
a6a83be434 fix flake8 2014-09-24 23:30:38 +02:00
Stig Inge Lea Bjørnsen
c6a08a08a5 Add support for reimporting flexible attributes.
Move the reimport and replaced item logic into separate methods:

* ImportTask.record_replaced()
* ImportTask.remove_replaced()
* ImportTask.reimport_metadata()
2014-09-24 22:02:29 +02:00
Fabrice Laporte
879fc8d3ca add LyricsGooglePluginTest to test_lyrics.py 2014-09-24 18:04:37 +02:00
Fabrice Laporte
76b658b14a use beautiful soup strainer for a x20 performance gain! 2014-09-24 18:04:16 +02:00
Adrian Sampson
ee9e51d3cc beet convert -y should not need an argument 2014-09-24 08:01:06 -07:00
Fabrice Laporte
8ef7837d22 merge strip_cruft() and _scrape_normalize_eol() into _scrape_strip_cruft 2014-09-24 16:51:54 +02:00
Adrian Sampson
fc2c75ee9c Tests for mkdirall
A red herring. I thought this might be responsible for #969.
2014-09-23 18:49:38 -07:00
Fabrice Laporte
333591fd78 no html entities in _scrape_streamline_soup output 2014-09-24 00:25:50 +02:00
Fabrice Laporte
da6bcda4af add lyrics rsrc files 2014-09-23 18:05:08 +02:00
Fabrice Laporte
7e3676ecc9 sort sources in alphabetical order
remove test_sources_fail() (all sources pass now)
2014-09-23 18:01:05 +02:00
Fabrice Laporte
91a7eb249c add _scrape_merge_paragraphs lyrics scraping step + others scraping enh 2014-09-23 17:58:58 +02:00
Fabrice Laporte
a938e68c98 refactor scrape_lyrics_from_url into smaller functions 2014-09-23 13:21:31 +02:00
Adrian Sampson
ea89cf32eb Merge pull request #977 from KraYmer/lyrics_test
Lyrics test
2014-09-22 09:38:11 -07:00
Fabrice L.
151ee87d8d remove a log.info() 2014-09-22 17:32:15 +02:00
Fabrice Laporte
168a24ad77 test_lyrics.py: improve lyrics module coverage 2014-09-22 17:28:02 +02:00
Fabrice Laporte
1dd4ca1d81 lyrics_sources: put sources in their correct category 2014-09-22 17:21:29 +02:00
Fabrice Laporte
aea640d241 lyrics.py: fix regexes used by strip_cruft (make them case insensitive)
strip_cruft() should now correctly replace all <br> with \n thus making
insert_line_feeds() and sanitize_lyrics() functions superfluous (they have been
removed).
2014-09-22 17:20:25 +02:00
Fabrice Laporte
d2cf41fc70 restore command_output() implementation as of 0ec285f 2014-09-22 13:49:23 +02:00
Fabrice Laporte
a0c38a07a6 artresizer: parse output of identify command to check IM version
we used to parse `convert` output but `convert` happens to be a
Windows cli command too. using `identify` is less error prone.
2014-09-22 13:45:53 +02:00
Fabrice Laporte
e4180e406e fix flake8 2014-09-21 14:44:22 +02:00
Fabrice Laporte
c1224caab5 Merge branch 'fetchart_issue848'
Conflicts:
	test/test_embedart.py
2014-09-21 14:23:59 +02:00
Fabrice Laporte
f5520d7ec9 fix flake8 warnings 2014-09-20 12:27:27 +02:00
Fabrice Laporte
d684229816 skip art compare tests if no recent IM version 2014-09-20 12:26:36 +02:00
Fabrice Laporte
1c2448c3e0 add can_compare flag to ArtResizer 2014-09-20 12:19:10 +02:00
Adrian Sampson
4f3a52a26f release.py: Prettify foo-cmd in ReST changelog 2014-09-19 11:07:40 -07:00
Adrian Sampson
dcc63e9824 release.py: Fix bumping setup.py version 2014-09-19 11:05:18 -07:00