Re: How to get extid in e.g the albums list using the SqueezePlay interface
mherger <mherger.abcrbz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
You're right! We don't expose the extid in the menu queries... Could you
please give the following change a try and see whether you'd get
something then?
Code:
--------------------
diff --git a/Slim/Control/XMLBrowser.pm b/Slim/Control/XMLBrowser.pm
index 6d338a670..2c528384e 100644
--- a/Slim/Control/XMLBrowser.pm
+++ b/Slim/Control/XMLBrowser.pm
@@ -1160,6 +1160,10 @@ sub _cliQuery_done {
$hash{'action'} = 'none';
}
+ if ( $item->{extid} ) {
+ $hash{extid} = $item->{extid};
+ }
+
if ( $item->{type} && $item->{type} eq 'localservice' ) {
$hash{'actions'} = {
go => {
--------------------
Michael
"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=115432