Skip to content

Commit

Permalink
Make comparisons consistent
Browse files Browse the repository at this point in the history
Refs #11299
  • Loading branch information
stuarta committed Feb 26, 2013
1 parent 65fbfbb commit 6aa99db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mythburn/scripts/mythburn.py
Expand Up @@ -4345,7 +4345,7 @@ def getStreamList(folder):
def isFileOkayForDVD(file, folder):
"""return true if the file is dvd compliant"""

if string.lower(getVideoCodec(folder)) != "mpeg2video (main)":
if not string.lower(getVideoCodec(folder)).startswith("mpeg2video"):
return False

# if string.lower(getAudioCodec(folder)) != "ac3" and encodeToAC3:
Expand Down

0 comments on commit 6aa99db

Please sign in to comment.