From 4b71f2c734dae349c9d4d59e4d859c8637f20991 Mon Sep 17 00:00:00 2001 From: justme1968 Date: Wed, 15 Jun 2016 06:22:16 +0000 Subject: [PATCH] 37_plex.pm: bug fix git-svn-id: https://svn.fhem.de/fhem/trunk@11668 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_plex.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/37_plex.pm b/fhem/FHEM/37_plex.pm index ddab68657..f12b969ee 100644 --- a/fhem/FHEM/37_plex.pm +++ b/fhem/FHEM/37_plex.pm @@ -2314,7 +2314,7 @@ plex_disappeared($$$) readingsBulkUpdate($chash, 'state', 'disappeared' ); readingsEndUpdate($chash, 1); - CommandDeleteReading( undef, "$chash->{NAME} currentTitle|currentAlbum|currentArtist|episode|series|key|cover|duration|type|track|playQueueID|playQueueItemID|server|section|shuffle|repeat" ) if( AttrVal($chash->{NAME}, 'removeUnusedReadings', 0 ); + CommandDeleteReading( undef, "$chash->{NAME} currentTitle|currentAlbum|currentArtist|episode|series|key|cover|duration|type|track|playQueueID|playQueueItemID|server|section|shuffle|repeat" ) if( AttrVal($chash->{NAME}, 'removeUnusedReadings', 0 ) ); } } @@ -2436,7 +2436,7 @@ plex_parseTimeline($$$) delete $chash->{currentMediaType}; #FIXME: move after stop event - CommandDeleteReading( undef, "$chash->{NAME} currentTitle|currentAlbum|currentArtist|episode|series|key|cover|duration|type|track|playQueueID|playQueueItemID|server|section|shuffle|repeat" ) if( AttrVal($chash->{NAME}, 'removeUnusedReadings', 0 ); + CommandDeleteReading( undef, "$chash->{NAME} currentTitle|currentAlbum|currentArtist|episode|series|key|cover|duration|type|track|playQueueID|playQueueItemID|server|section|shuffle|repeat" ) if( AttrVal($chash->{NAME}, 'removeUnusedReadings', 0 ) ); }