#26 bulk movie adding


i wanna be able to add more than one movie at a time ... may be by adding more than one movie name sperated by comas .. showing movie poster in the IMDB search result will really help in this too


  • rolf

    rolf - 2012-02-21

    To make bulk inserts, you must specify the exact IMDb codes or exact name matches. This will be very difficult for a user. How do you propose this?

  • s4nder

    s4nder - 2012-03-09

    It will be a very good idea if the script can parse all movie files available in a directory. At this moment I use php4dvd in a Synology NAS, which has a folder filled with movies. Now i need to enter everything manually, but since my NAS has everything organized it won't be to hard creating a 'scan' script i think.

    My directory structure looks like this:
    /media/tv/ ->series and documentaries
    /media/movies/ -> All movies in a separate subfolder with standard naming
    /media/movies/The Matrix (2009)/The Matrix (2009).mkv
    /media/movies/The Tournament (2009)/The Tournament (2009).mkv

    I also tried to get this script working, it does have this feature but it doesn't work as good as php4dvd on my NAS (can't get it to work with my current php setup): http://www.networkedmediatank.com/showthread.php?tid=47342

    Maybe you can use it as inspiration.. ;)

  • rolf

    rolf - 2012-03-09

    So what you are looking for is a file scan operation and than retrieve your movies by name and year. This might work, but it needs some additional logics and customization to make it work. I'll have a look at it in the future! Thanks for your suggestion.

  • s4nder

    s4nder - 2012-03-13

    Movie naming is kind of standard:

    <namethe> (<year>) <video> <group> resulting in:
    Big Lebowski, The (1998) x264 GROUP

    So if you parse a filename or dirname you can then pass that to the IMDB search script. Maybe you can even make the naming configurable so that a user could use:

    <thename> <video> <group> (<year>) resulting in:
    The Big Lebowski x264 GROUP (1998)

    The ideal way of implementing would be like these two options:

    1. php4dvd gets a 'watch'-folder where it periodically searches for movie files (with mkv/ avi/ etc extensions). These files get parsed by filename (configured by the user) and then passed to IMDB and added into the database when successful.
    2. A new page is added where users can bulk insert movies. Users can pick the directory and file naming convention, then the page scans all the files and the user can select the movies found on IMDB which are not in the database.

    That would be so awesome for php4dvd!


Log in to post a comment.