Skip to content

Commit

Permalink
fix: track index can be None in ABS v2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fmunkes authored and marcelveldt committed Jan 21, 2025
1 parent 00f8681 commit 8cc6f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/providers/audiobookshelf/abs_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ABSAudioTrack(BaseModel):
https://api.audiobookshelf.org/#audio-track
"""

index: int
index: int | None
start_offset: Annotated[float, Alias("startOffset")] = 0.0
duration: float = 0.0
title: str = ""
Expand Down

0 comments on commit 8cc6f16

Please sign in to comment.