merge changes
This commit is contained in:
commit
84ec1f2f2a
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ from imagetools import render_movie_icon
|
||||||
def main():
|
def main():
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
||||||
parser.add_option('-l', '--timeline', dest='frame', help='Timeline (image file to be read)')
|
parser.add_option('-l', '--timeline', dest='timeline', help='Timeline (image file to be read)')
|
||||||
parser.add_option('-i', '--icon', dest='icon', help='Icon (image file to be written)')
|
parser.add_option('-i', '--icon', dest='icon', help='Icon (image file to be written)')
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
if options.icon == None:
|
if options.icon == None:
|
||||||
|
|
|
@ -15,7 +15,7 @@ def main():
|
||||||
parser.add_option('-y', '--year', dest='year', help='Year')
|
parser.add_option('-y', '--year', dest='year', help='Year')
|
||||||
parser.add_option('-s', '--series', dest='series', help='Movie is an episode of a series', action='store_true')
|
parser.add_option('-s', '--series', dest='series', help='Movie is an episode of a series', action='store_true')
|
||||||
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
||||||
parser.add_option('-l', '--timeline', dest='frame', help='Timeline (image file to be read)')
|
parser.add_option('-l', '--timeline', dest='timeline', help='Timeline (image file to be read)')
|
||||||
parser.add_option('-p', '--poster', dest='poster', help='Poster (image file to be written)')
|
parser.add_option('-p', '--poster', dest='poster', help='Poster (image file to be written)')
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ def main():
|
||||||
parser.add_option('-i', '--id', dest='id', help='Pad.ma Id')
|
parser.add_option('-i', '--id', dest='id', help='Pad.ma Id')
|
||||||
parser.add_option('-t', '--title', dest='title', help='Title', default='')
|
parser.add_option('-t', '--title', dest='title', help='Title', default='')
|
||||||
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
parser.add_option('-f', '--frame', dest='frame', help='Poster frame (image file to be read)')
|
||||||
parser.add_option('-l', '--timeline', dest='frame', help='Timeline (image file to be read)')
|
parser.add_option('-l', '--timeline', dest='timeline', help='Timeline (image file to be read)')
|
||||||
parser.add_option('-p', '--poster', dest='poster', help='Poster (image file to be written)')
|
parser.add_option('-p', '--poster', dest='poster', help='Poster (image file to be written)')
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
if None in (options.id, options.poster):
|
if None in (options.id, options.poster):
|
||||||
|
|
Loading…
Reference in a new issue