Vizard 7 » Command Index » Vizard objects » multimedia » <multimedia:av>.getFilename
7.7

<multimedia:av>.getFilename

Return filename of media file

<multimedia:av>.getFilename()  

Remarks

This command will return the filename of the media object.

Return Value

Filename

Example

song = viz.addAudio('song.mp3')

#This will print 'song.mp3'
print(song.getFilename())