Fixing screwed up recognition...

Guys,

Is there a way to implicitly compare what Plex has recognized against the actual directory where it found the file?

Bikini Beach (1964) -> recognized as 100% match to Bloodsport (http://forums.plex.tv/discussion/252604/where-do-we-report-plex-scanning-issues#latest)
Dracula Prince of Darkness (1966) -> recognized 100% match to Don’t be a menace to south central while driving your car in the hood…

I have more examples but the above two is just 2 movies I properly renamed and moved into a sorted folder where plex should have no problem whatsoever grabbing the correct info because both movie name and directory in which it is located is named properly…

So, is there a way to get Plex to tell me when a movie it recognises differs completely from the name of the movie file or directory?

You need to check the naming and structure. Something is very wrong.

To verify:

[chuck@lizum /syno.117]$ ls -la /syno/movies2/Bikini*
total 20
drwxr-xr-x   2 chuck chuck  4096 Jan 23 18:02 ./
drwxr-xr-x 226 chuck users 12288 Jan 23 18:01 ../
-rw-r--r--   1 chuck chuck   123 Jan 23 18:02 Bikini Beach (1964).mkv
[chuck@lizum /syno.118]$ 

Move the movie(s) out. Update Library, Empty Trash, Clean Bundles (allowing each to complete before the next step)
Now get into the PMS Plug-in Logs directory

Of interest to you are: com.plexapp.agents.themoviedb.log

Add one movie back in. Watch it be added.

Open the log file and look at the bottom. You’ll see the matching info and scores. If not right or uncertain, Please post here.

The problem is this… If I have not been sitting, manually renaming my files/directories exactly as it should be little by little, then I would never have caught this…

To be clear, I have an unsorted folder, I move the movie into a temp location, rename directory, rename movie, rename any extras as needed, move directory into sorted folder (which has never seen the files before), and then do a scan…

doing the plex dance on a brand new file is not going to help… the problem comes in with this:

There is an issue with the way Plex looks at certain names and does not recognise it properly… The Plex dance will tango to death over this issue as it will never resolve anything if the scanning agent cannot reliably choose the correct movie.

Dracula Prince of Darkness screenshot:

Again, if I was not sitting doing small batches of movies at a time and manually checking/comparing what I renamed vs what Plex recognises these would get lost in the 4300 other movies and I would only start missing it when I specifically go look for a movie and can’t find it, or happen to run into a duplicate and checking the file see that Plex has picked up two completely different files in 2 completely different directories and seen it as the same movie…

To be clear,

Can you get the log files for me so I may see this in action? This is what I need in hand. When I show expected behavior versus actual behavior with data, “stuff” gets fixed quick.

just to confirm, I’m not using TheMovieDB as agent, you still want the tail of that log? Using Plex Movie Scanner

doing a tail -f on that file, nothing happened… got added back as Bloodsport again… which is the correct log file?

@ChuckPa full logs in your inbox…

2017-01-23 18:37:54,545 (7f83a4dfa700) : INFO (agentkit:946) - Searching for matches for {‘openSubtitlesHash’: ‘99d014115b992836’, ‘name’: ‘Bikini Beach’, ‘plexHash’:blush:
2017-01-23 18:37:54,565 (7f83a4dfa700) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400/library/metadata/77119/tree
2017-01-23 18:37:54,606 (7f83a4dfa700) : INFO (init:414) - Found an ID, attempting quick match based on: tt0092675
2017-01-23 18:37:54,786 (7f83a4dfa700) : DEBUG (networking:161) - Fetching ‘<imdb_ratings audience_score="68" source="imdb"/><ratings audience_rating="Upright" audience_score="82" source="rotten_tomatoes"/><genre genre="Drama" lang="en"/><genre genre="Biography" lang="en"/><genre genre="Action/Adventure" lang="en"/><actor name="Jean-Claude Van Damme" role="Frank Dux"/><actor name="Bolo Yeung Sze" role="Chong Li"/><actor name="Donald Gibb" role="Ray Jackson"/><actor name="Leah Ayres" role="Janice Kent"/><actor name="Norman Burton" role="Helmer"/><actor name="Forest Whitaker" role="Rawlins"/><actor name="Roy Chiao" role="Senzo Tanaka"/><actor name="Philip Chan Yan-Kin" role="Captain Chen"/><actor name="Ken Siu" role="Victor Lin"/><director name="Newt Arnold"/><content_rating content_rating="au/R18+" country="AU"/><content_rating content_rating="br/16" country="BR"/><content_rating content_rating="ca/14A" country="CA"/><content_rating content_rating="de/18" country="DE"/><content_rating content_rating="dk/15" country="DK"/><content_rating content_rating="es/18" country="ES"/><content_rating content_rating="fi/K-18" country="FI"/><content_rating content_rating="fr/Tous publics" country="FR"/><content_rating content_rating="gb/18" country="GB"/><content_rating content_rating="hu/18" country="HU"/><content_rating content_rating="it/T" country="IT"/><content_rating content_rating="nl/16" country="NL"/><content_rating content_rating="no/18" country="NO"/><content_rating content_rating="nz/R16" country="NZ"/><content_rating content_rating="R" country="US"/><content_rating content_rating="pt/M/16" country="PT"/><content_rating content_rating="ar/13" country="AR"/><content_rating content_rating="mx/C" country="MX"/><content_rating content_rating="pl/18" country="PL"/><content_rating content_rating="ie/18" country="IE"/><content_rating content_rating="is/16" country="IS"/><content_rating content_rating="kr/12" country="KR"/><content_rating content_rating="sg/NC-16" country="SG"/><content_rating content_rating="in/A" country="IN"/><review critic="Roger Hurlburt" freshness="fresh" link="https://www.sun-sentinel.com/news/fl-xpm-1988-05-02-8801270457-story.html" publication="South Florida Sun-Sentinel">Bloodsport is a film that will appeal to a specialized audience to be sure. Laced with humor and an often light and flippantly written script, Bloodsport is a sleeper with a real wake-up punch.</review><review critic="Dave Kehr" freshness="rotten" link="https://www.chicagotribune.com/news/ct-xpm-1988-04-22-8803100931-story.html" publication="Chicago Tribune">The contest format is hopelessly repetitive and inert, the characters would seem underdeveloped in a comic book, and the restricted setting ensures that the action will never develop any real scale or velocity.</review><review critic="Simon Cunliffe" freshness="rotten" link="https://www.timeout.com/london/film/bloodsport" publication="Time Out">A well-plucked turkey, humourless and plagued by a script full of stilted mumbo-jumbo.</review><review critic="Leonard Klady" freshness="rotten" link="http://articles.latimes.com/1988-02-29/entertainment/ca-118_1_film-reviewer" publication="Los Angeles Times">Hacking through the jungle of cliche and reservoir of bad acting in Bloodsport are some pretty exciting matches.</review><review critic="Antonio Albert" freshness="fresh" link="https://elpais.com/diario/1994/04/26/radiotv/767311205_850215.html" publication="El Pais (Spain)">A prime time hour of hits, a lot of blood, a lot of morbid. [Full Review in Spanish]</review><review critic="Fred Topel" freshness="fresh" publication="About.com">Classic Van Damme. Fighting, fighting and more fighting.</review><review critic="Sebastian Zavala Kahn" freshness="fresh" link="http://megustaelcine.com/artes-marciales-en-netflix-tres-entretenidas-peliculas-para-disfrutarlas-durante-esta-cuarentena/" publication="Me gusta el cine">Sometimes, all one needs to watch is a movie like "Bloodsport"; simple, yes, but extremely satisfying. [Full review in Spanish]</review><review critic="TV Guide Staff" freshness="rotten" link="http://movies.tvguide.com/bloodsport/review/127277" publication="TV Guide">Bloodsport is strictly for martial arts buffs; little is offered here in the way of plot, dialog, or acting.</review><review critic="Ángel Luis Inurria" freshness="rotten" link="https://elpais.com/diario/1988/06/06/cultura/581551214_850215.html" publication="El Pais (Spain)">Bloodsport has zero cinematic merits and is an apology for violence. [Full Review in Spanish]</review><review critic="Luke Y. Thompson" freshness="fresh" publication="New Times">Proudly plotless in a way that other low-budget actioners ought to emulate more often.</review><review critic="Sky Staff" freshness="fresh" link="http://www.sky.com/tv/movie/bloodsport-1987" publication="Sky Cinema">Gripping kick-box bouts and an eye-watering training routine made this a crunching calling card from the Belgian bruiser.</review><review critic="John J. Puccio" freshness="rotten" link="http://www.dvdtown.com/review/bloodsport--timecop/blu-ray/8448" publication="Movie Metropolis">Van Damme may have been an excellent martial artist (he had fought as an amateur and professionally for several years before entering the movies), but he was no actor.</review><review critic="Alex Sandell" freshness="rotten" publication="Juicy Cerebellum">Scary to think that a movie this bad could make anyone a star.</review><review critic="Felix Vasquez Jr." freshness="rotten" publication="Cinema Crazed">A campy Van Damne actioner fit for lovers of B films.</review><extra adaptive="true" bitrates="80,212,450,750,1500,2500,5000,8000" dts="false" duration="99" iva_id="1673" lang_code="0" originally_available_at="2014-10-16" primary="true" subtitle_lang_code="-1" thumb="https://metadata-static.plex.tv/extras/iva/1673/91cd8124681894cfff5abf344549fd1d.jpg" title="Bloodsport" type="primary_trailer"/></movie>’ from the HTTP cache
2017-01-23 18:37:54,794 (7f83a4dfa700) : INFO (init:532) - id=tt0092675 score=100 → Best name being changed from Bloodsport to Bloodsport

Perfect! Thank you!

tail -F makes it track the named file and handle when the log file rolls over.

in checking com.plexapp.agents.imdb.log I can see Plex picking up the file (correctly named) in the folder (correctly named) but then for some reason picking the wrong tt id from imdb…


@ChuckPa I just check the folders, both has .nfo files in, both .nfo files point to the wrongly named movies… mistake on my end… but given my settings above, why is plex reading the .nfo files anyway?

there is some ‘compatibility’ thing. The only thing PMS looks at is a tt[0-9]+ regex.

but where is it pulling that data from? if scanning imdb it should have gotten the correct tt id, but it seems to have picked the local .nfo for which it was not set up above a proper search

Looked through it, it’s in the code. when it finds the tt string, it goes and gets it.

This raises some other questions. We’re going to get together and discuss, make a decision, and request/suggest to engineering.

@ChuckPa Thank you, will await your feedback!

It will be a few days but will be this week. We’ve already made initial inquiries. Give us a bit, we’ll see what we can do and how soon.

I only ask…

In the mean time? Don’t use NFO files until you absolutely have to? FileBot is your friend! =))

FileBot is nice for Windoze yes… Haven’t had the time to do for Ubuntu and to be honest I rather enjoy going through every single movie I have and renaming and sorting it out, makes you pick up a lot of olden goldies…

As for the NFO files, I haven’t completed testing yet with updated NFO but can’t see why Plex would be reading local files if nowhere Local Media has been selected…

NFO files are a historical thing coming from YAMJ and sorting for Mede8er (Still love my Mede8er, just hate the manual work for it), so yes NFO’s are there in about 4000 folders or so… Will just keep an eye out for it if anything gets picked up wrongly again, but I would love to hear from Plex on why it read those files to begin with…

Thanks for your time @ChuckPa