Commit Graph

1149 Commits

Author SHA1 Message Date
Frederik “Freso” S. Olesen
52731e97c0 Remove old, commented out code
Some of this seems to be debug code which has been left in, some of it
seems to just be old code that was commented out and never put back in
and probably just forgotten about. Either way, we use git for a reason,
so there's no need for these code snippets to stick around. The code
history can be inspected and old code retrieved that way.
2017-05-19 19:05:11 +02:00
Frederik “Freso” S. Olesen
8ebd329a19 Fix capitalisation of MusicBrainz everywhere
Make MusicBrainz consistently written as "MusicBrainz" and not
"musicbrainz" or "Musicbrainz".
Doesn't change instances that refer to the Python module or similar.
2017-05-19 01:16:45 +02:00
Frederik “Freso” S. Olesen
e75a54ee01 Fix typo in inline comment ("Ingore" → "Ignore") 2017-05-19 01:05:07 +02:00
JoeLametta
5b2639a329 Merge branch 'Freso-misc-file-cleanup' 2017-05-03 17:08:39 +02:00
JoeLametta
a3a592dc09 Merge branch 'misc-file-cleanup' of https://github.com/Freso/morituri into Freso-misc-file-cleanup
Conflicts:
	misc/show-coverage.py
2017-05-03 17:08:27 +02:00
JoeLametta
4fa8c4b9d2 Merge pull request #151 from Freso/flake8-fixups
Add flake8 testing to CI
2017-05-03 16:40:20 +02:00
Frederik “Freso” S. Olesen
f0692ba7d7 Remove "misc/whipper-uninstalled"
A script that sets up an environment for running whipper without
actually installing it. With the clean ups that have happened to whipper
as well as later developments in the Python eco system, simply setting
up a virtualenv and running whipper from within that seems like a more
reasonable approach at this time.

