JasonMillward / Autorippr

Rip discs automatically using a blend of Python, MakeMKV and HandBrake
MIT License
241 stars 60 forks source link

1.7-test2 crashes on multiple titles #80

Closed MNickelson closed 9 years ago

MNickelson commented 9 years ago

Trying to rip Futurama S1D1.

~/makemkv/Autorippr$ python autorippr.py --rip Traceback (most recent call last): File "autorippr.py", line 357, in rip(config) File "autorippr.py", line 160, in rip forceDisableFB File "~/makemkv/Autorippr/classes/database.py", line 145, in insert_movie lastupdated=datetime.now() File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 4001, in create inst.save(force_insert=True) File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 4148, in save pk_from_cursor = self.insert(*_field_dict).execute() File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 2858, in execute cursor = self._execute() File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 2371, in _execute return self.database.execute_sql(sql, params, self.require_commit) File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 3073, in execute_sql self.commit() File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 2922, in exit reraise(new_type, new_type(_exc_value.args), traceback) File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 3065, in execute_sql cursor.execute(sql, params or ()) peewee.OperationalError: table movies has no column named multititle

JasonMillward commented 9 years ago

The database field multititle was added in 1.7-test2. You will need to delete the old autorippr.sqlite file in order for it to be re-created with the update schema.

MNickelson commented 9 years ago

Thanks for the quick response. I have a couple more questions, if you don't mind. Does --extra only work with single file rips? I like to rip everything uncompressed, but when I do autorippr.py --rip --extra I just get a usage message and nothing happens. If I use --extra without --rip it tells me that there are no files in the filebot list. I commented out the --compress if statement and now --all will run, but I still get a message about no files in the filebot list. Also, how does autorippr handle nested audio streams? I don't remember the exact naming convention from the MakeMKV gui, but I've seen instances where there will be a DolbyTrueHD or something like that, and then within that stream there is a 5.1 surround or similar substream.

Thanks, Mike

On Tue, Jun 9, 2015 at 10:04 PM, Jason notifications@github.com wrote:

The database field multititle was added in 1.7-test2. You will need to delete the old autorippr.sqlite file in order for it to be re-created with the update schema.

— Reply to this email directly or view it on GitHub https://github.com/JasonMillward/Autorippr/issues/80#issuecomment-110557823 .

JasonMillward commented 9 years ago

Does --extra only work with single file rips?

Yes. See: https://github.com/JasonMillward/Autorippr/blob/master/autorippr.py#L150 Handling multiple files (TV shows) in filebot is a little tricky, so until I or someone else figures out how to manage it correctly it is disabled when it detects multiple output files.

Also, how does autorippr handle nested audio streams?

MakeMKV seems to keep everything on the disc and handbrake will try to keep all audio and subtitle tracks it comes across.

MNickelson commented 9 years ago

Cool, thanks. I've done a bit with using the tvdb api to rename files with python, so I would offer to help, but I've never seen anything that breaks shows down on a per DVD level.

Thanks, Mike On Jun 11, 2015 12:05 AM, "Jason" notifications@github.com wrote:

Does --extra only work with single file rips?

Yes. See: https://github.com/JasonMillward/Autorippr/blob/master/autorippr.py#L150 Handling multiple files (TV shows) in filebot is a little tricky, so until I or someone else figures out how to manage it correctly it is disabled when it detects multiple output files.

Also, how does autorippr handle nested audio streams?

MakeMKV seems to keep everything on the disc and handbrake will try to keep all audio and subtitle tracks it comes across.

— Reply to this email directly or view it on GitHub https://github.com/JasonMillward/Autorippr/issues/80#issuecomment-110994057 .