blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.71k stars 306 forks source link

[Request] Metadata check before notifying #127

Open macr0dev opened 5 years ago

macr0dev commented 5 years ago

I think it could be handy to if there was a way to identify episodes of TV that haven't downloaded any metadata. I randomly discover episodes that don't have titles or descriptions that just say "Episode 11". Especially after I import an entire series at once.

I don't know if there's a particular state that can be checked or just the perhaps the absence of an episode description.

Arcanemagus commented 5 years ago

How would you determine when the metadata is missing, vs. when a show simply uses Episode 11 as the actual title (I have several that do this). Same goes with the description: There may simply be none available.

macr0dev commented 5 years ago

That's a good question. I have several shows where there are legitimate episodes titled 'Episode #' as well. Although most of them are 'Episode One' not 'Episode 1'.

I guess in an ideal world there is a flag that can be seen that indicates whether or not metadata has been downloaded? If not it would have to error on the side of "If title equals 'Episode #' AND 'description is null'. Or perhaps flags that give you the option of which to check for or both....

Hopefully someone more nuanced in what we can read through the API could make a better suggestion than mine.

I don't want to list a specific show, but I'm looking at one now that apparently didn't have any meta data when it was added to Plex and it just hasn't gone back out to look again. All the episodes released at once and mine made it into plex before the data was entered into thetvdb. If I could set up something to run daily or even weekly and email me the results I'd catch that after a day or two instead of discovering it randomly.

blacktwin commented 5 years ago

I had a similar idea that would look to see if subtitles were available or not before allowing the recently added trigger to trigger. The same could be applied to some metadata. Maybe summary, rating, originally available date. I've linked this issue to that project card.

macr0dev commented 5 years ago

checking for some subtitles is actually how I found the most recent episode that didn't a title. I'd love these in a script together. I look forward to whatever you come up with. Thanks!