From 0b053beea2651b3b8b39b41e40ff1c6f1da38efe 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: svn://svn.code.sf.net/p/fhem/code/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