how to get my picture information?

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
icecubix
Posts: 32
Joined: 2005-03-30 09:01:20

how to get my picture information?

Post by icecubix »

I have some films with picture and some films without. I want modify one script to get the picture only if I don't have it.

Do you know how can I see if I have the picture or not? (and it's size?).

I had seen the getField(fieldxxxxx) function, but don't exist the "fieldPicture".

Thanks in advance

Icecubix
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

It is not possible currently.
I plan to add that in a future version.
icecubix
Posts: 32
Joined: 2005-03-30 09:01:20

Post by icecubix »

Ok, thanks, antp.

Maybe also you can do a static variable that maintains its value only between batch jobs, instead of doing it during all the execution of the program.

Congratulations by a brilliant program :grinking:. I'm a programmer and shortly I will make my own little contributions to the forum.
[/b]
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

There is already possible to set "static" variables, but I do not really understand what you want to do with them :??:
icecubix
Posts: 32
Joined: 2005-03-30 09:01:20

is not important

Post by icecubix »

Well, don't worry :p . I have lots of films bad cataloged (I didn't have ant movie catalog) and I want to take the maximum advantage of the batch jobs, that act in a different way every time according to my needs, but I can do it touching the script dinamically.

Thanks again ;)
ScorEpioN
Posts: 264
Joined: 2004-08-17 11:02:02

Post by ScorEpioN »

This week-end i had the same problem.

i would do a mass update but search fonction couldn't found empty field :(

so i have do an update to my script :

UPDATE FIELDS v22 du 31/03/2005 *EN,FR*
Coche les films si champs vide (Check Empty Field) : Fonction qui coche les films ayant le champs choisi vide (pratique avant de faire des MAJ massives).
Click here to find UPDATE FIELDS last version


For picture i can't :badidea: (fieldPicture exist (number 99) but doesn't work with getfield)
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

ScorEpioN wrote: i would do a mass update but search fonction couldn't found empty field
Leave the search value field empty and check the "whole field" option ;)
ScorEpioN
Posts: 264
Joined: 2004-08-17 11:02:02

Post by ScorEpioN »

oups i have not found this tip... but my script is good if you want to do search with multiple choice :

1°) you use script for all movie (no url for example)
2°) second use only on check movie (no label for example)
3°) ...

Finally you find movie wth no url and no label :D
Post Reply