MediaFile.newForFile

Creates a new media file to play file.

Parameters

fileThe file to play

Returns

a new gtk.media_file.MediaFile playing file