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:
parent
86435ecdfc
commit
743c641525
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user