code: def readMetadata(filename, pool, failOnError=True):
      metadata = streaming.MetadataReader(
          filename=filename, failOnError=failOnError
      )
      metadata.title >> (pool, "metadata.tags.title")
      metadata.artist >> (pool, "metadata.tags.artist")
      metadata.album >> (pool, "metadata.tags.album")
      metadata.comment >> (pool, "metadata.tags.comment")
      metadata.genre >> (pool, "metadata.tags.genre")
      metadata.track >> (pool, "metadata.tags.track")
      metadata.year >> (pool, "metadata.tags.year")
      metadata.length >> None  # let audio loader take care of this
      metadata.bitrate >> (pool, "metadata.audio_properties.bitrate")
      (
          metadata.sampleRate >> None
      )  # let the audio loader take care of this
      metadata.channels >> (pool, "metadata.audio_properties.channels")
      run(metadata)
  
imports: import essentia
  from essentia import *
  from essentia.streaming import *
label_desc: Use image node_id 2 for calling a global function with example usage: readMetadata(filename, pool, failOnError) without return types