Commit Graph

79 Commits

Author SHA1 Message Date
Thomas Vander Stichele
a35b4d4a01 * AUTHORS:
* Makefile.am:
	* NEWS:
	* TODO:
	* autogen.sh:
	* configure.ac:
	* examples/ARcalibrate.py:
	* misc/Makefile.am:
	* misc/morituri-uninstalled:
	* morituri.spec.in:
	* morituri/Makefile.am:
	* morituri/common/Makefile.am:
	* morituri/common/logcommand.py:
	* morituri/extern/Makefile.am:
	* morituri/rip/Makefile.am:
	* morituri/rip/__init__.py:
	* morituri/rip/main.py:
	* morituri/test/Makefile:
	* morituri/test/Makefile.am:
	* configure.ac (added):
	* AUTHORS (added):
	* morituri.spec.in (added):
	* Makefile.am (added):
	* morituri/test/Makefile.am (added):
	* morituri/extern/Makefile.am (added):
	* morituri/common/logcommand.py (added):
	* morituri/common/Makefile.am (added):
	* morituri/Makefile.am (added):
	* morituri/rip (added):
	* morituri/rip/__init__.py (added):
	* morituri/rip/Makefile.am (added):
	* morituri/rip/main.py (added):
	* misc/Makefile.am (added):
	* misc/morituri-uninstalled (added):
	* autogen.sh (added):
	* NEWS (added):
	  Start autotooling.  Add a command-line application.
2009-05-22 20:08:16 +00:00
Thomas Vander Stichele
483c7b8a0c * morituri/program/cdrdao.py:
read all sessions by reading session 9.
	* morituri/image/toc.py:
	  Parse ZERO statements properly.
	  Also set absolute offsets when we know them from the .toc file.
	  Properly set audio flag on tracks.
	  FIXME: probably doesn't work if the .toc does not have lengths.
	* morituri/image/table.py:
	  Add some debug to cddb disc id calculation.
	  Fix absolutize function, it was going one index too far.
	  raise ValueError when overriding .absolute with a wrong value.
	* examples/readdisc.py:
	  Show CDDB disc id at the start.
	  Assert when toc and table have different disc id's (to be fixed)
	* morituri/test/test_image_cue.py:
	  Update for having the table already with absolute values.
	* morituri/test/test_image_toc.py:
	  Add Ladyhawke CDDB test, it has a data track.
2009-05-16 19:09:27 +00:00
Thomas Vander Stichele
b835f94ef1 * examples/readdisc.py:
Move constants to common
2009-05-16 10:27:10 +00:00
Thomas Vander Stichele
96ac69a13d * examples/readdisc.py:
* examples/readhtoa.py:
	* examples/readtoc.py:
	  Rename IndexTable to Table.
2009-05-16 09:51:03 +00:00
Thomas Vander Stichele
1a55ff8eaa * examples/readdisc.py:
Get our metadata only from the toc.
2009-05-16 09:01:37 +00:00
Thomas Vander Stichele
cc61a1d2dd * examples/readdisc.py:
Also work for discs without htoa.
2009-05-16 08:02:02 +00:00
Thomas Vander Stichele
be1780f658 * examples/readdisc.py:
Write .m3u file.
2009-05-16 07:31:52 +00:00
Thomas Vander Stichele
a5735b277b tell us when we're wrong 2009-05-15 21:02:19 +00:00
Thomas Vander Stichele
dc5f2ba75f * examples/readdisc.py:
Rip HTOA as well.  Add disc-template parameter.
2009-05-15 20:40:20 +00:00
Thomas Vander Stichele
e0ed33b1da * morituri/program/cdparanoia.py:
Fix up track counting so HTOA can be ripped again.
	* examples/readhtoa.py:
	  Fix up example so it works again, tested on Silent Alarm.
2009-05-15 19:42:08 +00:00
Thomas Vander Stichele
5cae5cf60f * morituri/image/table.py:
Update .cue writing:
	  - customise program name
	  - add DISCID
	  - use counter for FILE lines
	  - put FILE line before TRACK if track does not have INDEX 00
	  Take counter into account for setFile
	* examples/readdisc.py:
	  Add --track-template.
	  Pass counter to setFile.
2009-05-15 08:08:22 +00:00
Thomas Vander Stichele
4040fafd3f * examples/readhtoa.py:
Fix example.
2009-05-10 14:51:29 +00:00
Thomas Vander Stichele
18b13eb84f * examples/readdisc.py:
filter out slashes when deciding on file names.
2009-05-07 11:30:55 +00:00
Thomas Vander Stichele
9fb4264934 * morituri/common/common.py:
Set the object when we don't persist.
	* examples/readdisc.py:
	  Small fixes.
