mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
37_plex.pm: bug fix
git-svn-id: https://svn.fhem.de/fhem/trunk@11668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c4f03be427
commit
ef32859dff
@ -2314,7 +2314,7 @@ plex_disappeared($$$)
|
|||||||
readingsBulkUpdate($chash, 'state', 'disappeared' );
|
readingsBulkUpdate($chash, 'state', 'disappeared' );
|
||||||
readingsEndUpdate($chash, 1);
|
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};
|
delete $chash->{currentMediaType};
|
||||||
|
|
||||||
#FIXME: move after stop event
|
#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 ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user