-
Notifications
You must be signed in to change notification settings - Fork 6
Issues Debugging
IMDb+ breaks the moment Amazon/IMDb, RottenTomatoes, or any other provider used change their HTML source code.
The only way to fix some of those issues is when end-users supply their moving-pictures.log file with the problem exposed.
Locate the "Options IMDb+ Scraper.xml" file at:
C:\ProgramData\Team MediaPortal\MediaPortal\IMDb+
Edit this file with notepad or alike and add:
<set id="19" name="global_options_debug_imdb_sources" value="true" />
right after the id="18" entry.
Open MediaPortal configuration and select the 'General' menu entry. Verify or adjust that "Log verbosity" is set to 'Debug'. Close MediaPortal configuration via the 'OK' button.
Now launch Moving-Pictures configuration with the shortcut on your desktop.
(Please verify that Moving-Pictures v1.8.2 or above is in use via the "About" tab for optimized log results)
- Go to the "Importer Settings" tab:
- Adjust the radio button to "Manually Manage" the data source scrapers:
- Use the "Movie Details Data Sources" button to open the following:
- Then use the gear icon to select the following option:
This will activate the scraper-script debug mode, which you can verify via:
While keeping Moving-Pictures configuration open, use the Windows Explorer to navigate to:
C:\ProgramData\Team MediaPortal\MediaPortal\log
This should be easy via: Start Menu -> 'All Programs' -> Team MediaPortal -> 'MediaPortal' -> Use the shortcut 'User Files' -> navigate to the 'log' subfolder.
What is needed is the 'movingpictures.log' file, but without any log 'noise' in it from missing artwork, additional asynchronous imports, etc. Delete all the log files. Wait 3 seconds. Refresh Windows Explorer or just wait, and keep deleting the log files, until eventually the 'movingpictures.log' will stop getting recreated. When that happens all the background tasks have finally finished.
Now simply switch to the "Movie Manager" tab inside Moving-Pictures configuration and locate one of the movies that you know has issues. Use the green circled arrow icon at the top right to "Refresh Movie Info from Internet" or send the movie back to the importer if the IMDb+ bug is in the search-node.
To ensure that IMDb+ is indeed being used you can also use the tiny little downward faced arrow next to the icon to select "Refresh from IMDb+", incase you have multiple scraper-scripts enabled. The "Primary Source" on the movie details should however already be "IMDb+", otherwise you can use the IMDb+ plugin menu option to force this change.
After the above steps a 'movingpictures.log' has been created that contains exactly what is needed to diagnose/fix the problem. Please provide this file (ZIP it up if it is very large) via forum, ticket, paste2, IRC, etc.
Thank you :o)
IMPORTANT: Remember to turn Moving-Pictures scraper-script debugging off and MediaPortal debug verbosity back to info-only afterward, unless you do not have a problem with the giant log file and the delays it causes.