2009-05-07 09:11:23 +00:00
Thomas Vander Stichele
75e8f0df5f * examples/readdisc.py:
Fix up cue file reading.
2009-05-06 21:58:57 +00:00
Thomas Vander Stichele
1485ef790c * examples/readdisc.py:
Add musicbrainz code for disc naming.
2009-05-06 21:45:12 +00:00
Thomas Vander Stichele
2f464207db * morituri/image/table.py:
Add logging.
	  Add methods to clear a table of files, and to absolutize indexes
	  as long as the source is the same file, and to set a File on a
	  given index, adjusting all following indexes that match the
	  duration, and check if the IndexTable has all information for a TOC.
	* morituri/image/toc.py:
	  Add logging.
	  Use a counter for the source.
	  Fix up index offset calculation.
	* morituri/program/cdrdao.py:
	  Use a real IndexTable as the result, instead of a TocFile.
	* morituri/image/cue.py:
	  Use a real IndexTable to store tracks.
	* morituri/test/test_image_toc.py:
	  The toc file now has a table which has the tracks.
	  Fix the tests to adjust for wrong index calculations.
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_image.py:
	* morituri/image/image.py:
	  The cue file now has a table which has the tracks.
	* morituri/test/test_image_table.py:
	  Add assertions to make sure when the table can serve as a TOC.
	* examples/readdisc.py:
	  Adjust for changes.  Fix up to include AccurateRip results.
	  First time we can do a complete normal rip including verifying
	  against AccurateRip results!
2009-05-05 10:01:41 +00:00
Thomas Vander Stichele
a5d70dd317 * examples/readdisc.py:
* morituri/image/table.py:
	* morituri/test/test_image_table.py:
	  Fix up and deprecate stuff.
2009-05-04 23:10:39 +00:00
Thomas Vander Stichele
c17a28d7ae * examples/movecue.py:
* examples/readcue.py:
	* morituri/image/cue.py:
	* morituri/image/image.py:
	* morituri/image/toc.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_toc.py:
	  Cue -> CueFile
	  TOC -> TocFile
2009-05-04 16:01:19 +00:00
Thomas Vander Stichele
bc36bf3aa5 * examples/readdisc.py (added):
Add an example to read a whole disc.  Doesn't work yet.
2009-05-04 15:58:03 +00:00
Thomas Vander Stichele
4b904cfcbc * examples/readhtoa.py:
Fix up readhtoa example.  Add offset option.
2009-05-04 14:40:39 +00:00
Thomas Vander Stichele
d07fde2c96 * examples/ARcalibrate.py:
* examples/readhtoa.py:
	* examples/readtoc.py:
	* morituri/program/cdrdao.py:
	  Rename ReadTOCTask to ReadIndexTableTask.
	  Rename ReadTableTask to ReadTOCTask.
2009-05-04 13:51:11 +00:00
Thomas Vander Stichele
9841d5e2fb handle not having a toc 2009-05-04 13:48:22 +00:00
Thomas Vander Stichele
3a75cb2d0f * morituri/program/cdrdao.py:
Convert ReadTableTask to a CDRDAOTask subclass.
	* examples/ARcalibrate.py:
	* morituri/program/cdparanoia.py:
	  Adapt.
2009-05-04 13:48:18 +00:00
Thomas Vander Stichele
6769480d2d fail if we don't have a toc 2009-05-04 13:04:19 +00:00
Thomas Vander Stichele
99d90552d3 * examples/ARcue.py:
Handle case where we have no matching response.
2009-05-04 08:39:12 +00:00
Thomas Vander Stichele
66033faac7 * examples/readtrack.py:
Allow specifying the track to save.
2009-05-03 19:16:05 +00:00
Thomas Vander Stichele
d1c3bb3def * morituri/program/cdparanoia.py:
Add a task to read and verify a track.
	* examples/readtrack.py:
	  Use it to clean up code.
	* morituri/common/task.py:
	  describe a MultiTask better.
2009-05-03 17:44:23 +00:00
Thomas Vander Stichele
daaffb78e7 * morituri/common/common.py:
Create a Persister class to wrap a possible pickle path.
	* examples/trm.py:
	  Use it.
