Skip to content

Commit

Permalink
Merge pull request #92 from carrigan98/issue-87-2
Browse files Browse the repository at this point in the history
Adding filter for multi-title movies
  • Loading branch information
JasonMillward committed Oct 31, 2015
2 parents 1cd55d4 + 7fce06a commit b8e23a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions classes/makemkv.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ def get_disc_info(self):
self._read_mkv_messages("TINFO", titleNo, 27)
))
continue
if self.vidType == "movie" and not re.search('00',self._read_mkv_messages("TINFO", titleNo, 27)[0]):
self.log.debug( "Excluding Title No.: {}, Title: {}. Only want first title".format(
titleNo,
self._read_mkv_messages("TINFO", titleNo, 27)
))
continue
self.log.debug( "MakeMKV title info: Disc Title: {}, Title No.: {}, Title: {}, ".format(
self._read_mkv_messages("CINFO", 2),
titleNo,
Expand Down

0 comments on commit b8e23a9

Please sign in to comment.