Fabrice Laporte
6cfc106b8a
better docs and debug msg
2016-04-14 08:31:55 +02:00
Fabrice Laporte
58df77e2cb
langdetect conditional import
2016-04-14 08:31:14 +02:00
Fabrice Laporte
e03c3af91f
don't translate lyrics already in the target language
2016-04-14 01:11:14 +02:00
Fabrice Laporte
66a627fed8
restore module docstring
2016-04-14 00:58:42 +02:00
Fabrice Laporte
6d90dfea24
add doc for bing translate api related options
2016-04-14 00:54:26 +02:00
Fabrice Laporte
3c2479ab49
translate lyrics using Bing API
...
By subscribing to Microsoft Translator API, one can now activate the
translation of lyrics from one set of source langages to a target
langage.
Translations are appended to each original sentence using ‘/‘ as
separator.
2016-04-14 00:53:58 +02:00
Fabrice Laporte
d67950cdcc
pep8
2016-04-14 00:45:55 +02:00
wordofglass
1cc4d11baf
Fetchart: fix tests and fetachart logic
2016-04-13 22:56:18 +02:00
wordofglass
a4994d2bf8
fetchart: fix more tests
2016-04-06 01:36:32 +02:00
wordofglass
bc877a6d7f
fetchart: fix tests (mostly pep8, syntax)
2016-04-06 01:19:44 +02:00
wordofglass
bbc06e9de9
fetchart: Adapt ArtForAlbumTest
2016-04-05 23:24:30 +02:00
wordofglass
a2141c6f3a
fetchart: fix refactoring
2016-04-05 22:44:13 +02:00
wordofglass
206a88caff
fetchart: Adapt ArtImporterTest
2016-04-05 22:43:17 +02:00
wordofglass
4b4a0e8bd3
fetchart: Adapt AAOTest, GoogleImageTest
2016-04-05 21:52:30 +02:00
wordofglass
02892a41aa
fetchart: Adapt CombinedTest
2016-04-05 21:34:58 +02:00
Adrian Sampson
1d3637e507
Fix typo in changelog
2016-04-03 18:00:44 -04:00
Adrian Sampson
cb498e0772
Fix tests for #1927 fix
2016-04-03 17:50:18 -04:00
Adrian Sampson
fa2aa82a0d
Fix #1927 : useful error message for failed edit
2016-04-03 17:42:25 -04:00
Adrian Sampson
3f4f077272
edit: Log the invoked command
2016-04-03 17:38:40 -04:00
wordofglass
31aff68150
fetchart: Adapt FetchImageTest, FSArtTest
2016-03-25 16:25:00 +01:00
wordofglass
50bf28edd4
move constants into Candidate
2016-03-23 16:46:39 +01:00
wordofglass
8356e7d33d
fix syntax
2016-03-23 00:47:11 +01:00
wordofglass
1cfd039da4
Update fetchart documentation.
2016-03-22 21:09:05 +01:00
wordofglass
b37cc02f1a
fetchart: Introduce the Candidate class, some fixes to the previous commit.
2016-03-22 20:52:25 +01:00
wordofglass
c0a041b87e
fetchart: Unify handling of local and remote sources.
2016-03-22 19:42:16 +01:00
Adrian Sampson
210e7b482f
Merge pull request #1915 from tissieres/master
...
importadded: preserve mtime after any write
2016-03-22 09:38:52 -07:00
Cédric Tissières
e5be804802
importadded: adapt doc for new option preserve_write_mtimes
2016-03-22 06:24:09 +01:00
Cédric Tissières
8ef36198fb
importadded: preserve mtime after any write
2016-03-21 20:47:05 +01:00
Adrian Sampson
d1753b341e
lyrics: Some comments and better naming
2016-03-21 10:28:30 -07:00
Adrian Sampson
f684f29a25
lyrics: Tolerate pages without text ( fix #1914 )
2016-03-21 10:24:13 -07:00
Adrian Sampson
c9be5bc7d1
Merge pull request #1911 from jackwilsdon/fix-musixmatch-url
...
Fix MusixMatch issues
2016-03-18 11:51:27 -04:00
Adrian Sampson
9fac645b11
Changelog for #1912 (part of #1909 )
2016-03-18 11:49:24 -04:00
Adrian Sampson
017b9cf592
Merge pull request #1912 from jackwilsdon/fix-lyricswiki-parsing
...
Fix LyricsWiki scraping code
2016-03-18 11:46:53 -04:00
Jack Wilsdon
60148918d9
Fix LyricsWiki scraping code
...
LyricsWiki now escapes song lyrics using HTML entities (presumably to
prevent scraping), so we now unescape these before parsing.
LyricsWiki has also added a script tag inside the div we are scraping,
so we have to remove this using `scrape_lyrics_from_html`.
2016-03-17 17:49:41 +00:00
Jack Wilsdon
0689279e67
Update changelog to reflect changes to lyrics plugin
2016-03-17 14:49:01 +00:00
Jack Wilsdon
c417003184
Add missing newline
2016-03-16 21:07:28 +00:00
Jack Wilsdon
1ec06e14c5
Fix lyrics extraction from MusiXmatch
...
Remove "lyrics_" prefix from extract_text_between arguments to reflect
changes made to the MusiXmatch website.
2016-03-16 20:48:57 +00:00
Jack Wilsdon
44c799320f
Improve URL generation in lyrics plugin
...
Allow custom replacements to be defined in subclasses of
SymbolsReplaced.
Replace spaces with a hyphens when the source is MusiXmatch, instead of
(incorrectly) using underscores. This fixes #1880 .
2016-03-16 20:46:36 +00:00
Adrian Sampson
8a0b18c960
Fix #1903 : scrub sometimes ignored id3v23
2016-03-15 23:06:10 -04:00
Adrian Sampson
c18b5dbadd
Fix #1907 : redact MusicBrainz password
2016-03-11 16:50:32 -05:00
Adrian Sampson
6dca74099d
Merge pull request #1902 from intelfx/fix-1901
...
treewide: add `u` to instances of 'singleton:true'
2016-03-05 15:22:07 -08:00
Ivan Shapovalov
4d40b058d3
treewide: add u to instances of 'singleton:true'
...
Fixes #1901 .
2016-03-06 02:12:43 +03:00
Adrian Sampson
abf2511002
Merge pull request #1887 from beetbox/no_unicode_literals
...
remove import of unicode_literals
2016-03-02 18:47:52 -08:00
Adrian Sampson
eac7d64545
Merge branch 'master' into no_unicode_literals
2016-02-28 15:21:43 -08:00
Adrian Sampson
e54c7eec3d
Standardize __future__ imports without parentheses
...
Since the list is short enough now, we don't need parentheses for the line
wrap. This is a little less ugly.
2016-02-28 15:03:51 -08:00
Adrian Sampson
d53019f9db
Further whitespace fiddling
...
Most commonly, this sticks with:
log.debug(
'some long message here'
)
instead of placing the closing ) at the end of the string literal.
2016-02-28 14:48:10 -08:00
Adrian Sampson
1478ba734f
__repr__ and __str__ return "native" strings
2016-02-28 14:27:39 -08:00
Adrian Sampson
ad1bab63ed
Fiddle with whitespace
2016-02-28 14:18:50 -08:00
Adrian Sampson
7c30f56271
Another regex literal
2016-02-28 14:17:01 -08:00
Adrian Sampson
c16201a795
Keep raw literals for regular expressions
2016-02-28 14:10:11 -08:00