Add follower to the PlayingMode enum (#125294)

Update media_player.py
This commit is contained in:
Simon Lamon 2024-09-05 08:50:49 +02:00 committed by GitHub
parent 71d35a03e1
commit 4c56cbe8c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,6 +59,7 @@ SOURCE_MAP: dict[PlayingMode, str] = {
PlayingMode.FM: "FM Radio",
PlayingMode.RCA: "RCA",
PlayingMode.UDISK: "USB",
PlayingMode.FOLLOWER: "Follower",
}
SOURCE_MAP_INV: dict[str, PlayingMode] = {v: k for k, v in SOURCE_MAP.items()}