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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 | Repeat mode "toggle - loops ..." doesn't actually work #2322

Open
varac opened this issue Apr 6, 2024 · 2 comments
Open

馃悰 | Repeat mode "toggle - loops ..." doesn't actually work #2322

varac opened this issue Apr 6, 2024 · 2 comments
Labels

Comments

@varac
Copy link
Contributor

varac commented Apr 6, 2024

Version

3.5.2

Branch

future/main

OS

RPI OS bookworm lite - 32bit

Pi model

3 B+

Hardware

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:

image

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 shows repeat: off and single: off

Logs

INSTALL-1710188086.log

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

@varac varac added bug future3 Relates to future3 development needs triage labels Apr 6, 2024
@varac varac changed the title 馃悰 | Repeat alias/action doesn't actually work 馃悰 | Repeat mode "toggle - loops ..." doesn't actually work Apr 6, 2024
@varac
Copy link
Contributor Author

varac commented Apr 6, 2024

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)

@s-martin
Copy link
Collaborator

s-martin commented Apr 7, 2024

Try to remove the empty args: from the cards.yaml file

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

No branches or pull requests

2 participants