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
------------------------------------------------------------------------
thouky's Profile: http://forums.slimdevices.com/member.php?userid=42109
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins