Skip to content

Commit e2451c1

Browse files
committed
Chore: Add a few extra attributes to PlayerSource
1 parent 75ebd21 commit e2451c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

music_assistant_models/player.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class PlayerSource(DataClassDictMixin):
5858
name: str
5959
# passive: this source can not be selected/activated by MA/the user
6060
passive: bool = False
61+
# can_play_pause: this source can be paused and resumed
62+
can_play_pause: bool = False
63+
# can_seek: this source can be seeked
64+
can_seek: bool = False
65+
# can_next_previous: this source can be skipped to next/previous item
66+
can_next_previous: bool = False
6167

6268

6369
@dataclass

0 commit comments

Comments
 (0)