English > Support
File Scanner & RegEx Question....
rick.ca:
--- Quote ---First, is there a way to have it take all the files under a directory and then put them all under either an existing or a new series?
--- End quote ---
Yes. The "manual" control for adding files to File path allows multiple files or entire folders to be added.
--- Quote ---Second, is there any way to get it to ask you where you want the files to be stored under?
--- End quote ---
No, not in the scan results dialog. There, the only options are to accept the match it finds, change it to a "new movie" or ignore it.
--- Quote ---Its kind of annoying having to figure out a code when I just want it to scan the files and put them under a specific location numbering itself if there aren't any numbers.
--- End quote ---
I don't understand what you mean by this. Regex can match any patterns found anywhere in the pathname and assign them to variables that will uniquely identify a movie or episode. I doesn't get any better than that. If there are no consistent patterns, of course, then there's no basis for regex or any other system to make such matches. In the end, you'll have to settle on some combination of...
* designing set of regex that will recognize the filenames you use;
* changing your file naming conventions so they can be understood by regex; or
* assigning the files manually.
katleeh:
Okay, let me see if I can explain this. Right now I have a disc in my drive with 2 directories on it and each has about 16 video files in those directories. There are no numbers on the files, just file names as they were downloaded off someone's site and all are related to the person which the directory names. Now, like a few other programs I've used (and still use), I want the program to either take the files as a separate episode of the same series which I've either already highlighted or will enter once its scanned the files. Either way the files should be getting put under the same series, not as the same movie which is lumping all the files together. So far I've been doing this manually, but that is way too time consuming and I just don't have the time for it causing me to just skip some things because of that. (You try entering one in where you have 20 or 30 files there.) This is not only getting annoying but just taking up too much time. And I don't understand the format of the file scanner to do anything with it.
So the question is, how do I set this up to do what I need it to do?
- Katleeh
katleeh:
If it helps any, this is how a lot of my stuff is named as far as file convention goes:
For the one I'm currently trying to scan, the files are named
<directory name is the series name>\<episode title>.wmv
For other series I'm trying to scan, I've already got the series info in the database and just want to connect the files, but when I burned the discs, I had to delete the series name so that it would burn on the disc properly. So that leaves the following format:
<Ep #> - <Episode Title>.mkv
I'd have to enter the series it connects to manually, or it would need to ask me which series to connect it to.
- Katleeh
rick.ca:
--- Quote ---For the one I'm currently trying to scan, the files are named
<directory name is the series name>\<episode title>.wmv
--- End quote ---
The scanner should be able to match those with regex using <title> and <eptitle>. Something like...
(?i)^.*\\(?P<title>.*)\\(?P<eptitle>.*)\..{3,4}.
--- Quote ---So that leaves the following format: <Ep #> - <Episode Title>.mkv
--- End quote ---
Try this (I'm not sure it will work if your files don't have season numbers): Manually assign all the files to the series record. Then use Organize files by episodes to assign them to the episode records.
katleeh:
Okay what do you mean by manually assign the files then organize them? I thought that's what I've been doing that's taking so long...
And thank you for the regex code. Ill try it and see if that helps.
- katleeh
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version