projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ae5ab
)
Fix typos in player model (#244)
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Wed, 6 Apr 2022 09:29:06 +0000
(11:29 +0200)
committer
GitHub
<noreply@github.com>
Wed, 6 Apr 2022 09:29:06 +0000
(11:29 +0200)
music_assistant/models/player.py
patch
|
blob
|
history
diff --git
a/music_assistant/models/player.py
b/music_assistant/models/player.py
index 6c1fd4ead6726d32313311406749a644581ad65d..653a41a0cea6d88e15e8d0ea2e528ddc57d724cd 100755
(executable)
--- a/
music_assistant/models/player.py
+++ b/
music_assistant/models/player.py
@@
-47,10
+47,10
@@
class Player(ABC):
player_id: str
_attr_is_group: bool = False
_attr_group_childs: List[str] = []
- _attr_name: str =
None
+ _attr_name: str =
""
_attr_powered: bool = False
_attr_elapsed_time: int = 0
- _attr_current_url: str =
None
+ _attr_current_url: str =
""
_attr_state: PlayerState = PlayerState.IDLE
_attr_available: bool = True
_attr_volume_level: int = 100