Browse Source

Fix --exclude-directory argument

master
djib 1 year ago
parent
commit
47c5c3380f
  1. 4
      FreeboxMoviePlanner.py

4
FreeboxMoviePlanner.py

@ -345,7 +345,8 @@ if __name__ == '__main__':
)
parser.add_argument(
'-x', '--exclude-directory',
nargs=1,
action='append',
default=[],
help='''Do not display movies available in the following directory.
This will prevent you from recording the same movie multiple
times.'''
@ -359,6 +360,7 @@ if __name__ == '__main__':
movies = TVGuideScraper._getMovies()
else:
movies = TVGuideScraper.findAllMovies()
print(args.exclude_directory)
fmp = FreeboxMoviePlanner(
movies,
excluded_channels=args.exclude,

Loading…
Cancel
Save