Skip to content

Commit 71c49c2

Browse files
Add smart fades model (#108)
1 parent 23bf908 commit 71c49c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

music_assistant_models/streamdetails.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ class StreamDetails(DataClassDictMixin):
154154
# In case of single player playback, dict will contain only one entry.
155155
dsp: dict[str, DSPDetails] | None = None
156156

157+
# Smart fades BPM analysis for intelligent crossfading
158+
smart_fades: Any = field(
159+
default=None,
160+
compare=False,
161+
metadata=field_options(serialize="omit", deserialize=pass_through),
162+
repr=False,
163+
)
164+
157165
# the fields below are managed by the queue/stream controller and may not be set by providers
158166
fade_in: bool = field(
159167
default=False,

0 commit comments

Comments
 (0)