Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/alllog_sync #26

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Throdax
Copy link

@Throdax Throdax commented Dec 2, 2024

Added a python script and functionality that reads the result screenshots taken from svdx_helper and adds them to the play log if some of them are missing so that they can be seen by the score_manager.exe.

In order for this to work, the file names must have been completed by the ocr_reporter.exe so that they look like sdvx_Monkey_Business_-Satire_mix-_NOV_clear_985_20241201_140552.png

The script accepts 2 arguments

--songLog The directory containing the alllog file
--results The directory containing the result screenshots

Must be run from the command line as it has no interface.
Usage:
python alllog_sync.py --songLog D:/Tools/SoundVoltex/sdvx_helper --results D:/Tools/SoundVoltex/results

Throdax added 4 commits December 2, 2024 00:53
…lts" folders, reparses the song data from the filename (set by the ocr_reader.exe), searches for them in the alllog_sync.py and inserts those that are not found so that they can use read by the manage_score.exe
Improved logging
Added logo
Added auto backup of the alllog.py file
I'm not quite sure how the dates are working, I suspect running the ocr_reporter.exe changes the timestamp of the files which then throws the "same song different date" detection out of whack, so for now it's disabled. Only new songs are inserted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant