parameters: (self)
docstring: Cleanup metadata for known problems
docstring_summary: Cleanup metadata for known problems
docstring_tokens: Cleanup metadata for known problems
function: def fixProblems(self):
          """
          Cleanup metadata for known problems
          """
  
          # unknown artist, but artist - title in title
          # seen on mpd web radio streams
          if (self.playerName == "mpd") and \
              (self.artist == "unknown artist") and \
                  (" - " in self.title):
              [artist, title] = self.title.split(" - ", 1)
              self.artist = artist
              self.title = title
function_tokens: def fixProblems ( self ) : # unknown artist, but artist - title in title # seen on mpd web radio streams if ( self . playerName == "mpd" ) and ( self . artist == "unknown artist" ) and ( " - " in self . title ) : [ artist , title ] = self . title . split ( " - " , 1 ) self . artist = artist self . title = title