Commit Graph

1228 Commits

Author SHA1 Message Date
Samantha Baldwin
bdd3a72d20 remove radon reports 2018-03-01 20:19:20 -05:00
Joe
653446a170 Merge pull request #231 from calumchisholm/patch-1
Removed reference to unused "profile = flac" config option (issue #99)
2018-02-18 21:57:07 +01:00
Joe
f233abb848 Merge pull request #233 from thomas-mc-work/patch-1
fix CI build error with latest pycdio
2018-02-16 16:38:26 +01:00
Thomas McWork
de57b46d4b fix CI build error with latest pycdio 2018-02-12 15:11:24 +01:00
Calum Chisholm
e8fdd868d2 Removed reference to unused "profile = flac" config option (see issue #99) 2018-02-12 10:50:22 +08:00
JoeLametta
8179c3f79e Update README. Fix missing link in CHANGELOG file 2018-02-06 10:00:00 +00:00
JoeLametta
64a0cf4327 Push whipper v0.6.0 release 2018-02-02 18:00:00 +00:00
Joe
1909acdc7c Merge pull request #224 from JoeLametta/peak
Test HTOA peak value against 0 (integer comparison)
2018-02-01 15:21:48 +01:00
JoeLametta
00bf17082e Test HTOA peak value against 0 (integer comparison)
Now whipper uses the absolute value of SoX's peak level as internal peak value.

Fixes #143.
2018-02-01 15:14:42 +01:00
Merlijn Wajer
852f459ad8 Merge pull request #222 from vmx/run-as-module
Run whipper without installation
2018-01-31 17:36:03 +01:00
Joe
a786c3e981 Merge pull request #223 from calumchisholm/fix_template_description_text
Fix appearance of template description text.
2018-01-30 09:13:45 +01:00
Calum Chisholm
fe17e3b753 Fix appearance of template description text.
modified:   cd.py
2018-01-29 23:32:43 +08:00
Volker Mische
9208c06a16 whipper can now be run without build step 2018-01-29 03:40:43 +01:00
Volker Mische
3f9ce435df Make accuraterip_checksum found
If `accurate_checksum` was successfully built in `src` it will
automatically be found if whipper is run via `python -m whipper`.
2018-01-29 03:34:59 +01:00
Volker Mische
88c7abc0e5 Run whipper without installation
This commit makes it possible to run whipper directly with
`python -m whipper` from wither within the source directory
or with `PYTHONPATH` set to the source directory.
2018-01-29 01:47:41 +01:00
Joe
f49ecb56e5 Merge pull request #218 from MerlijnWajer/remove-doc-release
Remove doc/release
2018-01-27 17:15:53 +01:00
Merlijn Wajer
9ad620e53d common/checksum: Actually use is_wave 2018-01-27 01:55:23 +01:00
Merlijn Wajer
71f5e2f282 Remove doc/release 2018-01-26 23:31:32 +01:00
Merlijn Wajer
f0653f730f Merge pull request #217 from MerlijnWajer/fix-136
Fix resuming previous rips
2018-01-26 23:19:26 +01:00
Merlijn Wajer
6bd389b7b1 Fix resuming previous rips
Thanks to Freso for testing.

command/cd: Only call makedirs when dir does not exist
common/checksum: Support flac input files

Fixes #136
2018-01-26 23:16:41 +01:00
Joe
a34942e38d Changed cdparanoia dependency to cd-paranoia
Now whipper requires libcdio's `cd-paranoia` instead of Xiph's `cdparanoia`.
2018-01-26 09:18:16 +01:00
Merlijn Wajer
5dbb197681 Switch to libcdio-cdparanoia (from cdparanoia) (#213)
* Switch to libcdio-cdparanoia (from cdparanoia)

Next commits will add a choice to fall back to the old one, or pick a
different name. But let's get this ready for testing now.

* Add libcdio-utils to .travis.yml

* Parse libcdio-paranoia version instead of cdparanoia

* Remove useless digit checking test
2018-01-26 09:01:01 +01:00
Joe
cac64f0977 Merge pull request #211 from JoeLametta/reST
Convert docstrings to reStructuredText
2018-01-12 11:50:12 +01:00
JoeLametta
3b1bd242d0 Convert docstrings to reStructuredText
This commit also includes:

  - whitespace / code formatting fixes
  - slight syntax related changes: except <exception_name>, e -> except <exception_name> as e
  - 3 pointless instructions instances have been rewritten [sorted] (spotted by semi-automatic check)

The unrelated changes shouldn't have any real impact on whipper's behaviour.
2018-01-12 11:42:24 +01:00
Merlijn Wajer
74e3f7b77d Merge pull request #210 from naiveaiguy/custom-mbserver
Enable connecting to a custom MusicBrainz server
2018-01-07 00:31:32 +01:00
Eshan Singh
7d154a3cfe Refuse any url with a scheme or path 2018-01-05 17:51:57 +05:30
Eshan Singh
04c25ca644 Add tests for get_musicbrainz_server 2018-01-05 17:51:49 +05:30
Eshan Singh
e2e8676e4d Enable connecting to a custom MusicBrainz server
Under the new [musicbrainz] section in the config,
you can set a server to connect to.

Closes #172.
2018-01-05 17:29:28 +05:30
JoeLametta
75a3d4bce1 Fix two PEP8 errors 2018-01-04 20:58:00 +01:00
Joe
1247c94e8c Merge pull request #195 from RecursiveForest/restore-flac-extension
restore .flac extension
2017-11-06 09:16:13 +01:00
Joe
fef437f93e Remove redundant error reporting line
Fixes #198.
2017-10-08 22:38:51 +02:00
Joe
f54c4bb040 Merge pull request #199 from LingMan/patch-1
Fix recently introduced Python 3 incompatibility
2017-10-08 22:22:12 +02:00
LingMan
d97371dbc7 Fix recently introduced Python 3 incompatibility
Fixes d4aad57188
2017-09-30 02:52:11 +02:00
Samantha Baldwin
00169792d7 restore .flac extension 2017-09-19 14:27:28 -04:00
JoeLametta
a3e92606c5 Merge pull request #187 from RecursiveForest/rewrite-accuraterip
AccurateRip V2 support
2017-09-15 23:12:40 +02:00
Samantha Baldwin
d4aad57188 fix minor string handling minibugs 2017-09-15 16:10:22 -04:00
gorgobacka
7ae27de32b Fix artist name (#156)
* Use artist-credit->name

Use artist-credit->name, if it exists. Otherwise use artist-credit->artist->name.

* Add test case

* Fix for PEP8

* transform comment to docstring

* reject 'recording artist name' in favour of 'release artist name'

* reject 'recording artist name' in favour of 'release artist name'
2017-09-14 22:25:28 +02:00
Samantha Baldwin
d6424374a8 program.py: more robust write_m3u() 2017-09-11 18:52:23 -04:00
Samantha Baldwin
311084c4fd offset.py: handle accurip response not found 2017-09-10 22:47:08 -04:00
Samantha Baldwin
94b9a1bbf6 fix image verify:
- accurip.py: raise exception if accuraterip db entry not found
- program.py: verify image with only one table, remove redundant check
2017-09-10 22:35:10 -04:00
Samantha Baldwin
b98cc32fd0 program.py: correct m3u htoa handling 2017-09-10 21:53:08 -04:00
Samantha Baldwin
a482c86832 potentially fix UnicodeEncodeError 2017-09-09 16:04:58 -04:00
Samantha Baldwin
b936aff000 fix htoa getPath bug 2017-09-09 15:31:28 -04:00
Samantha Baldwin
e4ca5c0a7f fix bare raise, fix fencepost error 2017-09-09 15:12:00 -04:00
JoeLametta
158fab278f Merge pull request #188 from ubitux/misc-fixes
Misc fixes
2017-09-09 20:20:58 +02:00
Clément Bœsch
984dd524ef README: document developer installation as user
If you're looking into running uninstalled, you likely don't want to
setup as root.
2017-09-08 21:14:00 +02:00
Clément Bœsch
6938c506bb basecommand: use logger.critical() instead of sys.stderr.write()
As a side effect, this fixes the missing trailing line break.
2017-09-08 20:56:18 +02:00
Clément Bœsch
a7d70c6a56 cd: remove weird redundant "default default" help string 2017-09-08 19:54:49 +02:00
JoeLametta
47842c2d2a Update README.md 2017-09-08 14:11:00 +02:00
Samantha Baldwin
a72ae82f0d test_common_accurip: remove leftover line 2017-09-07 14:56:29 -04:00