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")
track = RPR_GetTrack(0,0)
track,mediaType,allCountOut,typeCountOut = AZ_GetTrackItemMediaTypeCount(track,"WAV",0,0)
Msg(allCountOut)
Msg(typeCountOut)
- SCRIPT -
track,mediaType,allCountOut,typeCountOut = AZ_GetTrackItemMediaTypeCount(track,mediaType,allCountOut,typeCountOut)
- API -
ID
MEDIA
AZ_GetTrackItemMediaTypeCount
対応バージョン:
2.0.0
以降
Output the number of media types in the specified track items
LUA
- API Detail-
▼Input value
track(MediaTrack): specified track
mediaType(string): Type name ("WAV", "MP4", "MP3", etc.)
*If you leave the mediaType anonymous, all will be included.
▼Output value
retval(bool): Whether the API execution was successful or not
allCount(integer): The number of media in the specified project
typeCount(integer): Number of media of the specified format
bottom of page