Skip to content

Commit c6ca6d4

Browse files
Change prints, add documentation
1 parent 6d9570d commit c6ca6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

streams/spotify_volume_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_volume(self):
6161
self.get_status()
6262

6363
if self.connected_zones:
64-
total_vol_f = sum([zone["vol_f"] for zone in self.connected_zones])
64+
total_vol_f = sum([zone["vol_f"] for zone in self.connected_zones]) # Note that accounting for the vol_f overflow variables here would make it impossible to use those overflows while also using this volume bar
6565
return round(total_vol_f / len(self.connected_zones), 3) # Round down to 2 decimals
6666

6767

@@ -130,6 +130,6 @@ def handle_volumes(self):
130130
print("Exiting...")
131131
break
132132
except Exception as e:
133-
print(f"Error 139: {e}")
133+
print(f"Error: {e}")
134134
sleep(5)
135135
continue

0 commit comments

Comments
 (0)