2009-05-03 17:04:42 +00:00
Thomas Vander Stichele
81eddd26b8 verify cdparanoia's output 2009-05-03 14:54:52 +00:00
Thomas Vander Stichele
d8e288d848 * morituri/program/cdparanoia.py:
Add table to __init__, so we can correctly calculate cdparanoia's
	  strange ripping regions.
	* examples/ARcalibrate.py:
	  When we found a positive match on a first track, match all the other
	  tracks too for confirmation.
2009-05-03 12:59:37 +00:00
Thomas Vander Stichele
fc907f1953 * morituri/common/task.py:
* morituri/common/taskgtk.py:
	  Split off GtkProgressRunner in separate module to not import gtk
	  everywhere.
	* examples/ARcalibrate.py:
	* examples/ARcue.py:
	* examples/gtkchecksum.py:
	* examples/trm.py:
	  Adapt.
2009-05-03 10:20:22 +00:00
Thomas Vander Stichele
05e90de6e3 * examples/ARcalibrate.py (added):
Add an example that calculates the read offset of your drive
	  using AccurateRip.
2009-05-03 10:08:03 +00:00
Thomas Vander Stichele
70a3c83ec3 add logging
fix up for cue->table rename
2009-05-03 09:54:43 +00:00
Thomas Vander Stichele
2acff6bd94 * examples/readhtoa.py (added):
Add an example that detects and rips the Hidden Track One Audio.
2009-05-01 20:05:04 +00:00
Thomas Vander Stichele
8286bf9b22 * examples/readtoc.py:
* morituri/program/cdrdao.py (added):
	  Move the ReadTocTask to the new cdrdao module.
2009-05-01 18:57:28 +00:00
Thomas Vander Stichele
54c7322a04 * examples/readtrack.py:
* morituri/program/cdparanoia.py:
	  Move ReadTrackTask to cdparanoia module.
2009-05-01 18:52:51 +00:00
Thomas Vander Stichele
5d6fb6315a update example 2009-05-01 18:35:52 +00:00
Thomas Vander Stichele
1f183d60b7 * examples/readtrack.py (added):
Add an example that reads a track using cdparanoia.
2009-05-01 18:32:12 +00:00
Thomas Vander Stichele
5b0bfd4422 * examples/trm.py:
Allow loading and saving fingerprints from a pickle.
2009-05-01 12:30:14 +00:00
Thomas Vander Stichele
0a5269b2bf * examples/readtoc.py:
Update to work on my desktop.
2009-05-01 09:18:21 +00:00
Thomas Vander Stichele
f8b76ae95c * examples/readtoc.py:
Extract and print TOC.
2009-04-27 23:24:24 +00:00
Thomas Vander Stichele
748d630ba6 * examples/readtoc.py:
get errors from output too.
2009-04-27 22:16:11 +00:00
Thomas Vander Stichele
63515e61f3 * examples/movecue.py (added):
Add a script that moves a .cue file in its corresponding directory.
2009-04-26 17:29:33 +00:00
Thomas Vander Stichele
a4f92658da fix 2009-04-20 23:09:05 +00:00
Thomas Vander Stichele
a9ec95e56d * morituri/common/task.py:
Add a 'described' method so listeners can get proper notification
	  of description changes, and update their description in between
	  progress changes.
	  Add a MultiCombinedTask that reports on progress over all tasks
	  combined.
	* examples/trm.py:
	  Add a playlist option to the example.  Still needs to store results
	  to pickles, preferably after each completed task.
	* morituri/common/checksum.py:
	  Add audioconvert to make sure we can trm ogg files.
2009-04-20 22:20:07 +00:00
Thomas Vander Stichele
8973d53cce * morituri/common/checksum.py:
Add a task to calculate a trm fingerprint.
	* examples/trm.py (added):
	  Add an example.
	  Strangely enough it starts burstily, doing 10% directly, halting,
	  then progressing quickly,
2009-04-20 21:31:27 +00:00
Thomas Vander Stichele
1fc0c2bbdb * examples/ARcue.py:
Fix a bug in the gtk example.
2009-04-20 21:30:04 +00:00
Thomas Vander Stichele
58a855c630 * examples/readtoc.py:
Read the toc using cdrdao.  Now sets progress based on which
	  frame it is on.
2009-04-19 22:55:16 +00:00
Thomas Vander Stichele
a7e3779473 * examples/readtoc.py (added):
Add an example to read the TOC, not finished yet.
2009-04-19 17:26:33 +00:00