Skip to content

🐛 | Pause/Play or toggle resume skips 1-2 seconds, resulting in missing audio/content #2608

@Robert-Riedl

Description

@Robert-Riedl

Version

2.8.0 - 5044358

Branch

master

OS

Raspbian GNU/Linux 11 (bullseye) armv7l

Pi model

2 B

Hardware

DragonRise USB for Buttons
SDZNKJLTD USB Reader RFID
OnOffShim
WM8960 Soundcard HAT (with speakers)

What happened?

It seems toggle play on/off with the RFID chip and button (functionCallPlayerPause) swallows some seconds (1-2 ?) of the audio ?

it's visible best if i press the button in quick sucession (in the same second)

Logs

Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[24997]: Sabine Bohlmann - 2 - Die Geschichte vom kleinen Siebenschläfer, der nicht einschlafen konnte: Kapitel 2
Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[24997]: [playing] #2/23   1:11/2:19 (51%)
Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[24997]: volume: 68%   repeat: off   random: off   single: off   consume: off
Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[25032]: Sabine Bohlmann - 2 - Die Geschichte vom kleinen Siebenschläfer, der nicht einschlafen konnte: Kapitel 2
Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[25032]: [paused]  #2/23   1:13/2:19 (52%)
Feb 15 12:48:27 riedlbox buttons_usb_encoder.py[25032]: volume: 68%   repeat: off   random: off   single: off   consume: off

You can see here I started the mp3 at 12:48:27 at the 1:11 mark, pressed pause again in the same second but it saved 1:13 as resume time ?

Configuration

everything is default, so ne relevance I think ?

More info

i tried to reduce powerdraw with a /boot/config.txt

tparam=act_led_trigger=none
dtparam=act_led_activelow=off
hdmi_blanking=1
disable_splash=1

force_turbo=0 #turns on frequency scaling
arm_freq=400 #sets max frequency
arm_freq_min=100 #sets min frequency

gpu_mem=16

also journalctl is normally disabled to reduce sdcard wear

any help would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglegacy_v2Issues, discussions and PRs related to Version 2.xneeds triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions