a4k-openproject / a4kOfficial

Apache License 2.0
20 stars 1 forks source link

Plex/Composite sporadically does not find sources that do exist on source Plex server #7

Open Loccy opened 1 year ago

Loccy commented 1 year ago

I am trying to narrow down behaviour where a4kOfficial seems not to find sources for TV show episodes that do actually exist on the Plex source.

In the log below, I am scraping the first two episodes of Season 3 of The Boys. I have disabled all scrapers other than a4kOfficial/Composite. S03E01 shows no sources. S03E02 shows a single source which plays fine (actually, two sources if you look at the log, there's a 4K I'm filtering out).

Both episodes exist on the Plex server and play fine directly from Composite. The latter part of the log is me doing just that, i.e. browsing to and playing both episodes directly from Composite.

Looking at the filenames shown in the log from the direct composite plays it doesn't seem as if there is a filename issue - both episodes seem to have a similar filename construction, i.e.

The Boys - S03E01 - Payback WEBDL-1080p.mkv The Boys - S03E02 - The Only Man in the Sky WEBDL-1080p.mkv

Have waded through the log myself trying to pin it down but can't for the life of me see what is going on here.

(NB: I have enabled debug logging but edited out the lines of spam regarding settings not found)

kodi.log

drinfernoo commented 1 year ago

@Loccy Can you give an example filename of one that is working?

Loccy commented 1 year ago

Like I said, the first one doesn't play, i.e. The Boys - S03E01 - Payback WEBDL-1080p.mkv. The second one does, i.e. The Boys - S03E02 - The Only Man in the Sky WEBDL-1080p.mkv. Like I said, they both have similar filenames.

Line 951-ish in the log shows the Seren/A4KOfficial's attempt to scrape Composite for it, showing that it has returned an empty list [].

In contrast line 1121 shows the attempt to scrape S03E02. This works as you'd expect.

Line 3716 and 5015 show the (successful) playing directly from Composite of both episodes.