Browse Source

Fix --exclude-directory argument

master
djib 4 months ago
parent
commit
47c5c3380f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      FreeboxMoviePlanner.py

+ 3
- 1
FreeboxMoviePlanner.py View File

@ -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