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

Add "same_id_delay" to settings + Add option to ignore control cards (volume, skip, seek, etc.) #1030

Merged
merged 10 commits into from
Jul 16, 2020

Conversation

princemaxwell
Copy link
Contributor

@MiczFlor @s-martin @jo-me
solves issue #910

Pull request #1019 fixed the bug of same_id_delay, which was not working fine.
The idea to prevent cards from being scanned twice is cool, but my opinion is, that some control cards have to be ignored by this delay. Additionally it would be nice, if the delay could be set via settings tab individually.

This pull request adds both options to the settings.

2020-06-28 21_58_44-Window

First the time delay can be set, from OFF to 1-10 seconds.
Next you can decide, how control cards will be handled. If set, control cards will not be delayed.

This will work only for these control cards:

  • volume up
  • volume down
  • next track
  • previous track
  • rewind
  • seek forward
  • seek backward

The card ids from these cards are stored in "rfid_trigger_play.conf". We get these to the global.conf and while scanning a new card it will be checked against the registered cards in global.conf.

Add some options to the global.conf for handling second swipe pause + control cards
add setable same_id_delay, can be changed from settings tab. add option, to ignore controls cards for the time delay
add second swipe pause
add second swipe pause (control card handling)
add second swipe pause
add second swipe pause (control cards handling)
add second swipe pause
add second swipe pause (control cards handling)
@s-martin s-martin added this to the 2.1 milestone Jun 28, 2020
@s-martin s-martin linked an issue Jun 28, 2020 that may be closed by this pull request
@s-martin
Copy link
Collaborator

Needs #1019 be merged before?

@princemaxwell
Copy link
Contributor Author

No, #1019 is included

@MiczFlor
Copy link
Owner

Hi @princemaxwell
very neat and complete approach. Thumbs up!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 | Card left on reader is interpreted as second swipe
3 participants