Home of the Squeezebox™ & Transporter® network music players.
Page 91 of 91 FirstFirst ... 4181899091
Results 901 to 905 of 905
  1. #901
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,526
    Re redundancy, you can disable each and every player in the plugin's options. For the rest I'm not I understand - LMS is audio only, I think it's development stopped before video was added
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #902
    Senior Member
    Join Date
    Aug 2012
    Posts
    193

    HomePod

    Hi buddy,

    As AirPlay 2 is delayed the HomePod is using AirPlay 1 and it is happily playing LMS content using AirPlay Bridge and Spotify Connect with Spotty which is a result. The only thing not working is volume feedback. I have tried Yes, No and Raw. The volume buttons on the HomePod and Siri all change the volume on the HomePod however doesn't reflect the change in LMS. Not had time to get you some logs yet. If your interested in looking at this let me know and I'll post some logs.

    Cheers!!!

    Posted on Github
    Last edited by Simon_rb; 2018-02-11 at 07:44.

  3. #903
    Junior Member thouky's Avatar
    Join Date
    Dec 2010
    Location
    Cottenham, England
    Posts
    20

    No value specified for 'KeyAttr' option in call to XMLout()

    Approximately once every minute this plugin crashes when it tries to write an updated raopbridge.xml configuration file "No value specified for 'KeyAttr' option in call to XMLout() at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Settings.pm line 186":

    Code:
    [18-02-11 10:36:35.0031] Plugins::RaopBridge::Settings::handler (89) save settings required
    [18-02-11 10:36:35.0041] Plugins::RaopBridge::Settings::handler (136) current: .common.previous: .common.
    [18-02-11 10:36:35.0042] Plugins::RaopBridge::Settings::handler (174) writing XML config
    [18-02-11 10:36:35.0044] Plugins::RaopBridge::Settings::handler (175) $VAR1 = {
              'stream_log' => 'warn',
              'slimproto_log' => 'info',
              'decode_log' => 'warn',
              'common' => {
                            'codecs' => 'flc,pcm,aif,aac,mp3',
                            'server' => '?',
                            'resample' => '1',
                            'volume_mode' => '2',
                            'volume_mapping' => '-30:1, -15:50, 0:100',
                            'volume_trigger' => '0',
                            'read_ahead' => '1000',
                            'output_size' => '1764000',
                            'streambuf_size' => '2097152',
                            'resample_options' => {},
                            'player_volume' => '-1',
                            'alac_encode' => '0',
                            'idle_timeout' => '30',
                            'volume_feedback' => '1',
                            'send_coverart' => '0',
                            'enabled' => '1',
                            'remove_count' => '30',
                            'auto_play' => '0',
                            'prevent_playback' => 'stop',
                            'sample_rate' => '96000',
                            'encryption' => '0',
                            'send_metadata' => '1',
                            'mute_on_pause' => '1'
                          },
              'main_log' => 'info',
              'device' => [
                            {
                              'mac' => 'aa:aa:dd:a3:1f:8e',
                              'name' => 'HomePod',
                              'udn' => 'D4A33D6E0053@Living Room._raop._tcp.local',
                              'friendly_name' => 'HomePod',
                              'enabled' => '1'
                            },
                            {
                              'friendly_name' => 'Apple-TV',
                              'credentials' => '@192.168.0.55:7000',
                              'enabled' => 0,
                              'mac' => 'aa:aa:04:64:64:33',
                              'name' => 'Apple-TV',
                              'udn' => 'C869CD4253A7@Apple TV._raop._tcp.local'
                            },
                            {
                              'udn' => '00E036FA4B34@SC-LX75._raop._tcp.local',
                              'name' => 'SC-LX75',
                              'mac' => 'aa:aa:26:dd:97:3b',
                              'enabled' => 0,
                              'friendly_name' => 'SC-LX75'
                            }
                          ],
              'slimmain_log' => 'info',
              'output_log' => 'info',
              'log_limit' => '-1',
              'util_log' => 'info',
              'scan_interval' => '30',
              'scan_timeout' => '15',
              'raop_log' => 'info',
              'interface' => '192.168.0.17'
            };
    [18-02-11 10:36:35.0045] Plugins::RaopBridge::Settings::handler (195) full processing
    [18-02-11 10:36:35.0046] Plugins::RaopBridge::Squeeze2raop::stop (196) killing squeeze2raop
    [18-02-11 10:36:35.6559] Plugins::RaopBridge::Settings::waitEndHandler (219) helper stopped, processing with callback
    [18-02-11 10:36:35.6560] Plugins::RaopBridge::Settings::__ANON__ (185) write file now
    [18-02-11 10:36:35.6564] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: No value specified for 'KeyAttr' option in call to XMLout() at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Settings.pm line 186.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe045590)
    [18-02-11 10:36:53.0579] Plugins::RaopBridge::Squeeze2raop::beat (178) crashed ... restarting
    This also happens when clicking Apply on the AirPlay bridge settings webpage.

    Changing:
    Code:
    				XMLout(	$xmlconfig, RootName => "squeeze2raop", NoSort => 1, NoAttr => 1, OutputFile => $conf );
    to:
    Code:
    				XMLout(	$xmlconfig, RootName => "squeeze2raop", NoSort => 1, NoAttr => 1, OutputFile => $conf, KeyAttr => {} );
    fixed the problem for me. Presumably the other XMLin and XMLout calls should be similarly modified, although they don't appear to be causing a problem.

    I am using:
    • AirPlay bridge version 0.3.2.1 (squeeze2raop-x86-64-static)
    • Ubuntu 16.04.3 LTS (xenial), 64-bit
    • Logitech Media Server Version 7.9.0
    • Perl version 5.22.1 (x86_64-linux-gnu-thread-multi)
    • XML::Simple version 2.15

  4. #904
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,526
    Quote Originally Posted by thouky View Post
    Approximately once every minute this plugin crashes when it tries to write an updated raopbridge.xml configuration file "No value specified for 'KeyAttr' option in call to XMLout() at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Settings.pm line 186":

    This also happens when clicking Apply on the AirPlay bridge settings webpage.

    Changing:
    Code:
    XMLout($xmlconfig, RootName => "squeeze2raop", NoSort => 1, NoAttr => 1, OutputFile => $conf );
    to:
    Code:
    XMLout($xmlconfig, RootName => "squeeze2raop", NoSort => 1, NoAttr => 1, OutputFile => $conf, KeyAttr => {} );
    fixed the problem for me. Presumably the other XMLin and XMLout calls should be similarly modified, although they don't appear to be causing a problem.

    I am using:
    • AirPlay bridge version 0.3.2.1 (squeeze2raop-x86-64-static)
    • Ubuntu 16.04.3 LTS (xenial), 64-bit
    • Logitech Media Server Version 7.9.0
    • Perl version 5.22.1 (x86_64-linux-gnu-thread-multi)
    • XML::Simple version 2.15
    This is very weird as 1/ the perl part does not update the settings regularly, it only does when you click on the apply 2/ all my other plugins use the same mechanism and I should know if it was happening all the time.

    Might me something special with your configuration where the perl part damages he config file which then makes the helper crash when it tries to update it. Can you use the unmodified perl part and generate a config file, stop the helper, modify config and send me the result?
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  5. #905
    Junior Member thouky's Avatar
    Join Date
    Dec 2010
    Location
    Cottenham, England
    Posts
    20
    Quote Originally Posted by philippe_44 View Post
    This is very weird as 1/ the perl part does not update the settings regularly, it only does when you click on the apply 2/ all my other plugins use the same mechanism and I should know if it was happening all the time.

    Might me something special with your configuration where the perl part damages he config file which then makes the helper crash when it tries to update it. Can you use the unmodified perl part and generate a config file, stop the helper, modify config and send me the result?
    Deleting the raopbridge.xml file, restoring the original Perl file, and clicking on Generate resulted in the following log entries:
    Code:
    [18-02-12 18:45:22.9168] Plugins::RaopBridge::Settings::handler (201) not updating
    [18-02-12 18:45:48.7969] Plugins::RaopBridge::Settings::handler (41) generating configuration /var/lib/squeezeboxserver/prefs/raopbridge.xml
    [18-02-12 18:45:48.7970] Plugins::RaopBridge::Settings::handler (196) full processing
    [18-02-12 18:45:48.7972] Plugins::RaopBridge::Settings::waitEndHandler (220) helper stopped, processing with callback
    [18-02-12 18:45:48.7973] Plugins::RaopBridge::Settings::genConfig (238) lauching helper to build /var/lib/squeezeboxserver/prefs/raopbridge.xml
    [18-02-12 18:45:48.8010] Plugins::RaopBridge::Settings::waitEndHandler (213) Waiting for squeeze2raop to end
    [18-02-12 18:45:49.8017] Plugins::RaopBridge::Squeeze2raop::__ANON__ (162) squeeze2raop-x86-64-static running
    [18-02-12 18:45:49.8019] Plugins::RaopBridge::Settings::waitEndHandler (213) Waiting for squeeze2raop to end
    [18-02-12 18:45:50.8024] Plugins::RaopBridge::Settings::waitEndHandler (228) updating page
    [18-02-12 18:45:50.8038] Plugins::RaopBridge::Settings::handler2 (269) $VAR1 = [
              {
                'name' => '[common parameters]',
                'udn' => '.common.'
              }
            ];
    [18-02-12 18:45:50.8039] Plugins::RaopBridge::Settings::handler2 (274) reading: interface 192.168.0.17
    [18-02-12 18:45:50.8040] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_interval 30
    [18-02-12 18:45:50.8041] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_timeout 15
    [18-02-12 18:45:50.8042] Plugins::RaopBridge::Settings::handler2 (274) reading: log_limit -1
    and this raopbridge.xml file: raopbridge.xml.1.txt

    Ticking the Start the Bridge option (which was not ticked) and clicking Apply resulted in:
    Code:
    [18-02-12 18:46:44.0292] Plugins::RaopBridge::Settings::handler (89) save settings required
    [18-02-12 18:46:44.0302] Plugins::RaopBridge::Settings::handler (136) current: .common.previous: .common.
    [18-02-12 18:46:44.0304] Plugins::RaopBridge::Settings::handler (174) writing XML config
    [18-02-12 18:46:44.0306] Plugins::RaopBridge::Settings::handler (175) $VAR1 = {
              'raop_log' => 'info',
              'log_limit' => '-1',
              'interface' => '192.168.0.17',
              'util_log' => 'info',
              'device' => [],
              'stream_log' => 'warn',
              'scan_interval' => '30',
              'slimproto_log' => 'info',
              'output_log' => 'info',
              'slimmain_log' => 'info',
              'main_log' => 'info',
              'decode_log' => 'warn',
              'scan_timeout' => '15',
              'common' => {
                            'resample_options' => {},
                            'player_volume' => '-1',
                            'volume_feedback' => '1',
                            'volume_mode' => '2',
                            'send_metadata' => '0',
                            'resample' => '1',
                            'alac_encode' => '0',
                            'sample_rate' => '96000',
                            'send_coverart' => '0',
                            'server' => '?',
                            'mute_on_pause' => '1',
                            'streambuf_size' => '2097152',
                            'codecs' => 'flc,pcm,aif,aac,mp3',
                            'read_ahead' => '1000',
                            'remove_count' => '30',
                            'idle_timeout' => '30',
                            'encryption' => '0',
                            'volume_trigger' => '0',
                            'volume_mapping' => '-30:1, -15:50, 0:100',
                            'auto_play' => '0',
                            'prevent_playback' => 'stop',
                            'output_size' => '1764000',
                            'enabled' => '1'
                          }
            };
    [18-02-12 18:46:44.0308] Plugins::RaopBridge::Settings::handler (196) full processing
    [18-02-12 18:46:44.0309] Plugins::RaopBridge::Settings::waitEndHandler (220) helper stopped, processing with callback
    [18-02-12 18:46:44.0311] Plugins::RaopBridge::Settings::__ANON__ (185) write file now
    [18-02-12 18:46:44.0315] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: No value specified for 'KeyAttr' option in call to XMLout() at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Settings.pm line 186.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xcb9fd58)
    [18-02-12 18:46:48.8031] Plugins::RaopBridge::Squeeze2raop::beat (178) crashed ... restarting
    [18-02-12 18:47:18.8111] Plugins::RaopBridge::Squeeze2raop::beat (178) crashed ... restarting
    At this point the web interface did not refresh. Switching to a different settings page resulted in:
    Code:
    [18-02-12 18:47:48.8154] Plugins::RaopBridge::Squeeze2raop::beat (178) crashed ... restarting
    [18-02-12 18:47:51.1090] Plugins::RaopBridge::Settings::handler (41) generating configuration /var/lib/squeezeboxserver/prefs/raopbridge.xml
    [18-02-12 18:47:51.1091] Plugins::RaopBridge::Settings::handler (196) full processing
    [18-02-12 18:47:51.1093] Plugins::RaopBridge::Settings::waitEndHandler (220) helper stopped, processing with callback
    [18-02-12 18:47:51.1094] Plugins::RaopBridge::Settings::genConfig (238) lauching helper to build /var/lib/squeezeboxserver/prefs/raopbridge.xml
    [18-02-12 18:47:51.1129] Plugins::RaopBridge::Settings::waitEndHandler (213) Waiting for squeeze2raop to end
    [18-02-12 18:47:52.1136] Plugins::RaopBridge::Squeeze2raop::__ANON__ (162) squeeze2raop-x86-64-static running
    [18-02-12 18:47:52.1138] Plugins::RaopBridge::Settings::waitEndHandler (213) Waiting for squeeze2raop to end
    [18-02-12 18:47:53.1141] Plugins::RaopBridge::Settings::waitEndHandler (228) updating page
    [18-02-12 18:47:53.1197] Plugins::RaopBridge::Settings::handler2 (269) $VAR1 = [
              {
                'name' => '[common parameters]',
                'udn' => '.common.'
              }
            ];
    [18-02-12 18:47:53.1199] Plugins::RaopBridge::Settings::handler2 (274) reading: interface 192.168.0.17
    [18-02-12 18:47:53.1201] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_interval 30
    [18-02-12 18:47:53.1202] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_timeout 15
    [18-02-12 18:47:53.1203] Plugins::RaopBridge::Settings::handler2 (274) reading: log_limit -1
    [18-02-12 18:47:54.1186] Plugins::RaopBridge::Squeeze2raop::__ANON__ (162) squeeze2raop-x86-64-static running
    and an updated raopbridge.xml file, with two of my three Airplay devices added: raopbridge.xml.2.txt

    Switching back to the AirPlay bridge settings resulted in:
    Code:
    [18-02-12 18:49:26.9446] Plugins::RaopBridge::Settings::handler (201) not updating
    [18-02-12 18:49:26.9458] Plugins::RaopBridge::Settings::handler2 (269) $VAR1 = [
              {
                'name' => '[common parameters]',
                'udn' => '.common.'
              },
              {
                'friendly_name' => 'Apple-TV',
                'udn' => 'C869CD4253A7@Apple TV._raop._tcp.local',
                'credentials' => '@192.168.0.55:7000',
                'enabled' => '1',
                'mac' => 'aa:aa:04:64:64:33',
                'name' => 'Apple-TV'
              },
              {
                'udn' => '00E036FA4B34@SC-LX75._raop._tcp.local',
                'friendly_name' => 'SC-LX75',
                'name' => 'SC-LX75',
                'mac' => 'aa:aa:26:dd:97:3b',
                'enabled' => '1'
              }
            ];
    [18-02-12 18:49:26.9459] Plugins::RaopBridge::Settings::handler2 (274) reading: interface 192.168.0.17
    [18-02-12 18:49:26.9460] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_interval 30
    [18-02-12 18:49:26.9462] Plugins::RaopBridge::Settings::handler2 (274) reading: scan_timeout 15
    [18-02-12 18:49:26.9463] Plugins::RaopBridge::Settings::handler2 (274) reading: log_limit -1
    No further changes can be saved from the web interface, and the plugin crashes trying to write the configuration file approximately once a minute thereafter with no user interaction. Full server.log file attached.
    Last edited by thouky; 2018-02-13 at 10:03.

Posting Permissions

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