[SlimDevices: Beta] Getting artist information for a track

max.spicer max.spicer.2dnudz1157457601 at no-mx.forums.slimdevices.com
Tue Sep 5 04:58:43 PDT 2006


In my NowPlaying plugin I used to get the artist information for a track
with the following:


Code:
--------------------
    
  my @artists = $trackInfo->contributorsOfType('ARTIST');
  $track .= " by $artists[0]";
  for (my $i=1; $i < @artists; $i++) {
  $track .= " & $artists[$i]";
  }
  
--------------------


However, this now results in
"Slim::Schema::Contributor=HASH(0xadb06b0)".  Could someone tell me
what I should be using?

Thanks,

Max


-- 
max.spicer

The wild things roared their terrible roars and gnashed their terrible
teeth
and rolled their terrible eyes and showed their terrible claws
but Max stepped into his private boat and waved good-bye
------------------------------------------------------------------------
max.spicer's Profile: http://forums.slimdevices.com/member.php?userid=23
View this thread: http://forums.slimdevices.com/showthread.php?t=27060



More information about the beta mailing list