Skip to content

Commit 510fd1b

Browse files
committed
Fix spacing after heart icon
1 parent 2b93785 commit 510fd1b

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 1.0.5: 2025-12-27
2+
3+
* Fix spacing after heart icon
4+
* Clear ban/love messages when track changes
5+
16
### 1.0.4: 2025-12-26
27

38
* Show play count from Last.fm after genres (x plays)

omnishuffle/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""OmniShuffle - Unified music shuffler for Spotify, Pandora, and YouTube Music."""
22

3-
__version__ = "1.0.4"
3+
__version__ = "1.0.5"

omnishuffle/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _get_status_line(self) -> str:
189189
quality = ""
190190

191191
# Icons
192-
heart = " \033[91m♥\033[0m" if self.current_loved else ""
192+
heart = " \033[91m♥\033[0m " if self.current_loved else ""
193193
scrobbled = "\033[32m✓\033[0m" if self.current_scrobbled else ""
194194

195195
# Genres and play count
@@ -430,9 +430,9 @@ def play_next(self):
430430
self.current_scrobbled = False
431431
self.current_stats = {}
432432
self._current_position = 0.0
433-
# Clear old status and reset for fresh print
433+
# Clear old status and any messages above (ban/love) - clear 4 lines
434434
if not self._status_first_print:
435-
sys.stdout.write("\033[2K\033[A\033[2K\r")
435+
sys.stdout.write("\033[2K\033[A\033[2K\033[A\033[2K\033[A\033[2K\r")
436436
sys.stdout.flush()
437437
self._status_first_print = True
438438

0 commit comments

Comments
 (0)