Kodi's picture info tag class.
Class: InfoTagPicture()
Access and / or modify the picture metadata of a ListItem.
Example:
InfoTagPicture | ( | ... | ) |
Function: xbmc.InfoTagPicture([offscreen])
offscreen | [opt] bool (default False ) - if GUI based locks should be avoided. Most of the times listitems are created offscreen and added later to a container for display (e.g. plugins) or they are not even displayed (e.g. python scrapers). In such cases, there is no need to lock the GUI when creating the items (increasing your addon performance). Note however, that if you are creating listitems and managing the container itself (e.g using WindowXML or WindowXMLDialog classes) subsquent modifications to the item will require locking. Thus, in such cases, use the default value (False ). |
Example:
getResolution | ( | ) |
Function: getResolution()
getDirector | ( | ) |
Function: getDateTimeTaken()
setResolution | ( | ... | ) |
Function: setResolution(width, height)
width | int - Width of the picture in pixels. |
height | int - Height of the picture in pixels. |
setDateTimeTaken | ( | ... | ) |
Function: setDateTimeTaken(datetimetaken)
datetimetaken | string - Date and time at which the picture was taken in W3C format. |