This also fixes https://github.com/JoeLametta/whipper/issues/47 by
removing the "morituri-uninstalled mode" completely. :)
2017-04-28 23:24:09 +02:00
Frederik “Freso” S. Olesen
0055e5367e Remove "misc/pycheckerrc"
Not actually used by anything in the current codebase and PyChecker
doesn't seem to be the recommended Python code style checker or linting
tool currently. If we need a configuration file for another tool later
on, we can make one then based on current need and wants.
2017-04-28 22:53:32 +02:00
Frederik “Freso” S. Olesen
99e146333d Add more statistics to flake8 output 2017-04-28 14:02:16 +02:00
Frederik “Freso” S. Olesen
82c990e030 Use in instead of deprecated .has_key() method 2017-04-28 13:54:38 +02:00
Frederik “Freso” S. Olesen
6be899632d Fix flake8 whitespace warnings.
Guided by the output of `flake8 --select=W`.
2017-04-28 13:47:11 +02:00
Frederik “Freso” S. Olesen
6c33d37b55 Run flake8 in Travis CI 2017-04-28 13:46:55 +02:00
Frederik “Freso” S. Olesen
182684dc12 Remove "misc/show-coverage.py"
Was added in 2009 and not updated since. There are several Python
coverage tools out there, and the current ./COVERAGE doesn't seem to be
generated using this script either.
2017-04-28 11:07:37 +02:00
Frederik “Freso” S. Olesen
280c3f1817 Remove "misc/pep8.py" (outdated PEP8 style checker)
pep8.py was added in 2012. Since then, we now have flake8 and a number
of other really good PEP 8 (and other style, best practice, etc.) code
checkers/linters. It doesn't make sense to track this directly in the
repository. If we want to do automated code style/sanity checking, we
should add a dependency on an actually maintained program/script rather
than keeping it locally in the repository.
2017-04-28 10:55:03 +02:00
JoeLametta
fc3cdbfebf Merge pull request #109 from Freso/fix-morituri-references
Fix references to morituri.
2017-04-27 18:03:08 +02:00
Torbjörn Lönnemark
185fff3e06 Fix fe105a11.pickle
> Loaded and re-saved in a different pickle format (the initial format).
> After that it's just search/replace
2017-04-27 00:17:53 +02:00
Frederik “Freso” S. Olesen
a20c25258d Remove "Morituri - for those about to RIP" lines. 2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
c719d9c077 Update filenames.
Note that the (internal) file names of
"whipper/test/cache/result/fe105a11.pickle" did not get updated, since
that breaks the tests for some reason.
2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
494a86d607 Rename default logger. 2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
cb0042c832 Update morituri references in inline documentation. 2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
ff309e468c Rename "morituri" module to "whipper".
Fixes https://github.com/JoeLametta/whipper/issues/100
2017-04-26 23:08:28 +02:00
Frederik “Freso” S. Olesen
b51f465841 Update .gitignore (#148)
* Make git ignore files generated by setup.py install
* Make git ignore coverage.py's data collection file
2017-04-26 18:49:04 +02:00
Frederik “Freso” S. Olesen
a8af9b79ab s/morituri/whipper/ in GPL copyright blurbs. 2017-04-26 16:09:13 +02:00
JoeLametta
17b70ce82b Fix Travis CI failure
I've updated whipper's version number value in the cue sheets used for testing purposes to make it match with the internal one
2017-04-24 16:33:17 +02:00
JoeLametta
3dad52df42 Update whipper release number in init.py
I'm going to tag this as a new amended version 0.5.1: no changes were done apart from the version number bugfix.
I've also included a code coverage report.

Fixes #147
2017-04-24 16:22:51 +02:00
JoeLametta
4dbdf59456 Remove GStreamer left out from .travis.yml
No big deal, missed it in my previous commit
2017-04-24 12:12:31 +02:00
JoeLametta
1abc54c59f Polish everything after PR #130
Updated README.md, CHANGELOG.md, .travis.yml
2017-04-24 11:54:37 +02:00
JoeLametta
223142f328 Merge pull request #130 from MerlijnWajer/remove-gstreamer
Rip out all code that uses gstreamer
2017-04-23 23:36:28 +02:00
Merlijn Wajer
3fbe7f4adf Remove dependency on gst from the README. 2017-04-23 23:07:52 +02:00
Merlijn Wajer
efd75ab110 EncodeTaskFlac -> FlacEncodeTask
Untested.
2017-04-23 23:06:54 +02:00
Merlijn Wajer
3526a24310 Add peaktask to morituri/command/debug.py
Untested; but should work.
2017-04-23 22:35:32 +02:00
Merlijn Wajer
304c66876b Fix several issues in the gstreamer removal PR
Patch by JoeLametta
2017-04-23 22:32:05 +02:00
JoeLametta
f873bd00da Merge pull request #140 from Freso/rm-gst-flacparse-notes
Remove notes related to GStreamer flacparse
2017-03-06 15:11:38 +01:00
JoeLametta
8c74d73106 Merge pull request #139 from ribbons/no-date-crash
Prevent a crash if MusicBrainz release date is missing
2017-03-06 15:10:41 +01:00
Frederik “Freso” S. Olesen
df9d1928ef Remove notes related to GStreamer flacparse
Thomas had assembled some notes related to GStreamer 0.10's flacparse.
See commits 862221c5fd
and 29ac4d49b6.

However, since GStreamer is being removed entirely[*], these notes are
not really relevant for current development/status of whipper.
So let's get rid of them.

[*] https://github.com/JoeLametta/whipper/pull/67 and
    https://github.com/JoeLametta/whipper/pull/121 and
    https://github.com/JoeLametta/whipper/pull/130
2017-03-06 11:51:32 +01:00
Matt Robinson
e66ff340d6 Prevent crash if MusicBrainz release date missing
If MusicBrainz returns data for the CD being ripped but no release date
is returned, we attempt to set the DATE tag to None (which is caught by
mutagen).  To resolve this, check if there is a value for release date
before setting.
2017-03-05 20:59:11 +00:00
JoeLametta
c710859215 Merge pull request #134 from ubitux/master
program: do not fetch 4 times musicbrainz metadata
2017-02-15 11:09:29 +01:00
Clément Bœsch
1775c6a8ec program: do not fetch 4 times MusicBrainz metadata 2017-02-14 21:45:20 +01:00
JoeLametta
2367286409 Merge pull request #132 from JoeLametta/fix-travis
Fix Travis CI build failures
2017-02-12 23:04:05 +01:00
JoeLametta
43cba71672 Update .travis.yml
Updated dependencies and hopefully fixed Twisted caused Travis CI build failure.
2017-02-12 22:57:17 +01:00
JoeLametta
ede0f32b19 Fix MusicBrainzngs overly verbose warning message
Fixes #131.
2017-02-12 20:35:49 +01:00
Merlijn Wajer
e7767694af Rip out all code that directly uses gstreamer
We can now rip CDs without gstreamer.

This is not the most clean attempt, but I have tried to remove most of the
code that depends on gstreamer. I hope there is not a lot of code left that
depends on code that I have removed - I can at least rip a CD fully.
2017-02-09 23:05:34 +01:00
Merlijn Wajer
0e395e5f0e Fix bug introduced in fb271f08c 2017-02-09 23:05:00 +01:00
JoeLametta
c2b64369e7 Merge pull request #124 from JoeLametta/issue120
Add pre-emphasis status reporting to whipper's logfiles
2017-02-05 18:47:25 +01:00
JoeLametta
fb271f08cd Add pre-emphasis status reporting to whipper's logfiles
Fixes #120
2017-02-05 18:18:27 +01:00
Merlijn Wajer
6ddb5d0114 Add gstreamer-less flac encoder and tagging (#121)
* Add encoding using Xiph.org 'flac' program.

This adds a FlacEncodeTask that encodes wave files to flac files.
This commit also replaces morituri's EncodeTask with FlacEncodeTask, however, in
morituri, EncodeTask also does the tagging.

FlacEncodeTask will not perform the tagging.
So we will need an extra task for the tagging - this will be added soon.

Meanwhile, do not merge this commit to master yet.

* Add tagging using mutagen.

Replace the gstreamer tagging code with mutagen tagging code.
getTagList is rewritten to return a dictionary of tags, which are then simply
passed to mutagen.

The way it is set up right now is not the best - I don't think it makes sense
for tagging to take place in program/cdparanoia.py ; but this is how the current
code did it.

I suggest that, when we rip out all the gstreamer code, we also move the tagging
to a more sensible place; and then also make the tagging not be an actual
'task.Task'.

* Add gstreamer-less CRC32 version

Only works on wave files at this point. Should not be a problem, I think.

* Use proper musicbrainz tags and ALBUM tag.

* Add mutagen to .travis.yml
2017-02-02 21:50:47 +01:00
JoeLametta
4dc7a3cf77 Merge pull request #114 from JoeLametta/fix-old-rip-references
Replace rip command suggestions with 'whipper'
2017-01-16 22:16:33 +01:00
JoeLametta
078342500e Replace rip command suggestions with whipper
I've only fixed the user facing occurrences: there are lots more in the source code.

Fixes #112
2017-01-16 22:11:24 +01:00
JoeLametta
490d84380a Amend previous tagged release (#107) 2017-01-08 20:04:19 +01:00
JoeLametta
adf4b79a20 Bump whipper version number to 0.4.1
Fixes #105
2017-01-07 23:53:47 +01:00