Scraper dialog replaces movie title by ID which does not match the currently selected scraper
Describe the bug When switching between scrapers in Scrape dialog (the one open with Ctrl+F), the movie title is automatically replaced by database ID that may not recognised by the currently selected scraper.
To Reproduce Steps to reproduce the behavior:
- Select a "correctly named" movie, so it would be easily identified by a scraper.
- Go to Scraper dialog (Ctrl+F) and use //The Movie DB// scraper to find the movie details. Click on the found movie item to scrap its related info and artwork.
- Now open the Scraper dialog again -- notice that the movie name is replaced by //TMDb ID/ at this stage.
- Select //IMDB// scraper (e.g. to fetch additional artwork) -- observe that no results are found, as the movie title has //TMDb ID// which is unknown to IMDB scraper.
- Close the Scraper dialog and open it again. Now the movie title is replaced by //IMDb ID// and the movie details are successfully found by IMDB scraper.
Expected behavior I see two possible solutions:
Option A (my preference): Preserve the movie name intact, i.e. do not replace it by the TMBDb ID or IMDb ID -- that would enable a selected scraper to do its job based on the actual movie name.
Option B: (may be fiddly to implement) Keep track of the selected scraper ad use its movie ID when replacing the movie title in the search box.
Screenshots
-
Initial scraping of the correctly named movie with //The Movie DB// scraper:

-
Attempt to get Poster artwork with //IMDB// scraper -- notice that the movie title is automatically replaced by //TMDb ID//, which is not recognised by IMBD scraper, and the search result is empty:

-
After re-opening the Scraper dialog, the movie title is automatically replaced by //IMDb ID// and the movie is found successfully this time:

MediaElch Version:
- [x] 2.8.19-dev (nightly)
- [x] 2.8.18 stable
Operating System:
- [x] Windows
- [ ] macOS
- [ ] Linux (distribution: .)
Additional context The same behaviour is exhibited when switching to other scrapers, not just //The Movie DB// and //IMDB// -- automatically inserted database ID "spoils" the search results.
Thanks for reporting. That has been annoying me as well. This feature comes from a time where IMDb IDs were used for all scrapers. I've recently started working on https://github.com/Komet/MediaElch/pull/1163 again, in which I try to solve this.