silence warnings!

This commit is contained in:
Anthony Samms
2025-11-15 14:43:17 -05:00
parent 99bd878c95
commit 6296191846
3 changed files with 4 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ class SongBox:
self.history_wait = current_time
if self.tja is None and self.texture_index != 17 and not audio.is_sound_playing('voice_enter'):
audio.play_sound(f'genre_voice_{self.texture_index}', 'voice')
elif not self.is_open and is_open_prev and audio.is_sound_playing(f'genre_voice_{self.texture_index}'):
elif not self.is_open and is_open_prev and self.texture_index != 17 and audio.is_sound_playing(f'genre_voice_{self.texture_index}'):
audio.stop_sound(f'genre_voice_{self.texture_index}')
if self.tja_count is not None and self.tja_count > 0 and self.tja_count_text is None:
self.tja_count_text = OutlinedText(str(self.tja_count), 35, ray.WHITE, outline_thickness=5)#, horizontal_spacing=1.2)

View File

@@ -881,7 +881,7 @@ class TJAParser:
continue
#Unrecognized commands will be skipped for now
elif len(part) > 0 and not part[0].isdigit():
logger.warning(f"Unrecognized command: {part}")
logger.warning(f"Unrecognized command: {part} in TJA {self.file_path}")
continue
ms_per_measure = get_ms_per_measure(bpm, time_signature)

View File

@@ -50,7 +50,8 @@ class LoadScreen(Screen):
logger.info("Navigator initialized")
def on_screen_start(self):
super().on_screen_start()
tex.load_screen_textures(self.screen_name)
logger.info(f"Loaded textures for screen: {self.screen_name}")
self.loading_thread = threading.Thread(target=self._load_song_hashes)
self.loading_thread.daemon = True
self.loading_thread.start()