(self)
return "Unknown"
Returns the displayname of the song or the title of the playlist
Returns the displayname of the song or the title of the playlist
Returns the displayname of the song or the title of the playlist
def item_displayname(self) -> str:
        """Returns the displayname of the song or the title of the playlist"""
        if self.song is not None:
            return self.song.displayname()
        if self.playlist is not None:
            return self.playlist.title
        return "Unknown"
def item_displayname ( self ) -> str : if self . song is not None : return self . song . displayname ( ) if self . playlist is not None : return self . playlist . title return "Unknown"