RPi-Jukebox-RFID
RPi-Jukebox-RFID copied to clipboard
🐛 | Repeat mode "toggle - loops ..." doesn't actually work
Version
3.5.2
Branch
future/main
OS
RPI OS bookworm lite - 32bit
Pi model
3 B+
Hardware
- Suptronics x400 Soundcard
- MFRC522 RFID Reader
- GPIO buttons
What happened?
I assigned a card to the Audio & Volume / Repeat
commamd, and chose the Toggle - Loops through 1) Repeat playlist, 2) Repeat song, 3) Disable repeat
state in the web UI, as shown in this screenshot:
But it doesn't actually change anything.
When I swipe the card I see these logs:
Apr 06 18:47:41 phoniebox bash[3417]: 06.04.2024 18:47:41 - 175:__init__.py - jb.rfid(read_00) - read_00Thread - INFO - Received card id = '2808714293'
Apr 06 18:47:41 phoniebox bash[3417]: 06.04.2024 18:47:41 - 695:plugs.py - jb.plugin.call - read_00Thread - DEBUG - Calling: player.ctrl.repeat(args=[None], kwargs=None)
But:
- the player UI icon for
repeat mode
is not changing -
mpc status
always showsrepeat: off
andsingle: off
Logs
Relevant output from error.log:
06.04.2024 18:47:41 - 486:__init__.py - jb.PlayerMPD - read_00Thread - ERROR - 'None' does not exist for 'repeat'
Configuration
The card is registered in cards.yaml
:
'2808714293':
alias: repeat
args:
-
More info
No response
Btw, I am using now 3 cards for these sets:
- Enable Repeat Playlist
- Enable Repeat Song
- Disable
which are working just fine.
So I guess it's only the empty args:
list that is configured by choosing the first set (Toggle - Loops through 1) Repeat playlist, 2) Repeat song, 3) Disable repeat
)
Try to remove the empty args:
from the cards.yaml file