mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
adjusting music manager artist and album location
This commit is contained in:
@@ -770,7 +770,7 @@ class MusicManager:
|
|||||||
self.title_scroll_tick = 0
|
self.title_scroll_tick = 0
|
||||||
|
|
||||||
# --- Artist ---
|
# --- Artist ---
|
||||||
y_pos_artist = y_pos_title + line_height_title + padding_between_lines - 1
|
y_pos_artist = y_pos_title + line_height_title + padding_between_lines
|
||||||
artist_width = self.display_manager.get_text_width(artist, font_artist_album)
|
artist_width = self.display_manager.get_text_width(artist, font_artist_album)
|
||||||
current_artist_display_text = artist
|
current_artist_display_text = artist
|
||||||
if artist_width > text_area_width:
|
if artist_width > text_area_width:
|
||||||
@@ -798,7 +798,7 @@ class MusicManager:
|
|||||||
|
|
||||||
# --- Progress Bar ---
|
# --- Progress Bar ---
|
||||||
progress_bar_height = 3
|
progress_bar_height = 3
|
||||||
progress_bar_y = matrix_height - progress_bar_height - 1
|
progress_bar_y = matrix_height - progress_bar_height
|
||||||
duration_ms = current_track_info_snapshot.get('duration_ms', 0)
|
duration_ms = current_track_info_snapshot.get('duration_ms', 0)
|
||||||
progress_ms = current_track_info_snapshot.get('progress_ms', 0)
|
progress_ms = current_track_info_snapshot.get('progress_ms', 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user