-
Notifications
You must be signed in to change notification settings - Fork 481
CLI flexget movie-list add crash #1585
Copy link
Copy link
Closed
Description
Expected behaviour:
movie list should add movie to movie list
Actual behaviour:
it crash
Steps to reproduce:
flexget movie-list add movies -i imdb_id=ttxxxxxxx
Log:
Trying to lookup movie title: `movies`
2016-12-22 21:28 VERBOSE imdb_lookup Parsing imdb for `movies`
Adding movie with title <title> to list movies
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 326, in start
self.handle_cli()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 353, in handle_cli
options.cli_command_callback(self, command_options)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/cli/movie_list.py", line 72, in do_cli
movie_list_add(options)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/cli/movie_list.py", line 144, in movie_list_add
movie = MovieListMovie(title=movie['movie_name'], year=year, list_id=movie_list.id)
TypeError: 'NoneType' object has no attribute '__getitem__'
Additional information:
- Python Version: 2.8.9
- Installation method: pip
- OS and version: debian 8.6
Reactions are currently unavailable