Chapter 9. WACS API: Identification Module

Table of Contents

Identification Module: Summary

Identification Module: Summary

[Warning]Warning

The existing identification module has many flaws and it is intended to massively overhaul it in the near future. We would not recommand utilising functions from this module at the present time. If you need a particular routine listed here, please contact us and we'll consider moving it to one of the more stable modules if appropriate

Table 9.1. Function Summary: Identification Module

functiondescription
ident_imgIdentify characteristics of an image set from download info
ident_vidIdentify characteristics of a video clip from download info
reset_attrreset the global attribute table
id_get_flagget previously determined flag (run ident_* first)
id_get_infoget previously determined catinfo (run ident_* first)
id_get_photogget previously determined photographer (run ident_* first)
id_get_dnldnoget download record number
id_get_modelnoget the model number
id_get_modelnameget the model's name
id_get_vendorget the vendor reference
id_get_dbhandleget the current DB handle
id_get_keyget the current models id at the current vendor
id_get_setkeyget the set key at the current vendor
id_get_setnameget the name of the most recent set
id_get_statusget the status of the most recent set
id_get_notesget the current value of the notes field
addassocAdd a new model/set association
dnld_imgretrieve a download record based upon the namestem
dnld_markdonemark the download as having been done
dnld_checkaddtake a download specification and if not existing, add it
dnld_updateupdate an attribute in the download record
vend_dnldreturn the download location for this vendor
alloc_nextkeyallocate the next free primary key for named table
find_cookiesfind the current web browser cookies file (firefox only)
vid_getsizeget the size of a video clip
removedupsclean up a catinfo string, removing duplicate entries
extractphotogfind the photographer name (only works on ATK at present)
find_namestemfind the common stem of a file name
id_mpageprocess a modelpage looking for links to suitable sets
chk_vid_typecheck to see if this url is a video file type