MP2 - V2.1 500 movies missing (1 Viewer)

Status
Not open for further replies.

JSchuricht

Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    I am working on a system for my father which is win7 standalone with a bunch of individual hard drives and only movies on them. He just pointed out to me that he can't find some movies. There are 2080 listed under browse media but only 1578 under movies. I think this is an ongoing issue, I reported it back in 2015 on my own system and think its still happening but can't really tell with 200TB of stuff unless I am looking for something specific.

    Anyways, his system is standalone and was on the spring release when he noticed the movie Fences missing. I used it as an excuse to upgrade him to pre2.1 with a full new import. The movies all have an imdb.txt file with the tt number and the mod to NfoMovieMetadataExtractorSettings.xml to support that file name. The movie Fences was still missing, moving it to a different drive or renaming it with filebot made no difference.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    The movie Fences was still missing, moving it to a different drive or renaming it with filebot made no difference.
    We can't tell for sure what is happening because your logs have been taken at INFO level. Can you please set log level to DEBUG (this can be done from within the GUI), repeat the above and then post new logs?

    Obviously the movie "Fences" is not recognized. The automatic importer (i.e. not taking nfo's into account) is capable of identifying any movie, provided its name is unique. To help overcome ambiguities I am adding the imdb number (tt.....) to the movie file name. It could also be that your nfo file is not working for some reason, so uploading the specific information might also give a hint to us if there is something wrong.
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    I have been doing a bit of testing and think I have a partial reason for the import failing. I created a blank win7 test system with a fresh unmodified installation of pre2.1 and a remote client because Mediaportal client doesn't like running in a VM. I placed three random movies from my own collection with a mixture of movie.nfo and movie.txt files containing tt numbers. All three movies imported fine. I then copied one of the movies changing the file name and tt number to match my fathers system and just like his system it was only available under browse media. I renamed the file with a different filebot option from fences.mkv to fences 2016.mkv and it works. Digging through the logs it looks like mediaportal is ignoring the movie.txt file and attempting to match off file name which results in fences 2013 and finds too many matches.

    So now the question is how can I force the TT number in a txt or nfo file to be the first option for the importer to look at? A TT number in the file name would be great but fixing 2080 files on his system would just plain suck especially now that I took the time to count the 4683 movies in my collection that only sees 4221 movies.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,622
    2,387
    Stuttgart
    Germany Germany
    Country flag
    txt files are not supported. I think this is also the case for most other HTPC software. MP2 expects nfo files and I'm using Tiny Media Manager for that.
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    Are you sure about that, the MediaPortal.Extensions.MetadataExtractors.NfoMetadataExtractors.Settings.NfoMovieMetadataExtractorSettings.xml shows support for .nfo, .xml and .txt extensions.

    Code:
    -<Configuration>
    
    
    -<Property Name="MovieNfoFileNames">
    
    
    -<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <string>movie</string>
    
    <string>imdb</string>
    
    </ArrayOfString>
    
    </Property>
    
    
    -<Property Name="NfoFileNameExtensions">
    
    
    -<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <string>.nfo</string>
    
    <string>.xml</string>
    
    <string>.txt</string>
    
    </ArrayOfString>
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    You may be onto something, I just tried tinymediamanager and the nfo for that works no matter how I name the file or folder and it also works if the nfo is changed to txt. The key seems to be in the formatting of the txt or nfo file. The tinymediamanager format works but just the tt numer or the imdb link in a txt or nfo file isn't working but it used to work. Something changed which explains why it has become more difficult to get movies to import over the last few releases. I will try to hunt down some previous releases to see if I can pinpoint when the change was made unless someone knows off hand.
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    I haven't had much time to work on this lately but in MediaPortal.Extensions.MetadataExtractors.NfoMetadataExtractors.Settings.NfoMovieMetadataExtractorSettings.xml for the 2.0.0-Summer Release there appears to be a line looking for a pattern (tt\d{7}) to find imdb numbers. Pre 2.1 is missing this line. There may be some other changes needed to make it work but I think this may be the cause of the mass import failures I am seeing on a few systems I have helped people build.
    Code:
      <Property Name="ImdbIdRegex">
        <SerializableRegex>
          <pattern>(tt\d{7})</pattern>
          <options>None</options>
          <timeout>-00:00:00.0010000</timeout>
        </SerializableRegex>
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    Well there appears to be a significant improvement with adding the lines above. I can see all the movies in the logs finding the tt number. On the downside I can see many movies with a valid tt number that "could not be found or does not represent a movie on TheMovieDb.com". I enabled OMBBAPI.com and Fanart.tv for online sources to use for new media and restarted the import. With a little luck that will find more of the movies but I won't know till tomorrow due to a issue remoteing into the system while its monitor is off.

    So for now, can someone with access please make sure MediaPortal.Extensions.MetadataExtractors.NfoMetadataExtractors.Settings.NfoMovieMetadataExtractorSettings.xml is updated on the next build to include the code in my previous post. I don't know why it got removed in 2.1 but it certainly broke a few things on import. I put a copy of the file in the logs below for an example.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,173
    736
    Denmark Denmark
    Country flag
    So for now, can someone with access please make sure MediaPortal.Extensions.MetadataExtractors.NfoMetadataExtractors.Settings.NfoMovieMetadataExtractorSettings.xml is updated on the next build to include the code in my previous post.
    As far as I can see it is already included and always has been (since it was introduced).
     
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    high [MyGet] You are at 92.95 % of your storage quota! (464.76 MB/500 MB) Online Facilities 4
    raffe How to add 500+ streams? OnlineVideos 1
    toricred Using TMM, How to Stop Importer From Going to The Movie Database for Data General 1
    DHosein 1.25 Upgrade and movie covers/backdrops General Support 9
    doskabouter [Help Me!] Playback of iTunes Movie Trailers Developer Discussions 0
    D [solved] Movie artwork download stopped working Submit: Bug Reports 9
    G Movie release date in guide Electronic Program Guide 2
    J [fixed] Import issue with alternate movie title matching the name of another movie Submit: Bug Reports 7
    tano_grasa Movie cover not showing when starting a movie aMPed 0
    R [further infos missing] some movies freezing evry seconds Submit: Bug Reports 9
    J [fixed] Importer confused on specific movies with the same title, different years and different NFO's Submit: Bug Reports 3
    B How to Search MP2 for Movies only in 7 day EPG that comes from the Antenna General 3
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    N [solved] Movies starten nicht Allgemeines Support- und Diskussionsforum 16
    J How to save recorded Movies and TV Series to sub-folders? Newcomers Forum 1
    S Movie navigation issues in MP2 General 8
    D media portal 2.2 have movies shown on genre not name General 6
    D Ripped movies not importing unless IMDB code is included in folder name General 4
    M 4k movies General 2
    D [solved] Active Movie window General 2
    fredco [solved] Large import not working Moving Pictures 15
    M [solved] MP2 Not discovering all movies Newcomers Forum 2
    M 4k usergroup rule for them movies only watch/edit Videos 1
    S [solved] Movie SRT subtitle didn't display on client 2.2 Archive 18
    S [solved] Some movie didn't appear General 21
    Similar threads

























    Top Bottom