kdf Wrote:
> set the 'search' param before you push into browsedb mode.
>
> Browsedb.pm line 595 uses this param, and if it is defined sets a
> special header
> text at line 621.
>
> -kdf
Sorry, I'm just not getting it. I've currently got something like the
following, which I'm intending to browse into a list of albums for
artist $id
Slim::Buttons::Common::pushModeLeft(
$client,
'browsedb',
{
'hierarchy' => 'album,track',
'level' => 0,
'findCriteria' => { 'contributor' => $id },
}
This works, but gives a "browse albums" title. I've played with
'search', with something like the following:
Slim::Buttons::Common::pushModeLeft(
$client,
'browsedb',
{
'hierarchy' => 'artist,album,track',
'level' => 1,
'search' => $id,
}
I've also played with different hiaerarchy/level combinations, but
without luck. With d_sql I see that the 'search' parameter always seems
to make it perform a search for "contributor.namesearch = '62'" (for
example), whereas I'm trying to get it to match on ID.
I had been looking at the lines you mentioned previously, but their
perliness frightens me! I think I'm just being a bit thick tonight.
--
hickinbottoms
---
Stuart
------------------------------------------------------------------------
hickinbottoms's Profile: http://forums.slimdevices.com/member.php?userid=255
View this thread: http://forums.slimdevices.com/showthread.php?t=17943
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins