2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

37_plex.pm: current mediatype fix

git-svn-id: https://svn.fhem.de/fhem/trunk@11589 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-06-01 20:13:57 +00:00
parent 86435ecdfc
commit 743c641525

View File

@ -2428,7 +2428,7 @@ plex_parseTimeline($$$)
$state = $1 if( $1 eq $2 && $2 eq $3 );
}
if( $state =~ '(\w*):playing' ) {
if( $state =~ '(\w*):(playing|paused)' ) {
$chash->{currentMediaType} = $1;
} else {
delete $chash->{currentMediaType};