Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 | Pauses during playback after RFID card scan #2461

Open
Manuelibt opened this issue Dec 2, 2024 · 2 comments
Open

🐛 | Pauses during playback after RFID card scan #2461

Manuelibt opened this issue Dec 2, 2024 · 2 comments
Labels
bug legacy_v2 Issues, discussions and PRs related to Version 2.x needs triage

Comments

@Manuelibt
Copy link

Manuelibt commented Dec 2, 2024

Version

2.8.0

Branch

master

OS

Raspbian Bullseye

Pi model

Raspi 3 b

Hardware

No response

What happened?

Hello,

I am experiencing an issue with my Phoniebox installation where the playback is regularly paused, even though the configuration is set up to continue playback as long as the RFID card remains on the reader. It seems that the playback is paused intermittently after the card is detected.

Reproduction:
The Phoniebox is correctly configured to continue playback after an RFID card is detected.
A card is placed on the reader.
After a short period (usually less than a second), the playback is paused, even though the card is still on the reader.
Observed Behavior:
Playback is repeatedly paused after the card is detected.
The process shows in the logs that the RFID reader's signal is not being detected continuously, which leads to the repeated pauses.
Example Log (Excerpt):
plaintext
Code kopieren

2024-12-02 22:37:28,319 - root - INFO - No RFID Signal detected.
2024-12-02 22:37:28,320 - root - INFO - Trigger Pause Force
2024-12-02 22:37:28,319 - root - INFO - Trigger Play Cardid=3495374621
Possible Cause:
The issue might be caused by a delay in the reading process or by the signal handling. The code includes a time.sleep(0.2) delay, which may be interfering with the continuous detection of the RFID signal.

Expected Behavior:
Playback should continue uninterrupted as long as the card remains on the reader.
There should be no unnecessary pauses or delays.
Steps to Reproduce:
Place an RFID card on the reader.
Observe the playback pausing, even though the card is still on the reader.
I have already tried optimizing the configuration and the code, but the issue persists. Can you please assist me in resolving this problem?

Thank you!

Logs

No response

Configuration

No response

More info

No response

@Manuelibt Manuelibt added bug legacy_v2 Issues, discussions and PRs related to Version 2.x needs triage labels Dec 2, 2024
@Manuelibt Manuelibt changed the title 🐛 | auses during playback after RFID card scan 🐛 | Pauses during playback after RFID card scan Dec 3, 2024
@s-martin
Copy link
Collaborator

s-martin commented Dec 8, 2024

Which reader do you use?

@jonaskor
Copy link

Same happens for me using the Neuftech USB Card Reader. I therefore disabled the option and just use the "Swiping starts the player"-option. It would have been useful to know that it wouldn't work as expected, I probably would have designed my box differently in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug legacy_v2 Issues, discussions and PRs related to Version 2.x needs triage
Projects
None yet
Development

No branches or pull requests

3 participants