imdb_lookup plugin does not work with movies
See original GitHub issueExpected behaviour:
Running the task should properly parse imdb movie name.
Actual behaviour:
Steps to reproduce:
- Step 1:
flexget -L debug --test execute --tasks sort_movies --inject "The Man from Earth (2007)"
Config:
sort_movies:
pathscrub: windows
priority: 2
no_entries_ok: yes
filesystem:
path: /mnt/elements/torrent/movies
regexp: '.*\.(avi|mkv|mp4|rmvb)$'
recursive: yes
accept_all: yes
regexp:
reject:
- \.\_: {from: title}
require_field: movie_name
imdb_lookup: yes
move:
to: "/mnt/elements/media/movies/{{ movie_name }} ({{ movie_year }})/"
rename: "{{ movie_name }} ({{ movie_year }})"
along:
extensions:
- sub
- srt
- ass
subdirs:
- Subs
Log:
(click to expand)
2022-03-18 09:25:02 DEBUG manager Figuring out config load paths
2022-03-18 09:25:02 DEBUG manager Found config: /home/pi/.config/flexget/config.yml
2022-03-18 09:25:02 DEBUG manager Config file /home/pi/.config/flexget/config.yml selected
2022-03-18 09:25:02 DEBUG manager sys.defaultencoding: utf-8
2022-03-18 09:25:02 DEBUG manager sys.getfilesystemencoding: utf-8
2022-03-18 09:25:02 DEBUG manager flexget detected io encoding: utf-8
2022-03-18 09:25:02 DEBUG manager os.path.supports_unicode_filenames: False
2022-03-18 09:25:02 INFO manager Test mode, creating a copy from database ...
2022-03-18 09:25:04 INFO manager Test database created
2022-03-18 09:25:04 DEBUG plugin Trying to load plugins from: ['/home/pi/.config/flexget/plugins', '/home/pi/.local/lib/python3.9/site-packages/flexget/plugins']
2022-03-18 09:25:10 DEBUG plugin Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2022-03-18 09:25:10 DEBUG plugin Trying to load components from: ['/home/pi/.config/flexget/components', '/home/pi/.local/lib/python3.9/site-packages/flexget/components']
2022-03-18 09:25:13 DEBUG plugin Plugins took 8.26 seconds to load. 317 plugins in registry.
2022-03-18 09:25:13 DEBUG manager Connecting to: sqlite:////home/pi/.config/flexget/test-config.sqlite
2022-03-18 09:25:14 DEBUG manager config_name: config
2022-03-18 09:25:14 DEBUG manager config_base: /home/pi/.config/flexget
2022-03-18 09:25:14 DEBUG manager New config data loaded.
2022-03-18 09:25:14 DEBUG schema current flexget version already exist in db 3.3.3
2022-03-18 09:25:14 DEBUG parsing setting default movie parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0xb308cc70>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0xb308cd30>})
2022-03-18 09:25:14 DEBUG parsing setting default series parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0xb308cc70>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0xb308cd30>})
2022-03-18 09:25:14 DEBUG cron_env Encoding utf-8 stored
2022-03-18 09:25:14 DEBUG util.simple_persistence setting key terminal_encoding value 'utf-8'
2022-03-18 09:25:14 DEBUG task_queue task queue shutdown requested
2022-03-18 09:25:14 INFO ipc.rpyc server started on [127.0.0.1]:37411
2022-03-18 09:25:14 DEBUG task sort_movies executing sort_movies
2022-03-18 09:25:14 DEBUG task sort_movies Disabling input phase
2022-03-18 09:25:15 INFO task sort_movies Plugin filesystem is not executed in input phase because the phase is disabled (e.g. --test, --inject)
2022-03-18 09:25:15 VERBOSE task sort_movies ACCEPTED: `The Man from Earth (2007)` by accept_all plugin
2022-03-18 09:25:15 DEBUG imdb_lookup sort_movies lookup for The Man from Earth (2007)
2022-03-18 09:25:15 VERBOSE imdb_lookup sort_movies Parsing imdb for `The Man from Earth (2007)`
2022-03-18 09:25:15 DEBUG utils.requests sort_movies GETing URL https://www.imdb.com/title/tt0756683/ with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2022-03-18 09:25:17 VERBOSE imdb_lookup sort_movies Imdb parser needs updating, imdb format changed. please report on github.
2022-03-18 09:25:17 VERBOSE task sort_movies REJECTED: `The Man from Earth (2007)` by require_field plugin because required field movie_name is `None`
2022-03-18 09:25:17 DEBUG urlrewriter sort_movies Checking 0 entries
2022-03-18 09:25:17 VERBOSE details sort_movies Summary - Accepted: 0 (Rejected: 1 Undecided: 0 Failed: 0)
2022-03-18 09:25:18 DEBUG util.simple_persistence sort_movies Flushing simple persistence for task sort_movies to db.
2022-03-18 09:25:18 DEBUG task_queue task queue shut down
2022-03-18 09:25:18 INFO ipc.rpyc server has terminated
2022-03-18 09:25:18 INFO ipc.rpyc listener closed
2022-03-18 09:25:18 DEBUG util.simple_persistence Flushing simple persistence for task None to db.
2022-03-18 09:25:18 DEBUG manager Shutting down
2022-03-18 09:25:18 INFO manager Removed test database
2022-03-18 09:25:18 DEBUG manager Removed /home/pi/.config/flexget/.test-config-lock
Additional information:
- FlexGet version: 3.3.3
- Python version: Python 3.9.2
- Installation method: pip3 install flexget
- Using daemon (yes/no): yes
- OS and version: Raspbian GNU/Linux 11.2 (bullseye)
- Link to crash log: none
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
IMDB ''' Issue #3142 - GitHub
Step 1: imdb lookup plugin; Step 2: Use imdb_name in a jinja filter for a movie with an apostrophe. The text was updated...
Read more >Flexget/Flexget - Gitter
imdb_lookup plugin breaks every once in a while when they change their format, but it should be ... Although I don't see any...
Read more >imdb_lookup | FlexGet
Performs IMDB search for all entries in the feed and provides IMDB lookup functionality to other plugins. ... imdb_lookup will populate several entry...
Read more >IMDB Lookup - Team MediaPortal
Of course, you do not have to lookup each video or movie one by one. If you prefer, you can lookup all your...
Read more >Re: [mythtv-users] Anyone working on a Movie Trailers plugin ...
Not yet usable from within MythTV. Yes, the general idea behind it is to allow users to download trailers to movies they have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m fixing it here, https://github.com/Flexget/Flexget/pull/3384.
Still a few more tests to sort out then ready for review then merge
Great! Thanks!