Imorting hundreds of AVI-s
Imorting hundreds of AVI-s
Hello!
First I'd like to thank the author for making this great program.
Now for the question: Is it possible to get info from multiple AVIs together - like in Twink's IMDB imort, where you don't have to specify names, just run the script. I have over 100 avi-s on my HDD and it would take quite some time to import them one by one. I can move all the avi-s into one directory and then it would be great if I could just run a script and it would get all the filenames for movie titles and get their respective fileinfo. Hope You get the idea. And if possible could distinguish 2cd versions from 1cd versions. I now it's a lot to ask, but I'm really not experienced with script writing, so if anyone can do it, or direct me to one, if it has been already made, it would ease a lot of work for me or for anyone else with a big collection.
Thanking in advance,
Tanel
First I'd like to thank the author for making this great program.
Now for the question: Is it possible to get info from multiple AVIs together - like in Twink's IMDB imort, where you don't have to specify names, just run the script. I have over 100 avi-s on my HDD and it would take quite some time to import them one by one. I can move all the avi-s into one directory and then it would be great if I could just run a script and it would get all the filenames for movie titles and get their respective fileinfo. Hope You get the idea. And if possible could distinguish 2cd versions from 1cd versions. I now it's a lot to ask, but I'm really not experienced with script writing, so if anyone can do it, or direct me to one, if it has been already made, it would ease a lot of work for me or for anyone else with a big collection.
Thanking in advance,
Tanel
That's a very good question.
I was thinking it is not possible, but actually there is a solution.
So put all your .avi in a folder.
Then create a file called makelist.bat in this folder, containing this:
Save and close this .bat file, then execute it (double click on it)
This will create a .avi.film file for each .avi file
In Explorer window, sort the files by name, so for each .avi the .avi.film file will be placed before (maybe that you will need to sort them to inverted name order to get that)
Delete the .film of the "CD2" files (or .film of "CD1" when a "CD2" exist, depends if you use inverted sort order or not, the .film must appear before the two .avi)
So you have for example :
matrix.avi.film
matrix.avi
Starwars CD1.avi.film
Starwars CD1.avi
Starwars CD2.avi
Now delete the makelist.bat files, make sure than no item is selected in Ant Movie Catalog, select all the .avi and .film files, and drag & drop all these files to Ant Movie Catalog's main window, but drag this selection from the first file, so Windows will keep the order (if you "take" the selection block from another file than the first one Windows does someting strange things).
Now everything should have been imported.
I was thinking it is not possible, but actually there is a solution.
So put all your .avi in a folder.
Then create a file called makelist.bat in this folder, containing this:
Code: Select all
for %%a in (*.avi) do echo %%a > %%a.film
This will create a .avi.film file for each .avi file
In Explorer window, sort the files by name, so for each .avi the .avi.film file will be placed before (maybe that you will need to sort them to inverted name order to get that)
Delete the .film of the "CD2" files (or .film of "CD1" when a "CD2" exist, depends if you use inverted sort order or not, the .film must appear before the two .avi)
So you have for example :
matrix.avi.film
matrix.avi
Starwars CD1.avi.film
Starwars CD1.avi
Starwars CD2.avi
Now delete the makelist.bat files, make sure than no item is selected in Ant Movie Catalog, select all the .avi and .film files, and drag & drop all these files to Ant Movie Catalog's main window, but drag this selection from the first file, so Windows will keep the order (if you "take" the selection block from another file than the first one Windows does someting strange things).
Now everything should have been imported.
Last edited by antp on 2002-11-04 09:13:30, edited 1 time in total.
Thank You, Thank You, Thank You
Works great, no problems with 1cd versions, but a small mistake was found when importing 2CD versions - had to delete the CD1.avi.film (not CD2) for them to sort right. You might want to change that on the previous post so it wouldn't be misleading for others.
Thank You again, and keep up the good work
P.S. On another note: found a small bug - when you resize the movie list so it gets hidden behind the left side of the window and you quit AMC, you can't get it to come back. This happened first to a friend of mine, and trying this, mine got messed up too. Found a solution also In order to get the list window back I had to change a value in the moviecatalog.xml - namely ListWidth to something other than 0. Hope this helps. (AMC 3.4.0 latest, WinXP)
Works great, no problems with 1cd versions, but a small mistake was found when importing 2CD versions - had to delete the CD1.avi.film (not CD2) for them to sort right. You might want to change that on the previous post so it wouldn't be misleading for others.
Thank You again, and keep up the good work
P.S. On another note: found a small bug - when you resize the movie list so it gets hidden behind the left side of the window and you quit AMC, you can't get it to come back. This happened first to a friend of mine, and trying this, mine got messed up too. Found a solution also In order to get the list window back I had to change a value in the moviecatalog.xml - namely ListWidth to something other than 0. Hope this helps. (AMC 3.4.0 latest, WinXP)
i made a batch based on the one before in this topic. I use sed.exe http://www.cornerstonemag.com/sed/ to delete all the bad words in the title like : [ripped by ...] cd1 ..., so the importation is a lot easier
download sed.exe
in ant movie catalog configure :
desactivate : tools preferences 'get informations' 'import filename as title'
in french version :
decocher : outils preferences 'extraction d'infos' 'importer le nom du fichier comme titre'
made a .bat file with that :
made a filter.sed file with that
if you want to modify the filters learn regular expressions here :
http://www.opengroup.org/onlinepubs/7908799/xbd/re.html
copy sed.exe , filter.sed and titles.bat in your avi folder and launch title.bat
you can now drag and drop your list in ant movie cataloger
and a little tip : if explorer hang when you are in a folder with a lot of .avi follow this link (french language) : http://optimizer-xp.blinckers-groups.co ... ?astuce=18
download sed.exe
in ant movie catalog configure :
desactivate : tools preferences 'get informations' 'import filename as title'
in french version :
decocher : outils preferences 'extraction d'infos' 'importer le nom du fichier comme titre'
made a .bat file with that :
Code: Select all
for %%a in (*.avi) do echo %%~na | sed -f filter.sed > %%a.film
for %%a in (*.mpg) do echo %%~na | sed -f filter.sed > %%a.film
for %%a in (*.mpeg) do echo %%~na | sed -f filter.sed > %%a.film
Code: Select all
s/‚/é/g
s/Š/è/g
s/ˆ/ê/g
s/…/à/g
s/ƒ/â/g
s/—/ù/g
s/–/û/g
s/‡/ç/g
s/\./ /g
s/_/ /g
s/\-/ /g
s/\[.*\]//gI
s/(.*)//gI
s/ CD[1-9]*//gI
s/ fr / /gI
s/ [^ ]*french.*/ /gI
s/ [^ ]*divx.*/ /gI
s/ [^ ]*xvid.*/ /gI
s/ [^ ]*dvd.*/ /gI
s/ [^ ]*emule.*/ /gI
s/ [^ ]*edonkey.*/ /gI
s/ [^ ]*kasa.*/ /gI
s/ [^ ]*rippe.*/ /gI
s/ */ /g
http://www.opengroup.org/onlinepubs/7908799/xbd/re.html
copy sed.exe , filter.sed and titles.bat in your avi folder and launch title.bat
you can now drag and drop your list in ant movie cataloger
and a little tip : if explorer hang when you are in a folder with a lot of .avi follow this link (french language) : http://optimizer-xp.blinckers-groups.co ... ?astuce=18
And... the same but in Folders?
I want to make the same for an automatic collection of titles, but I have the moviez in folders (1 in every folder) for more "pretty" presentation in Windows.
Is posible to adapt this script but running folder by folder? And perhaps creating the .film file in the root folder for an EZ import.
Regards,
AB
Is posible to adapt this script but running folder by folder? And perhaps creating the .film file in the root folder for an EZ import.
Regards,
AB
I think this mass-adding of movies from files residing on hdd is a very important feature for many users (myself included). There are more and more users having tens/hundreds of movies on hdd and wishing to find that application that can get those movies and import the info for them from the web in one click ... This is the main reason i kicked ant movie catalog to the bin in favor of eXtreme Movie Manager (which does all that and much more, also scripting) which i might even pay for.
Nevertheless, I find ant movie catalog very impressive and I also understand open source projects ...
Nevertheless, I find ant movie catalog very impressive and I also understand open source projects ...
-
- Posts: 7
- Joined: 2005-10-28 20:36:53
I've written a small console application for this kind of thing. It creates a csv file which you can import to AMC.
It can be downloaded from http://pinterpeti.hu/
From the menu select MvList
It can be downloaded from http://pinterpeti.hu/
From the menu select MvList
Last edited by pinterpeti on 2010-03-16 13:25:32, edited 1 time in total.
I have write a GUI for MvList : viewtopic.php?t=1453
Import mass of avi files
Hi,
The method describe here work to add an entry for each file stored in a directory, but is it possible for each entry to launch an internet script for having detailed movies infos ?
The method describe here work to add an entry for each file stored in a directory, but is it possible for each entry to launch an internet script for having detailed movies infos ?