JasonMillward / Autorippr

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

Fix title cleanup and detection #118

Closed stefanmb closed 7 years ago

stefanmb commented 7 years ago

I am backing up some TV series with the title format XYZ Disc #.

I encountered two issues:

1) The Disc(\d) regex will not capture these titles due to the whitespace character. 2) The get_type() detection is done before get_title() therefore it will not pick up the fixed-up titles, and the TV series gets detected as a movie. (Note that get_title() changes the self.vidName variable.)

I fixed these two problems and I've also added a few more debug messages.

JasonMillward commented 7 years ago

Looks good to me. Cheers.