erland;168140 Wrote: 
> If you change this row in Plugin.pm
> From:
> > 
Code:
--------------------
  >   > 
  > $artists = Slim::Schema->resultset('Contributor');
  > 
--------------------
> > 
> 
> To:
> > 
Code:
--------------------
  >   > 
  > my @joins = ();
  > push @joins, 'contributorTracks';
  > $artists = Slim::Schema->resultset('Contributor')->search(
  >     {'contributorTracks.role' => {'in' => [1,5]}},
  >     {
  >             'group_by' => 'me.id',
  >             'join' => [EMAIL PROTECTED]
  >     }
  > );
  > 
--------------------
> > 
> 
> I'll include this change in the next release.

It made it all the way through but the artist count was still
considerably larger than I expected.  I think this is because I have a
fairly large collection of various artist works.

I wonder... what would happen if I changed contributorTracks.role to
contributorAlbums.role in the above code?

Thanks for all the great information!

David


-- 
studley
------------------------------------------------------------------------
studley's Profile: http://forums.slimdevices.com/member.php?userid=6441
View this thread: http://forums.slimdevices.com/showthread.php?t=29156

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

Reply via email to