Exemple #1
0
 def setPlayingTitle(self, show):
     """
     This method sets the title of the window and the status bar to the
     current playing URI.
     """
     if show:
         title = globals.niceAppName + ' - ' + utils.getFilenameFromURI(self._player.getURI())
     else:
         title = globals.niceAppName
     
     self.window.set_title(title)
Exemple #2
0
 def getFilename(self):
     """
     This method returns the filename for this media file.
     """
     return utils.getFilenameFromURI(self._uri)
Exemple #3
0
 def getFilename(self):
     """
     This method returns the filename for this media file.
     """
     return utils.getFilenameFromURI(self._uri)