MediaElch icon indicating copy to clipboard operation
MediaElch copied to clipboard

"Update all episodes" doesn't load any details

Open mihawk90 opened this issue 1 year ago • 3 comments

Describe the bug While trying to sort my BD rips I tripped on this issue. After assigning the proper Season and Episode and saving, I tried scraping the actual episode data. However, selecting the Series and scraping with "Update all episodes" doesn't actually scrape any data for them.

It looks like things have been updated (entries are red and it removes the filename placeholder), but there's no data being filled.

Selecting the episodes and using the Multi Scrape works just fine.

To Reproduce Steps to reproduce the behavior:

  1. Select a series (it's probably easier to see when none of the episodes have data filled in)
  2. Click the Scrape button or select "Load Information" from the context menu
  3. Select "Update all episodes" and start the scrape
  4. Check the episode data

Expected behavior Scraped information should be available on the episodes.

Screenshots Before: image

After "Update all episodes": image

After Multi Scrape: image

MediaElch Version:

  • [ ] 2.12.1-dev (nightly)
  • [x] 2.12.0 (stable)

Operating System:

  • [ ] Windows
  • [ ] macOS
  • [x] Linux (distribution: Fedora 40)

mihawk90 avatar Nov 02 '24 06:11 mihawk90

OK this is weird... now that all the episodes (previously in S99 as a dummy placeholder) are assigned their proper Season and Episode, it just worked... not sure if that's related though.

mihawk90 avatar Nov 02 '24 09:11 mihawk90

this is weird... now that all the episodes (previously in S99 as a dummy placeholder) are assigned their proper Season and Episode, it just worked... not sure if that's related though.

Is S99 something that you added?

IIRC, MediaElch uses the episode's season and episode number to load details. If they're not correct, it won't load data properly.

Nevertheless, I will need to re-test this.

Thanks for reporting. :)

bugwelle avatar Nov 04 '24 19:11 bugwelle

Is S99 something that you added?

I added S99 in makemkv's naming template as a dummy because otherwise ME just doesn't read or import the files at all (there's a couple issues around for that).

IIRC, MediaElch uses the episode's season and episode number to load details. If they're not correct, it won't load data properly.

Well, yes, but I hadn't scraped yet so there was no data to load. The files came fresh off the Bluray with no NFO data. I just loaded them in ME and started assigning the correct season and episode in ME's fields. When saving the info from NFOs overwrites the season and episode from filenames.

Also, even if I had scraped it wouldn't be an issue, it would just not find data for the files and ignore (but still show) them.

But yeah I'm not sure what happened. I reproduced this a couple times before reporting and after the report and assigning the rest of the seasons/episodes, it just worked... I need to test this again as well.

mihawk90 avatar Nov 04 '24 19:11 mihawk90

Should be fixed via #1865

The order in which seasons are loaded from TMDB is not deterministic (technical reason: We're using QSet<SeasonNumber>, not a list).

Thanks for reporting and helping me fix the issue!

bugwelle avatar Feb 23 '25 11:02 bugwelle