Possible bug in movingpictures.db3 / or .txt file parser (1 Viewer)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    I'm currently using XP / MP1.0.2 / Moving Pictures 0.7.5.681

    I noticed some movies are missing details_url even though they have an IMDB ID#

    Here is a screenshot
    attachment.php


    I originally thought that the problem only occured with movies added prior to upgrade from 0.7.2 -> 0.7.5 but now i think it just seems to affect random movies.

    eg the following video file
    K:\DOCUMENTARIES\Cocaine Cowboys\mvs-cowboys.avi

    has IMDB ID# but no details url in the database

    If it makes any difference, at one stage i created several .txt files within the movie directories which contained the IMDB URL, i am not sure if the movies missing the IMDB url are the movies that i imported + approved automatically by parsing the manually created .txt file. I can't tell because i have since ran an app that has created .txt files for all movies.
     

    Attachments

    • missingdetailsurl.JPG
      missingdetailsurl.JPG
      200.1 KB

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    EDIT:

    Actually i'm now 100% sure that the movies affected are the ones i auto approved by creating a info.txt file in the same directory as the movie. I know this because all the movies starting with a,b,c.. up to about F in one of my directories don't have the IMDB url in the database, and i remember creating an info.txt file for all those movies prior to importing. The info.txt file only had one line which was the imdb url.

    So therefore there must be an error that if the movie importer reads a .nfo/.txt file in the same directory as the movie and that .nfo/.txt file only contains IMDB URL, then it fails to correctly write the url details into the database. However it still manages to write the correct IMDB ID#.

    Bug report logged here -> Issue 558 - moving-pictures - details_url is not populated when scaning info.txt containing only the imdb url - Project Hosting on Google Code

    What steps will reproduce the problem?

    1. Create a new subdirectory off your movies folder called "Where the wild things are (2009)"
    2. Create a file called info.txt within that directory
    3. Edit info.txt and place the following line within the .txt file (without the quotes)
    "http://www.imdb.com/title/tt0386117/"
    4. Create a txt file called "where the wild thigns are.txt" within that directory
    5. Rename "where the wild things are.txt" -> "where the wild things are.avi" (This creates a fake movie file)
    6. Run Moving pictures configuration and rescan the movie folders
    7. Moving pictures will automatically add this new movie to your database
    8. Open movingpictures.db3 using an SQLLite browser, you will see that details_url for the new movie is blank, even though moving pictures correctly parsed the IMDB ID# into the database

    What is the expected output? What do you see instead?

    Expect details_url to be populated within movingpictures.db3, instead i see that details_url is blank
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    EDIT:

    The details_url is not strictly blank, it actually contains 1 single character, that appears to be either a space or non-breaking space character (or similar empty character)
     

    Users who are viewing this thread

    Top Bottom