Movie scraper not geting most titles

Okay, so under my master profile everything scrapes just fine, but under my children’s profile the scraper fails to get 80% of my files.
I tried themoviedb and universal scraper with IMDB.
Movies that were previously scraped, if I remove them from the library and try to rescrape them I get nothing.
It seams to be totally arbitrary which files it gets and which it doesn’t.
As an example, it scrapes “The Incredibles (2004) [UHDRemux].atmos.mkv” just fine but says no information found for “Incredibles 2 (2018) [UHDRemux].atmos.mkv”.
This is driving me crazy because it’s so arbitrary.

Directory: R:\Movies


Mode                LastWriteTime         Length Name                                                                  
----                -------------         ------ ----                                                                  
d-----        7/14/2019   1:20 AM                Cars                                                                  
d-----        11/1/2018   1:38 AM                Curious George                                                        
d-----         7/9/2019  12:07 AM                Descendants                                                           
d-----        6/10/2019   2:24 PM                Despicable Me                                                         
d-----       11/17/2018  12:18 AM                Home Alone                                                            
d-----        6/28/2019   8:45 PM                Honey, I Shrunk the Kids                                              
d-----         6/9/2019   9:05 AM                Lego                                                                  
d-----        6/25/2019   2:28 AM                Looney Tunes                                                          
d-----        6/28/2019   2:19 PM                Monsters                                                              
d-----        7/11/2019   9:30 PM                Muppets                                                               
d-----        6/10/2019   2:46 PM                National Treasure                                                     
d-----         6/9/2019  10:56 AM                Nemo                                                                  
d-----        6/10/2019   2:57 PM                Night At The Museum                                                   
d-----        6/10/2019   3:08 PM                Oz                                                                    
d-----         6/7/2019   2:17 AM                The Incredibles                                                       
d-----        7/27/2019  12:17 AM                The Peanuts Movie (2015)                                              
d-----        6/26/2019  12:45 PM                Toy Story                                                             
d-----        6/26/2019   9:18 PM                Winnie The Pooh                                                       
d-----         6/3/2019   1:44 PM                Wreck-It Ralph                                                        
------         6/3/2019   6:51 PM     4697056956 Alice In Wonderland (1951) [BDRip].mkv                                
------         6/3/2019   6:51 PM             49 Alice In Wonderland (1951) [BDRip].mkv.sfv                            
------         6/3/2019   6:38 PM         101233 Animal Crossing; The Movie (2006) [BDRip]-poster.jpg                  
------         6/3/2019   6:36 PM     2403987809 Animal Crossing; The Movie (2006) [BDRip].mkv                         
------         6/3/2019   6:39 PM             56 Animal Crossing; The Movie (2006) [BDRip].mkv.sfv                     
------         6/3/2019   6:42 PM     3519018727 Animal Farm (1954) [BDRip].mkv                                        
------         6/3/2019   6:43 PM             41 Animal Farm (1954) [BDRip].mkv.sfv                                    
------        6/26/2019   3:10 PM    11735525447 Batteries Not Included (1987) [BDRip].mkv                             
------        6/26/2019   3:11 PM             52 Batteries Not Included (1987) [BDRip].mkv.sfv                         
**------         4/9/2019   9:06 PM      210060136 Ben And Me (1953) [DVDRip].mkv**                                        
------        6/26/2019  11:19 AM             41 Ben And Me (1953) [DVDRip].mkv.sfv                                    
------         6/4/2019  12:14 AM     8361250791 Charlotte's Web (2006) [BDRip].mkv                                    
------         6/4/2019  12:17 AM             45 Charlotte's Web (2006) [BDRip].mkv.sfv                                
------        6/24/2019   9:20 PM     3059596784 DuckTales the Movie; Treasure of the Lost Lamp (1990) [WEB-DL].mkv    
------        6/24/2019   9:20 PM             77 DuckTales the Movie; Treasure of the Lost Lamp (1990) [WEB-DL].mkv.sfv
------       11/17/2018   8:55 AM    51411701023 E.T. The Extra-Terrestrial (1982) [UHDRemux].dtsx.mkv                 
------         6/3/2019  11:35 AM            152 E.T. The Extra-Terrestrial (1982) [UHDRemux].dtsx.mkv.sfv             
------        7/28/2019   3:53 AM              0 filename.txt                                                          
------        7/27/2019   8:11 PM    23659088091 James and the Giant Peach (1996) [BDRemux].mkv                        
------        7/28/2019   1:58 AM             57 James and the Giant Peach (1996) [BDRemux].mkv.sfv                    
------        6/26/2019  11:14 AM        1071404 Labyrinth (1986) 30th Anniversary Edition [BDRip].atmos-poster.jpg    
------        6/26/2019  11:15 AM    14217080451 Labyrinth (1986) 30th Anniversary Edition [BDRip].atmos.mkv           
------        6/26/2019  11:16 AM             70 Labyrinth (1986) 30th Anniversary Edition [BDRip].atmos.mkv.sfv       
**------         4/9/2019   9:05 PM      314044619 Reader Rabbit - Wordville Soup (2005).mkv**                             
------        6/26/2019  11:19 AM             52 Reader Rabbit - Wordville Soup (2005).mkv.sfv                         
------        6/26/2019   2:28 PM     7041379769 Space Jam (1996) [BDRip].mkv                                          
------        6/26/2019   2:29 PM             39 Space Jam (1996) [BDRip].mkv.sfv                                      
**------         6/5/2019   9:32 PM    13120966476 The Goonies (1985) [BDRip].mkv**                                        
------         6/5/2019   9:55 PM             41 The Goonies (1985) [BDRip].mkv.sfv                                    
------         6/5/2019   9:37 PM     4693472453 The Jungle Book (19670 [BDRip].mkv                                    
------         6/5/2019   9:39 PM             45 The Jungle Book (19670 [BDRip].mkv.sfv                                
------         6/9/2019   8:09 AM    10068374376 The Lion King (1994) [UHDRip].atmos.mkv                               
------         6/9/2019   8:16 AM             50 The Lion King (1994) [UHDRip].atmos.mkv.sfv                           
**------         6/5/2019   9:51 PM    12017057032 The NeverEnding Story (1984) [BDRip].mkv**                              
------         6/5/2019   9:55 PM             51 The NeverEnding Story (1984) [BDRip].mkv.sfv                          
------        6/23/2019   4:04 PM         654969 The Nightmare Before Christmas (1993) Collector's Edition             
                                                 [BDRip]-poster.jpg                                                    
------         6/9/2019   5:20 AM    10895804820 The Nightmare Before Christmas (1993) Collector's Edition [BDRip].mkv 
------         6/9/2019   5:25 AM             80 The Nightmare Before Christmas (1993) Collector's Edition             
                                                 [BDRip].mkv.sfv                                                       
**------        1/28/2019   9:12 PM     1500835685 The Sandlot (1993) [BDRip].mkv**                                        
------         6/3/2019  11:35 AM            129 The Sandlot (1993) [BDRip].mkv.sfv                                    
------         5/2/2019   6:48 PM     9350863204 The Secret Life Of Pets (2016) [UHDRip].atmos.mkv                     
------         6/3/2019  11:35 AM            148 The Secret Life Of Pets (2016) [UHDRip].atmos.mkv.sfv                 
**------        5/26/2019   1:28 PM    11649244766 The Spy Next Door (2010) [BDRip].mkv**                                  
------         6/3/2019  11:35 AM            135 The Spy Next Door (2010) [BDRip].mkv.sfv                              
------         6/3/2019   2:36 AM    10568608111 The Wizard (1989) [BDRip].mkv                                         
------         6/3/2019   2:37 AM             40 The Wizard (1989) [BDRip].mkv.sfv                                     
**------         6/7/2019   1:59 AM    11727710831 Willy Wonka & The Chocolate Factory (1971) [BDRip].mkv**                
------         6/7/2019   2:00 AM             65 Willy Wonka & The Chocolate Factory (1971) [BDRip].mkv.sfv

Above is a directory list I made of my children’s movie folder.
I tried to BOLD the titles it scrapes but instead it just puts “" because it’s preformatted text.
So anything with "
” it scrapes, everything else it just says no information found.

https://paste.osmc.tv/bobemiziva

So what I did here is removed “The Incredibles” from my library, reboot OSMC, update library, upload log.
Thinking whats best to look for is why it gets “The Incredibles” but not “Incredibles 2”.

https://paste.osmc.tv/pumugabiku

In this log I went into my master user profile and added the “The Incredibles” directory to my library and the scraper had no issues getting both movies.
Look at 2019-07-28 04:29:01.907 and below.
So it would seam that it’s something unique to my children’s profile.

Worth noting, this issue has occured since resolving a seperate issue found in this thread: Enable Menu Customisation does nothing

Have you tried just renaming the file? Try something like:

Incredibles 2(2018).atmos.uhd.mkv

The scrapper can be oddly fussy about names sometimes. If that does not work I’d suggest that you ask for help on the Kodi forums as this is not an issue related to OSMC.

EDIT: What does the sources.xml look like for the childrens profile?

Renaming does nothing.
Also, my file name worked before just fine and still works fine now if I’m logged in to my master profile.
The issue only exists under my children’s profile.

Where do I find the source.xml file?

There may be 2 sources.xml. One in .kodi/userdata and the other in .kodi/userdata/profiles/Children

I noticed something in the log when it’s trying to find Incredibles 2:

2019-07-28 04:04:40.852 T:3935302368   DEBUG: FindMovie: Searching for 'Incredibles.2.2018.2160p.BluRay.REMUX.HEVC.TrueHD.7.1.Atmos-FGT' using The Movie Database scraper (path: '/home/osmc/.kodi/addons/metadata.themoviedb.org', content: 'movies', version: '5.1.7')
2019-07-28 04:04:40.900 T:3935302368 WARNING: No information found for item '/media/Seagate Backup Plus 4TB/Movies/The Incredibles/Incredibles 2 (2018) [UHDRemux].atmos.mkv', it won't be added to the library.

That does not match the filename from what it looks like. I’m thinking that it’s something in the mkv headers that the TMDB is picking up on. You could try getting MKVToolNix and have a look at the file.

Good eye.
I’ll play with the header and see what happens.
Still doesn’t explain why it scans under my master profile but not under my children’s profile or why it scanned in my children’s profile before but won’t now.

Okay, changed it to just “Incredibles 2 (2018)” in the mkv header and it still didn’t scrape.

I’m not sure why it’s even picking that up. I know that Kodi can make use of the headers in a limited fashion, but that’s just odd to me. Can you show us what the sources.xml look like?

Share a log from when that happened if you would.

https://paste.osmc.tv/demodoqilu

Enabled logging, reboot, scraped, got Incredibles 1 but not 2.

<sources>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Auto-mounted drives</name>
            <path pathversion="1">/media/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Auto-mounted drives</name>
            <path pathversion="1">/media/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

I think I see the problem. It would appear to be a bug in the TMDB scraper. To confirm, try renaming the file again and remove the ’ (2018)’ from the filename so it’s just Incredibles 2.mkv

I have no idea why it would work for one profile and not the other.

<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Auto-mounted drives</name>
            <path pathversion="1">/media/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Auto-mounted drives</name>
            <path pathversion="1">/media/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Music</name>
            <path pathversion="1">/home/osmc/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
        <source>
            <name>osmc</name>
            <path pathversion="1">/home/osmc/</path>
            <allowsharing>true</allowsharing>
        </source>
    </files>
    <games>
        <default pathversion="1"></default>
    </games>
</sources>

That’s the contents of the two sources.xml files I found.

https://paste.osmc.tv/iqocemizeg

New log.
I renamed it to Incredibles 2.mkv and it still didn’t scrape it.

2019-07-28 08:19:49.435 T:3836732128 WARNING: No information found for item '/media/Seagate Backup Plus 4TB/Movies/The Incredibles/Incredibles 2.mkv', it won't be added to the library.