Movies Not Always Imported (1 Viewer)

MrBobC

Portal Pro
February 3, 2009
52
2
Home Country
United States of America United States of America
I am encountering a problem. Once in a while, when I add a new movie to the HDD, Moving Pictures doesn't detect it. The reason for this I do not know, it just never shows up in the importer. To correct this, I have to remove the import path (and so all the movies attached to it), and then readd the pathway to get it to see the movies. Last time I did this, it added 30 movies to the collection which were on my server and the import paths but never got picked up by the Importer. I just downloaded the latest version, hoping it might see the movie which most recently got added to the drives but not Moving Pictures, but to no avail. Has anyone else encountered this issue, and if they have, is there a way to fix it without removing all my movies in the import path and then readding them? Thanks!

I am using MP 1.2.1.
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I am encountering a problem. Once in a while, when I add a new movie to the HDD, Moving Pictures doesn't detect it. The reason for this I do not know, it just never shows up in the importer. To correct this, I have to remove the import path (and so all the movies attached to it), and then readd the pathway to get it to see the movies. Last time I did this, it added 30 movies to the collection which were on my server and the import paths but never got picked up by the Importer. I just downloaded the latest version, hoping it might see the movie which most recently got added to the drives but not Moving Pictures, but to no avail. Has anyone else encountered this issue, and if they have, is there a way to fix it without removing all my movies in the import path and then readding them? Thanks!

    I am using MP 1.2.1.

    If this relates to network import paths, then there is a new option for this in MovPic config -> Importer Settings -> "Automatically rescan remote import paths every" (90min).

    You can also enable -> "GUI Settings" -> "Allow user to trigger a full rescan from the GUI context menu" if you are a couch control user.

    Normally this should not be needed, but it all depends on a lot of other factors and your network setup. Using UNC paths instead of mapped locations is much better for example and I personally have never had any issues that I didn't notice right away.

    For example I have encountered your exact issue myself, when I was adding files 'too fast' or had file locks in place at OS level. But I just CTRL+Z the move action, clear up any locks via 3rd party tool "ProcExp.exe" from SysInternals and re-add it into the import location. I got access to the movingpictures.log file via a network share and run a little batch script to verify what movies got deleted/added/renamed.

    Code:
    @Echo Off
    find "Removing: " "\\HTPC\MePo Logs\movingpictures.log"
    find "Added """ "\\HTPC\MePo Logs\movingpictures.log"
    find "MovieImporter]: No exact match for " "\\HTPC\MePo Logs\movingpictures.log"
    pause

    And it quickly tells me if all files got correctly imported, renamed, removed or failed to import. I can run this concurrently as well with other people using MediaPortal at the same time.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    Debug log files might help. I agree with RoChess' suggestion as well, if your files are stored on a network drive you might consider the auto rescan option. The Moving Pictures importer relies on file system events from the operating system which can be flaky for some remote setups.

    The latest release disables the locked file delay, sorry to hear 1.3 didn't help you but to anyone else reading this thread with a similar issue, upgrading to 1.3 may help.

    MrBobC, if rescans don't work post some debug logs from when an import failed.
     

    MrBobC

    Portal Pro
    February 3, 2009
    52
    2
    Home Country
    United States of America United States of America
    I do use UNC paths, not mapped drives. I do not update the database from within MediaPortal, only from my main PC, and that database file gets distributed over the network to the HTPCs on their boot through a .bat file which updates their databases and copies new thumbs. When adding the movie file, in this instance "Resident Evil.mkv" I had no problems moving it across the network to its destination. I moved it from my ripping PC to one of my FreeNAS servers. I am not sure about what you are saying after the code, with all files correctly imported/renamed/removed/failed. To reiterate, when I open up the plugin from MP Configuration, and it lists movies to import, "Resident Evil.mkv" never showed up, but other movies, such as "Resident Evil Extinction.mkv" did, and they were both moved at the same time, to the same share. I will add that I had Resident Evil on DVD and had not yet removed that file from the share (as this was a Blu-Ray file I moved), so I deleted that file and it was automatically removed from the database, but I've done that before and not had problems with the import of the Blu-Ray version. It's not that the import failed, it just was never listed as a file to import in the first place, so it did not have the opportunity to import, or maybe I'm misinterpreting the term "failed."
     

    Users who are viewing this thread

    Top Bottom