* do not report progress if there was a streaming error
* Update music_assistant/controllers/player_queues.py
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
---------
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
return
assert media_item.uri is not None # uri is set in __post_init__
+ if item_to_report.streamdetails and item_to_report.streamdetails.stream_error:
+ # Ignore items that had a stream error
+ return
+
if item_to_report.streamdetails and item_to_report.streamdetails.duration:
duration = int(item_to_report.streamdetails.duration)
else: