Create entries for all movies in a subdirectory

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
emueyes
Posts: 11
Joined: 2017-05-21 02:34:03

Create entries for all movies in a subdirectory

Post by emueyes »

I have tried to find this pretty fundamental procedure's directions but can't seem to find anything. I have a lot of movie files (100's) and don't want to have to enter any details by hand. I can either arrange them with one movie file per directory, or all in one big directory. In either case the filename would look like Moviename (20xx).ext

What I'd like to do is just point the program at the root of the directory structure and have it pick up all video files. I've spent a lot of time making their filenames and directory structure are consistent and correct and would really like to take advantage of this order.

I'm sure it's something pretty straightforward but I can't figure it out. Any help would be great, it looks to be a really nice program if I could just get it started :)

Rob
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Normally with File -> Import -> Media files you should be able to do that. It can scan a folder, optionally subfolders.
To keep the useful parts from the file name, you can either do it at import time with the "Filter the file name" button, or afterwards via script.
emueyes
Posts: 11
Joined: 2017-05-21 02:34:03

Post by emueyes »

Thanks very much, that works perfectly. One more thing would tailor make this for my intended use, being able to export individual XML files for each movie. I could just go ahead and open each file, export from it and drop it I guess.

Once again though, thanks :) this looks like a nice piece of software.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You could achieve that using the HTML export and making a custom template with XML tags instead of HTML.
In the HTML export there are two "tabs": full & individual.
If you load something in the "individual" tab, it will make one file per movie using the template there.
(also chose "export selected" instead of "export both" if you just want individual files)
emueyes
Posts: 11
Joined: 2017-05-21 02:34:03

Post by emueyes »

Thanks antp, that works great, it's exactly what I wanted. One more small question, I get two HTML files output, one with a '_1' extension. That one doesn't seem to use newlines or other formatting, and has very little formatting at all compared to the other report of the same template and data, that is, it just runs all the fields together. That's not a major issue at all though.

Very nice, I'd never heard of this software 2 hours ago, now it's the best tool for the job.
emueyes
Posts: 11
Joined: 2017-05-21 02:34:03

Post by emueyes »

Ah, I see what I was doing with the tags now, all good. Thanks again.
davezn
Posts: 32
Joined: 2013-12-12 14:55:59
Location: RSA

Cannot Get Sub Folders

Post by davezn »

antp wrote:Normally with File -> Import -> Media files you should be able to do that. It can scan a folder, optionally subfolders.
To keep the useful parts from the file name, you can either do it at import time with the "Filter the file name" button, or afterwards via script.
Hi Admin, when i try and import from my video folders there are many movie folders there. The import sees the folders but cannot import with going in to each individual folder.
Can you help?
regards
Davezn
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Increase the value "Browse subfolders with depth of" to at least 1 (or more if there are sub-subfolders).
davezn
Posts: 32
Joined: 2013-12-12 14:55:59
Location: RSA

Post by davezn »

Thank you. Works perfectly. Kind regards Davezn
Post Reply