Glenn2 wrote: 
> 
> How could I tweak that patch so that...:
> 
> STATION
> PROGRAMME: SONG BY ARTIST
> 

The variable “$parts” contains a reference to hash containing a single
element named “line”, the value of which is a three element array, one
string element for each line of the display.  The elements are separated
by “,”.  In Perl, strings can be joined using the “.” operator.

So, you want:


Code:
--------------------
    
  $parts = {
  'line' => [
  $client->streamingSong->track->title,
  $self->song->pluginData->{'track'}. ": ", $self->text,
  $self->song->pluginData->{'rp_description'},
  ],
  };
  
--------------------


------------------------------------------------------------------------
mavit's Profile: http://forums.slimdevices.com/member.php?userid=10203
View this thread: http://forums.slimdevices.com/showthread.php?t=106409

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to