From 9284c5601f58c05bc89f4d73f562cb2ccbbabd5c Mon Sep 17 00:00:00 2001 From: ChrisD <> Date: Tue, 27 Jun 2017 18:38:12 +0000 Subject: [PATCH] contrib/98_SB_PLAYER.pm: fixed ftuiMedialist reading git-svn-id: https://svn.fhem.de/fhem/trunk@14583 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/98_SB_PLAYER.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fhem/contrib/98_SB_PLAYER.pm b/fhem/contrib/98_SB_PLAYER.pm index 1e283dc06..68c26db44 100644 --- a/fhem/contrib/98_SB_PLAYER.pm +++ b/fhem/contrib/98_SB_PLAYER.pm @@ -698,6 +698,8 @@ sub SB_PLAYER_Define( $$ ) { $hash, 0 ); + notifyRegexpChanged($hash, "global"); # CD 0080 + return( undef ); } @@ -1823,6 +1825,9 @@ sub SB_PLAYER_Parse( $$ ) { $hash->{helper}{playlistInfo}{$_}{artist}=~s/\"//g; $hash->{helper}{playlistInfo}{$_}{title}=~s/\"//g; $hash->{helper}{playlistInfo}{$_}{album}=~s/\"//g; + $hash->{helper}{playlistInfo}{$_}{artist} =~ s{\\}{\\\\}g; # CD 0081 + $hash->{helper}{playlistInfo}{$_}{title} =~ s{\\}{\\\\}g; # CD 0081 + $hash->{helper}{playlistInfo}{$_}{album} =~ s{\\}{\\\\}g; # CD 0081 $ftuimedialist.="{\"Artist\":\"".$hash->{helper}{playlistInfo}{$_}{artist}."\","; $ftuimedialist.="\"Title\":\"".$hash->{helper}{playlistInfo}{$_}{title}."\","; $ftuimedialist.="\"Album\":\"".$hash->{helper}{playlistInfo}{$_}{album}."\",";