Class AcousticBrainz

    • Constructor Detail

      • AcousticBrainz

        public AcousticBrainz()
    • Method Detail

      • getMbidLookupServices

        public List<UberMusic> getMbidLookupServices()
        Service used to look up mbids.
        Returns:
        service
      • addMbidLookupService

        public void addMbidLookupService​(UberMusic mbidLookupService)
        Adds an UberMusic service that is used to look up missing mbids.
        Parameters:
        mbidLookupService - mbid lookup service
      • lookup

        public List<AudioSong> lookup​(AudioSong song)
                               throws IOException
        Description copied from interface: UberMusic
        Looks up metadata for a song.
        Specified by:
        lookup in interface UberMusic
        Parameters:
        song - song (query by example)
        Returns:
        reference songs, empty list, if the metadata is unavailable
        Throws:
        IOException - IOException