Actor class used in combination with InfoTagVideo.
Class: xbmc.Actor([name, role, order, thumbnail])
Represents a single actor in the cast of a video item wrapped by InfoTagVideo.
- v20 Python API changes
- New class added.
Example:
...
actor = xbmc.Actor('Sean Connery', 'James Bond', order=1)
...
◆ Actor()
Function: xbmc.Actor([name, role, order, thumbnail])
Creates a single actor for the cast of a video item wrapped by
InfoTagVideo.
- Parameters
-
name | [opt] string - Name of the actor. |
role | [opt] string - Role of the actor in the specific video item. |
order | [opt] integer - Order of the actor in the cast of the specific video item. |
thumbnail | [opt] string - Path / URL to the thumbnail of the actor. |
- v20 Python API changes
- New function added.
Example:
...
actor = xbmc.Actor('Sean Connery', 'James Bond', order=1)
...
◆ getName()
Function: getName()
Get the name of the actor.
- Returns
- [string] Name of the actor
- v20 Python API changes
- New function added.
◆ getRole()
Function: getRole()
Get the role of the actor in the specific video item.
- Returns
- [string] Role of the actor in the specific video item
- v20 Python API changes
- New function added.
◆ getOrder()
Function: getOrder()
Get the order of the actor in the cast of the specific video item.
- Returns
- [integer] Order of the actor in the cast of the specific video item
- v20 Python API changes
- New function added.
◆ getThumbnail()
Function: getThumbnail()
Get the path / URL to the thumbnail of the actor.
- Returns
- [string] Path / URL to the thumbnail of the actor
- v20 Python API changes
- New function added.
◆ setName()
Function: setName(name)
Set the name of the actor.
- Parameters
-
name | string - Name of the actor. |
- v20 Python API changes
- New function added.
◆ setRole()
Function: setRole(role)
Set the role of the actor in the specific video item.
- Parameters
-
role | string - Role of the actor in the specific video item. |
- v20 Python API changes
- New function added.
◆ setOrder()
Function: setOrder(order)
Set the order of the actor in the cast of the specific video item.
- Parameters
-
order | integer - Order of the actor in the cast of the specific video item. |
- v20 Python API changes
- New function added.
◆ setThumbnail()
Function: setThumbnail(thumbnail)
Set the path / URL to the thumbnail of the actor.
- Parameters
-
thumbnail | string - Path / URL to the thumbnail of the actor. |
- v20 Python API changes
- New function added.