Add hot load functionality

This commit is contained in:
Anthony Samms
2025-11-15 13:34:54 -05:00
parent 9d789eb412
commit 729d1243a1
2 changed files with 13 additions and 2 deletions

View File

@@ -1,9 +1,7 @@
import configparser
import csv
import logging
import json
import sqlite3
import sys
import time
from pathlib import Path
@@ -270,6 +268,7 @@ def process_tja_file(tja_file):
hash = tja.hash_note_data(all_notes)
return hash
'''
def get_japanese_songs_for_version(csv_file_path, version_column):
# Read CSV file and filter rows where the specified version column has 'YES'
version_songs = []
@@ -383,3 +382,4 @@ def get_japanese_songs_for_version(csv_file_path, version_column):
if len(sys.argv) > 1:
get_japanese_songs_for_version(sys.argv[1], sys.argv[2])
'''