English > Support
Scan folders/file scanner confusion
patch:
--- Quote from: nostra on July 23, 2008, 02:00:35 pm ---For the patсh's problem: it is already possible to write a script that would generate a txt file with any information needed for each movie placing it near video file. Then a script like this http://www.videodb.info/forum_en/index.php?topic=904.0 could be used to retrieve the information from txt files.
--- End quote ---
Has anyone had any luck with this?
I had a look at scripts and they all seam to relate to importing data into PVD, typically via a url reference, parsing html page, and filling relevant database fields.
Plugin templates seam more relevant to me. The closest I could find is the "Web Pages(Index&Movies)" template which produces one (html) file per movie.
I'm guessing what is need is to:
1) Set "recordfilename" to an absolute address based on "File Path" rather than an address relative to the index file. Not sure how to handle multiple entries in path, probably need to process them the same as PVD does when grouping files, or txtinfo_en.psf http://www.videodb.info/forum_en/index.php?topic=904.0 does in function GetDownloadURL : String; Had a go at the latter but couldn't get it working :(
2) Produce a pages/movie.ptm to export the text file contents, probably based on "XML (Movies).ptm". Looks like it wouldn't be too bad to adapt to what txtinfo_en.psf wants
3) Run the export function to write tags to all known movie files.
4) Produce a txtinfo_en+imdb+allmovie.batch to import movie data into new user accounts. Maybe straight forward but I don't really understand how the various importing options relate to Scripts and Plugins
patch:
--- Quote from: patch on August 19, 2008, 10:55:07 am ---Plugin templates seam more relevant to me. The closest I could find is the "Web Pages(Index&Movies)" template which produces one (html) file per movie.
I'm guessing what is need is to:
1) Set "recordfilename" to an absolute address based on "File Path" rather than an address relative to the index file. Not sure how to handle multiple entries in path, probably need to process them the same as PVD does when grouping files, or txtinfo_en.psf http://www.videodb.info/forum_en/index.php?topic=904.0 does in function GetDownloadURL : String; Had a go at the latter but couldn't get it working :(
--- End quote ---
I now suspect this is not possible.
Looking at http://www.videodb.info/forum_en/index.php?topic=766.0 and experimenting with "Templates for plane text export" I suspect templates for export plugin do not support functions and recordfilename does not support absolute addressing (sub-files must go in the same directory as user selects to save the index).
Looks like I will have to hope nostra adds tagging in 0.9.9 or learn to write my own export script.
nostra:
--- Quote ---Looking at http://www.videodb.info/forum_en/index.php?topic=766.0 and experimenting with "Templates for plane text export" I suspect templates for export plugin do not support functions and recordfilename does not support absolute addressing (sub-files must go in the same directory as user selects to save the index).
--- End quote ---
Yes, it is not possible with a standard export plugin, but can be solved pretty easily with a script. I have no problem with writing a script for you, but only after 0.9.9...
patch:
--- Quote from: nostra on August 20, 2008, 11:55:51 am ---I have no problem with writing a script for you
--- End quote ---
That is great news as with txtinfo_en.psf that will implement movie tagging functionality
--- Quote from: nostra on August 20, 2008, 11:55:51 am ---but only after 0.9.9...
--- End quote ---
Sounds like sensible prioritisation to me. I'm looking forward to seeing 0.9.9 also :)
patch:
--- Quote from: patch on August 20, 2008, 12:25:06 pm ---Sounds like sensible prioritisation to me. I'm looking forward to seeing 0.9.9 also :)
--- End quote ---
This is frustrating.
Just finished backing up my movies, updated PVD data then copied it to the backup drive.
Or that was what was suppose to happen. Unfortunately I rushed the last step and actually copied the old copy over the new one.
Now I'm back to on old copy of my PVD data which cannot be opened by a non-administrator. So will need to export to CVS, manually import pictures, & redo last 2 months cataloguing.
I'm really really looking forward to being able to export tags. Doing this stuff twice because of my own mistakes is very frustrating.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version