English > Support

Scan folders/file scanner confusion

<< < (2/13) > >>

rick.ca:

--- Quote ---but it is possible to enable users to setup how PVD should parse the file names.
--- End quote ---

But then it would be my fault if it didn't work!  ;D

Dadeo:
It may not be possible to recogiize ALL filenames, but it is possible to recognize and parse most of them.  I use a plugin in MediaPortal (which is fully free and Open Source) called MyTVSeries which is excellent.  It automatically links to my AMC catalog in XML format. You should consider an XML format for PVD that could be used by this plugin because MediaPortal is getting more widely known and used for the excellent Media Center it is.  You should get PVD known by these people.  This plugin does use SQL for the database I believe, but I don't know what the actual code the plugin is written in.

When parsing files, I use a regexp in the following format and it parses almost every file I have no matter how it is named:

^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$

I don't know if this helps PVD in any way, but I just thought I'd throw it out there in case!

I agree it would be helpful to know what filenames PVD can parse!

Dadeo:
OK, I have another problem/question!

In an existing database, when I have movies with two files (usually named Title\Title.ext -cd1 and Title\Title.ext -cd2) the filescan wants to change the file path to the second filename.  (In some cases it wants to add a new movie!).  Is there any way I can tell it to append the file to the existing File Path field like it does when I run filescan on a new database (e.g. Title\Title.ext -cd1|Title\Title.ext -cd2)

If not, could this feature be added (i.e. option to append filename to file path) where it matches an existing title?

If there are two file names in the File Path, will PVD play both files (I am guessing PVD uses the default player, so this likely depends on the player!)

If not, I guess I just need to manually add all the second file names to the File Path field or put them in the Ignore List?

Don't get me wrong, I think the FileScan feature is FANTASTIC. Especially when it automatically checks for new movies and enters them in my database. That's why I just want it to work more seamlessly!

I am still trying to think of a solution where the Title parsed from the Filename cannot match the Title field (usually because it contains punctuation which cannot be included in a filename such as a colon).

nostra:

--- Quote ---In an existing database, when I have movies with two files (usually named Title\Title.ext -cd1 and Title\Title.ext -cd2) the filescan wants to change the file path to the second filename.  (In some cases it wants to add a new movie!).  Is there any way I can tell it to append the file to the existing File Path field like it does when I run filescan on a new database (e.g. Title\Title.ext -cd1|Title\Title.ext -cd2)
--- End quote ---

No, it is not possible


I will review all the suggestion on this topic and improve the File Scanner accordingly in the next major release. Please, be patient.

Dadeo:
Thanks Nostra, don't worry I am just learning, not impatient!  I appreciate all your great and timely support and the efforts you are making!

What I did was create a PVD using file scan, then import all the results into an AMC database then import all the file paths from that AMC database into my PVD database.  I had to use the AMC import because I don't think the CSV import lets you merge or overwrite data on matching titles.  Am I right?  It would be great if the CSV import could do this as well  ;)

Just a note on a few weird problems on the filescan parsing in Titles:

1.  10,000 becomes 10,00
2.  3 10 becomes 3 0
3.  Mr. (also Mrs.) becomes Mr (Mrs) looks like all dots (periods) are stripped

These files may or may not import movie info from the web depending on the import site.  If I correct the titles, filescan keeps finding them as new movies.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version