Vizard 8 » Command Index » Vizard objects » multimedia » <multimedia:av>.getFilename
8.0

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