Page 1 of 1

movie sheet export to jpg

Posted: 2009-11-09 15:11:25
by pippolino
Hello,
it's a long time I'm using Ant for my movies collection and it's really great!

Now I bought wd tv and I see there is a possibility to see an attached sheet if I generate a jpg with the same name as the movie.

So I was wondering if there is an already made automated script to:

1- create in a folder a single jpg image for every single movie containing the movie image, description, etc...
(there are other tools that do this like tvixie, but I would like to use my local Ant created db)
2- image should be created using the same name used for the image in ant but obviously in another folder

Any ideas?

Thanks for the great job.

Lore

Posted: 2009-11-10 09:55:44
by antp
You mean generate an image containing movie info, such as description etc.? I do not remember having seen such around here, but maybe there is.

Posted: 2009-11-10 10:03:48
by pippolino
Yes exactly,
it would be very nice.

If it does not exist, I could create an external prog that does it.
Would it be possible to configure a button in the ant interface to invoke the external prog?

Lorenzo

Posted: 2009-11-10 10:51:34
by fulvio53s03
pippolino wrote: Would it be possible to configure a button in the ant interface to invoke the external prog?

Lorenzo
Hai provato a scrivere il percorso del programma esterno ed il nome del programma stesso (es. c:\programmi\miopgm.exe) nel campo URL e poi a fare 'Enter' (o 'apri URL')?
Potrebbe esserti utile?
;)

Did you try to insert your program's name in the URL field and then 'Enter' (or 'Open URL')?
This could be useful to you, I think.

Bye.

Posted: 2009-11-11 12:58:34
by Eddie
pippolino wrote:If it does not exist, I could create an external prog that does it.
If you plan on creating your own external program, why not exporting your catalog to XML and let your program use that. It's not from within AMC but atleast using the data of it.

Posted: 2009-11-12 23:48:15
by antp
fulvio53s03 wrote:
Did you try to insert your program's name in the URL field and then 'Enter' (or 'Open URL')?
This could be useful to you, I think.
He means to call a program from AMC's toolbar for example (like what is done for the Report Designer), but not for a specific movie (else he would have to put the program's path in each movie's url

Posted: 2009-11-13 06:12:09
by fulvio53s03
He means to call a program from AMC's toolbar for example (like what is done for the Report Designer), but not for a specific movie (else he would have to put the program's path in each movie's url
I understood the problem but, as pippolino looks to be skilled in programming, I was thinking it could be useful to create a dummy-movie where he writes the link to a program that can read amc catalog, treat it and give the desired results.... (in a some way a mix between my and Eddie's suggestions).
I hope to be now a little clearer :)

Now it's my time to need an answer: is it possible to launch a program (.exe or .com or a .bat file) from within a script? if Yes, can I have an example?
Thanks. :grinking:

Posted: 2009-11-13 10:52:42
by antp
Yes, using the "Launch" function. See for example the "update scripts" script.