From 56ff0eca9f07e2e8f24f6ec286f39621ecaf7bc3 Mon Sep 17 00:00:00 2001 From: fhemrocks <> Date: Wed, 9 Jul 2014 22:47:58 +0000 Subject: [PATCH] weblink support, amplifier support git-svn-id: https://svn.fhem.de/fhem/trunk@6228 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/98_SB_PLAYER.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/98_SB_PLAYER.pm b/fhem/contrib/98_SB_PLAYER.pm index 4397f819f..26ebb93e6 100644 --- a/fhem/contrib/98_SB_PLAYER.pm +++ b/fhem/contrib/98_SB_PLAYER.pm @@ -252,8 +252,11 @@ sub SB_PLAYER_Define( $$ ) { } # height and width of the cover art for the URL - if( !defined( $attr{$name}{coverartsize} ) ) { - $attr{$name}{coverartsize} = 50; + if( !defined( $attr{$name}{coverartwidth} ) ) { + $attr{$name}{coverartwidth} = 50; + } + if( !defined( $attr{$name}{coverartheight} ) ) { + $attr{$name}{coverartheight} = 50; } # Preset our readings if undefined