Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    406
    That was using squeezer. Did not try ipeng yet.

    That client requests works for everything else.
    Chris

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,536

    Determining Client Used During Plugin Access

    > That was using squeezer. Did not try ipeng yet.

    Do you know what interface Squeezer is using to communicate with LMS? If
    it was using raw CLI (port 9090) we wouldn't get any user agent either.

  3. #13
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    406
    I think the problem is that I was checking the client during the init phase where the plugin registers the menu. The controllerUA is part of the client when an app or web browser uses the device. So it was naturally empty then.

    So maybe I need to move my client menu registration down lower into the code when a client actually gets involved. It will be interesting to see what happens with two different client types register the menu at different places then.

    I'll try this tonight and post back here what I find.
    Chris

  4. #14
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    406
    OK. Have taken a different tack. Turns out the app specific stuff won't work since the menus are part of the player, but displayed by the app. In iPeng's case he used a 'settingsPlayer' location, which only shows on iPeng. For others, and the player itself, 'settings' is where the menu would go.

    So I just cloned my menu source and changed the ID. So now the plugin instantiates two versions of the menu but each app and the players only show one of them. So far it seems to be working OK and have not seen any errors or problems, but time will tell.
    Chris

Posting Permissions

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