-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
Hi, I see a problem with state_detection_rules... I wanted to add support for player (one of Polish services with VOD). I figrued out that it changes wake lock size depending on state of the media, while media_session_state is none and audio_state is paused. I prepared this code for my configuration.yaml:
media_player:
- platform: androidtv
name: AndroidTV_Philips
host: 192.168.0.11
device_class: androidtv
scan_interval: 1
apps: {}
state_detection_rules:
'pl.tvn.player.pl':
- 'playing':
'audio_state': paused
'wake_lock_size': 3
- 'paused':
'audio_state': paused
'wake_lock_size': 2
- 'idle'
This code not working, I don't know if there is some information how to exlude one of the parameters, because in my case media_session_state is always none...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels