denis-stepanov / advent

Vent intrusive TV ads
GNU General Public License v3.0
14 stars 1 forks source link

Stuck "in action" flag #81

Closed denis-stepanov closed 6 months ago

denis-stepanov commented 6 months ago

Looks like "in action" option is conflicting with multi-jingle feature:

$ advent -t broadlink -n4 -i2.5 -c8 -l debug -A
AdVent v1.6.0
TV control is 'broadlink' with action 'mute' for 600 s max and 1 exit jingle
...
Warning: TV starts with action in progress: 'mute'
Recognition interval is 2.5 s with confidence of 8%
Started 4 listening thread(s)
Type 'h' for help
...
::::::::::::::::::::::::::::::::::::::::::oO
Hit: FR_TF1_230205_ESPRITSCRIMINELS1_3
Muti-jingle ignored; remaining in action
Oo:::::::::::::::::::oo::::::::::::::::::::oo::::::::::::O
Hit: FR_TF1_221019_CHICAGOMED3_3
Muti-jingle ignored; remaining in action
Ooo::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::o::::::oO
Hit: FR_TF1_220221_EVENING1_3
Muti-jingle ignored; remaining in action

I.e. it never exits the action. Similar effect if a is pressed in console.

denis-stepanov commented 6 months ago

Looks like it is not completely fixed; 1) start with -A 2) hit 3) it writes that it has unmuted but actually mutes

denis-stepanov commented 6 months ago

After some testing, this was misunderstanding / wrong manipulation, so no further action.