Skip to content

Commit d20cd5a

Browse files
committed
2 parents f0a19d7 + 4078f29 commit d20cd5a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test = [
2828
"pytest==8.4.2",
2929
"pytest-cov==7.0.0",
3030
"tomli==2.2.1",
31-
"ruff==0.13.0",
31+
"ruff==0.13.1",
3232
]
3333

3434
[tool.codespell]

0 commit comments

Comments
 (0)