Moving Movie collection to another server.. (1 Viewer)

shackrock

Portal Pro
December 27, 2008
291
12
Raleigh, NC
Home Country
United States of America United States of America
Hi all.

I had several hard drives in my HTPC tower, and each drive had a folder for movies and tv shows, respectively. Now, I am just moving everything to an external tower in RAID5, that way I don't have to rip all my dvds again if a drive bites the dust.

I'm wondering, can Moving Pictures somehow allow me to move things from an existing folder, to a new one? Can I change the path of 300 files in bulk some how? I will not change the file names, only the path....

Thanks!
 

el Filou

MP Donator
  • Premium Supporter
  • July 2, 2008
    144
    116
    Home Country
    Belgium Belgium
    Hello everyone.

    Posted the same to the TV Series forum but I have the same issue for Moving Pictures.

    I am migrating from a single HD/WinXP/MP 1.0.2 to an SSD+HD/Win7/MP 1.1 so I will have to reinstall everything and change hard drive at the same time. Is that possible or would it be simpler to just re-import everything?
    I have some 200+ movies so I would prefer a way to move the files path without having to re-import.

    Note: I have updated to the last release of MovPic on MP 1.0.2 so the database would be compatible I suppose.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    Get the program called "app to copy artwork and info" or whatever it's called, just search the Moving Pics subforum, it will save all the art and create an nfo file for rescanning.
     

    thekitehunter

    Portal Member
    February 1, 2007
    8
    1
    I downloaded and used the program 'SQLite Expert Personal', its free. Open the 'movingpictures.db3' file in the Mediaportal/database folder. Then in the SQL tab type in your version, (substituting the originalpath, new path) of the following SQL command:

    update local_media set fullpath = replace(fullpath,"L:\Movies\Drama", "M:\Drama");

    and in the table 'local_media' you'll see the path changed, but before you do this make sure that the new folder where your movies are has already been included as an import folder in moving pictures. If you didn't do this, then also change the entry in the table 'import_path' at this time.
    If you end up with duplicated then these can be removed by selecting the 'movie_info' table and rightclicking/'delete selected record'.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    If you enable both the old and new import path in MovingPictures configuration, then you can move files and the path reference will be updated automatically.

    The only thing to remember is that if the 'move' goes slow, that you should not be doing it with MovPic plugin running. So close it down, move the files over and then start MovPic back up. If you open the MovPic configuration screen, you will see that only the file details path got updated (in Movie Details tab).

    Try a few movies to test otherwise so you can see how easy it is.
     

    shipzilla

    New Member
    April 26, 2010
    1
    0
    San Diego
    Home Country
    United States of America United States of America
    I downloaded and used the program 'SQLite Expert Personal', its free. Open the 'movingpictures.db3' file in the Mediaportal/database folder. Then in the SQL tab type in your version, (substituting the originalpath, new path) of the following SQL command:

    update local_media set fullpath = replace(fullpath,"L:\Movies\Drama", "M:\Drama");

    and in the table 'local_media' you'll see the path changed, but before you do this make sure that the new folder where your movies are has already been included as an import folder in moving pictures. If you didn't do this, then also change the entry in the table 'import_path' at this time.
    If you end up with duplicated then these can be removed by selecting the 'movie_info' table and rightclicking/'delete selected record'.

    Thanks for the tip, it worked like a charm!:D
     

    Users who are viewing this thread

    Top Bottom