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")

    

mediaItem = AZ_GetMediaItemSelect(0,0,0)

retval,item,secondOut = AZ_GetMediaItemStartTimeSeconds(mediaItem,0)

Msg(secondOut)

- SCRIPT -

retval,item,secondOut = AZ_GetMediaItemStartTimeSeconds(mediaItem,secondOut)

- API -

ID

MEDIA

AZ_GetMediaItemStartTimeSeconds

対応バージョン:

2.0.0

以降

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

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • secondOut(float): Any number (0 is OK)

▼Output value

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

  • secondOut(float): The start time (in seconds) of the specified media item.

bottom of page