Commit Graph

1064 Commits

Author SHA1 Message Date
Samantha Baldwin
a99ca78acf undelete overzealously removed plugin initialisation (#61)
* undelete overzealously removed plugin initialisation
* tersify pkg_resources/directory calls since we don't care about errors
2016-11-03 09:47:19 +01:00
JoeLametta
c279e8b214 Raise Exception when track rip runs out of attempts
Should fix #57
2016-10-30 10:24:31 +01:00
JoeLametta
9f6095a23b Fix error in logger.py
Solves #58
2016-10-30 09:07:32 +01:00
JoeLametta
f6924edf48 Logger update
* improved code clarity
* added a bit of documentation
* removed peak level's erroneous percent sign
* removed morituri compatibility code paths
2016-10-27 20:53:06 +02:00
JoeLametta
203fd7a70c Merge pull request #55 from chrysn-pull-requests/fix-executable-flag
README.md: drop executable flag
2016-10-27 12:34:04 +02:00
chrysn
926df4d7aa README.md: drop executable flag
The flag seems to have been set accidentally in dceb10f4.
2016-10-26 18:14:55 +02:00
Samantha Baldwin
d7f8557426 replace cdrdao.py with much simpler version (#52)
* replace cdrdao.py with much simpler version
* more pythonic syntax for cdrdao.read_toc(fast_toc=) switching
* fix silly typo
2016-10-22 10:32:18 +02:00
Samantha Baldwin
8721ba1caf standardise program/sox.py formatting, add test case, docstring (#53)
* standardise program/sox.py formatting, add test case
* add program/sox.peak_level() docstring
* update .travis.yml to include sox as a test dependency
* move sox from test dependency to normal dependency
* update README to mention sox, remove small autoconf mention
* use .splitlines() instead of .split('n')
2016-10-21 23:54:13 +02:00
Samantha Baldwin
566414c939 nuke-autohell (#54)
* remove m4 directory
* remove leftover Makefile.am after confirming its uselessness
* remove another useless autoconf Makefile.am
2016-10-21 11:33:05 +02:00
JoeLametta
4636c55233 Update CI tests
* slightly updated the README file
* updated morituri version number in cue tests
* commented out a portion of testAccurateRipChecksum (it should be updated/fixed later on)
2016-10-20 09:57:05 +02:00
JoeLametta
042abce68c Merge pull request #51 from JoeLametta/setuptools
use setuptools, remove autohell, use raw make for src/
2016-10-20 09:17:45 +02:00
Samantha Baldwin
2dae462677 update .travis.yml to reflect setuptools migration 2016-10-20 01:11:40 -04:00
Samantha Baldwin
063876b575 use setuptools, remove autohell, use raw make for src/ 2016-10-19 17:54:01 -04:00
Samantha Baldwin
b2ca3167eb Sox (#48)
* update README to force python2
* add support for PRE_EMPHASIS detection; mark pre-emphasis as FLAGS PRE in .cue
* correct typo, s/ivar/type/ for pre_emphasis element in track table
* add SoxPeakTask, program/sox module, sox.peak_level()
* use sox peak detection in lieu of gstreamer
2016-10-17 15:42:17 +02:00
JoeLametta
3a2e3021c2 Update README.md
Added information about the new dependencies
2016-10-15 21:20:54 +02:00
JoeLametta
7749c199e3 Merge pull request #37 from MerlijnWajer/fast-accuraterip-checksum
Fast accuraterip checksum
2016-10-15 20:34:51 +02:00
Merlijn Wajer
bce359f9d5 Use Fast version of AccurateRipChecksumTask
There are still some changes required to make whipper handle ARv2 checksums,
currently doesn't call the Task for a V2 checksum. V1 should keep working as-is.
2016-10-15 19:15:27 +02:00
Merlijn Wajer
9ae279c811 Add and use FastAccurateRipChecksumTask 2016-10-15 19:15:27 +02:00
Merlijn Wajer
d1f0165cf3 Add accuraterip-checksum program 2016-10-15 19:15:27 +02:00
JoeLametta
2983fc3d03 Removed examples and gtk related files 2016-10-15 17:28:21 +02:00
JoeLametta
8b5ce57fcd Definitive fix to getConfig
Previous commit was wrong.
2016-10-14 23:46:30 +02:00
JoeLametta
985cf2d288 Fix previous commit
Configuration file path was declared but never explicitly created (even when not available).
Should be fixed now.
2016-10-14 23:37:17 +02:00
JoeLametta
746dc6599d Issue24 (#42)
* Address issue #24
* Remove getReadCaches() & replace it with getCache()

Now whipper always follows XDG specifications. All changes were documented into the README file.

The changes introduced here aren't backward compatible so, after updating whipper, you may need to configure it again (old config file are retained, though).
2016-10-09 17:26:06 +02:00
JoeLametta
4d81a02f0c Update .travis.yml (#39)
* Travis CI - Added libsndfile1-dev as a dependency
2016-09-20 14:42:01 +02:00
JoeLametta
183cd1b397 Remove python-deps leftovers 2016-09-19 11:40:15 +02:00
JoeLametta
67ea220604 Make pycdio dependency not overridable 2016-09-05 17:14:11 +02:00
JoeLametta
e7ff3c1b07 Merge branch 'issue23' 2016-08-28 18:34:15 +02:00
JoeLametta
3f15dcbd4d Fix merge conflict 2016-08-28 18:33:21 +02:00
JoeLametta
38810796ba Remove thomasvs' python-deps (#31)
* Crude removal of thomasvs' python-deps
* Fix previous commit
2016-08-27 17:33:18 +02:00
JoeLametta
122e22d595 Add support for and include used logger info into whipper's logfile (#30) 2016-08-27 17:27:41 +02:00
JoeLametta
8c83c4a4cb Merge logger codebase with morituri-yamllogger's one 2016-08-25 19:28:47 +02:00
JoeLametta
84c2d2439c Commented out broken tests 2016-08-17 00:30:21 +02:00
JoeLametta
52181a92a4 Logger PEP8 fix
E122 continuation line missing indentation or outdented
2016-07-27 14:46:19 +02:00
JoeLametta
ae3d4da2e5 Really fix 9099da2
Too many parentheses: I got confused
This one should finally solve:

```python
TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
```
2016-07-27 12:09:16 +02:00
JoeLametta
956701eb87 Update README.md 2016-07-25 10:20:56 +02:00
JoeLametta
c9e281f443 Update .travis.yml 2016-07-25 10:15:16 +02:00
JoeLametta
e1050d56c2 Update README
pyxdg now mentioned.
2016-07-25 10:13:45 +02:00
JoeLametta
742879ac94 Allow overriding pycdio dependency
Keep in mind overriding isn’t the suggested behavior.
2016-07-25 09:56:00 +02:00
JoeLametta
b5c22da76d Address issue #23
Moved to its own branch.

It should work.
In the future this commit could be improved providing a way to override
pycdio hard dependency.
2016-07-24 22:53:26 +02:00
JoeLametta
578b657b0c Revert "Address issue #23"
This reverts commit 71422bd96b.
2016-07-24 22:47:04 +02:00
Samantha Baldwin
b97e0a72e3 PRE_EMPHASIS (#27)
* update README to force python2

* add support for PRE_EMPHASIS detection; mark pre-emphasis as FLAGS PRE in .cue

* correct typo, s/ivar/type/ for pre_emphasis element in track table
2016-07-24 22:43:29 +02:00
JoeLametta
71422bd96b Address issue #23
Should work.
In the future this commit could be improved providing a way to override
pycdio hard dependency (command line argument).
2016-07-23 11:47:10 +02:00
Samantha Baldwin
cc898c2751 update README to force python2 2016-07-23 10:52:07 +02:00
JoeLametta
9099da2ace Fix previous commit
Hopefully this one fixes a privately reported regression introduced
with the previous commit.

```python
TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
```
2016-07-22 16:41:44 +02:00
JoeLametta
7977fe5429 Update README.md 2016-07-12 15:18:00 +02:00
JoeLametta
c801e88c5a Logger: log layout restructuring 2016-07-06 17:33:52 +02:00
JoeLametta
f1e080b7af Logger cosmetic fixes (again)
Missing line break, consistent AccurateRip summary result output.
2016-07-04 10:13:41 +02:00
JoeLametta
1a9f78e160 Logger cosmetic fixes 2016-07-01 11:29:00 +02:00
JoeLametta
0a142036ef Improve musicbrainzngs' results handling
Changes:

* whipper is now capable of handling musicbrainzngs’ bad server
responses (it throws an exception).
* whipper is now aware of musicbrainzngs’ possible “cdstub” response
and should handle it fine (ignoring the result because the informations
received are incomplete e/o unverified).

This commit should fix JoeLametta/whipper#22
2016-06-14 22:42:09 +02:00
JoeLametta
ae1b0b3213 whatlogger recent commits + include rip overread status into log
* Avoid including AccurateRip result for HTOA (corrected)
* Pedantic fix
* Check (and mention in the logfile) if the rip was done with the
`--force-overread` (or `-x`) switch enabled
2016-06-08 14:32:01 +02:00