Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ def run(self):
counter_for_duration = counter_for_duration + 1
is_end = False
is_playing = True
except BaseException:
pass
except (AttributeError, TypeError) as e:
BoardShim.log_message(
LogLevels.LEVEL_WARN.value,
'Failed to read current track info, skipping this poll iteration: %s' % str(e)
)
elif not track.get('is_playing', True):
is_end = True
except AttributeError as e:
Expand Down
Loading