top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

    

retval,_,_,allCount,typeCount = AZ_GetMediaTypeCount(0,"WAV",0,0)


Msg(allCount)

Msg(typeCount)

- SCRIPT -

retval,_,_,allCount,typeCount = AZ_GetMediaTypeCount(projID,MediaTypeName,allCountOut,typeCountOut)

- API -

MEDIA

AZ_GetMediaTypeCount

Count of all media (including format designation)

- API Detail-

▼Input value

  • projID (integer): Project ID

  • mediaType(char): Type name ("WAV", "MP4", "MP3", etc.)

  • *If you leave the mediaType anonymous, all will be included.

  • outAllCount(integer): Enter 0. *Box for out

  • outTypeCount(integer): Enter 0. *Box for out

▼Output value

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

  • _(integer): Ignore this as it is the output of the input value projID

  • _(char): Ignore because it is the output of the input string.

  • allMediaCount(integer): The number of media in the specified project

  • typeMediaCount(integer): Number of media of the specified type

bottom of page