Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11
  1. #11
    Senior Member meep's Avatar
    Join Date
    Aug 2007
    Location
    Ireland
    Posts
    207
    What about getResult('_volume')?

    That works, and returns the same value as

    my $devVol = $request->{'_results'}->{'_volume'};

    I guess using getResult is better, even if requires accessing the name using an underscore despite your earlier comment?

    Quote Originally Posted by mherger View Post
    >
    If you see variables or names prefixed by an underscore, it's likely
    you're doing something wrong. The underscore often means it's internal,
    not to be used directly. It's not a hard rule, but an unwritten convention.
    Michael
    Last edited by meep; 2017-05-23 at 06:41.


    ALEXA LMS SKILL: http://www.hab-tunes.com | Twitter: #habtunes
    Personal HA BLOG: http://mediaserver8.blogspot.com

    Squeezebox | Squeezebox Radio x 2 | Squeezebox Duet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •