Skip to content

Commit

Permalink
Merge pull request #299 from KH2FM-Mods-equations19/skip-missing-songs
Browse files Browse the repository at this point in the history
Skip missing songs when randomizing game music
  • Loading branch information
zaktherobot authored Dec 3, 2024
2 parents 188421b + 4883dfa commit 1ac23c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Module/cosmetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ def _collect_music_files(settings: SeedSettings) -> dict[str, list[Path]]:
extracted_data_path = appconfig.extracted_data_path()
if extracted_data_path is not None:
def add_game_song(song_file_path: Path, category: str, song_dmca: bool):
if not song_file_path.is_file():
return

if not categorize:
category = 'wild'
if category not in result:
Expand Down

0 comments on commit 1ac23c0

Please sign in to comment.