top of page

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

    

item = AZ_GetMediaItemSelect(0,0,0)

retval,item,endTime = AZ_GetMediaItemEndTime(item,0)


Msg(endTime)

- SCRIPT -

retval,item,endTimeOut = AZ_GetMediaItemEndTime(mediaItem,endTimeOut)

- API -

対応バージョン:

以降

MEDIA

AZ_GetMediaItemEndTime

Get the end time (seconds) of the specified media item.

- API Detail-

▼Input value

item(MediaItem): Media item


▼Output value

retval(bool): Whether the API execution was successful or not

item(MediaItem): The same as the input is output

endTime(double): The end time of the media item.

bottom of page