Add files via upload

This commit is contained in:
Anjok07 2023-09-26 21:54:25 -05:00 committed by GitHub
parent e1a4c53772
commit dbebd02d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 22 deletions

View File

@ -37,7 +37,7 @@ SCREEN_SIZE_VALUES = {
}, },
"small": { "small": {
"credits_img":(50, 50), "credits_img":(50, 50),
'IMAGE_HEIGHT': 135, 'IMAGE_HEIGHT': 140,
'FILEPATHS_HEIGHT': 75, 'FILEPATHS_HEIGHT': 75,
'OPTIONS_HEIGHT': 262, 'OPTIONS_HEIGHT': 262,
'CONVERSIONBUTTON_HEIGHT': 30, 'CONVERSIONBUTTON_HEIGHT': 30,
@ -49,7 +49,7 @@ SCREEN_SIZE_VALUES = {
"medium": { "medium": {
"credits_img":(50, 50), "credits_img":(50, 50),
## App Size ## App Size
'IMAGE_HEIGHT': 135, 'IMAGE_HEIGHT': 140,
'FILEPATHS_HEIGHT': 75, 'FILEPATHS_HEIGHT': 75,
'OPTIONS_HEIGHT': 262, 'OPTIONS_HEIGHT': 262,
'CONVERSIONBUTTON_HEIGHT': 30, 'CONVERSIONBUTTON_HEIGHT': 30,
@ -167,6 +167,21 @@ if OPERATING_SYSTEM=="Darwin":
COMBO_WIDTH = 14 COMBO_WIDTH = 14
SET_VOC_SPLIT_CHECK_WIDTH = 21 SET_VOC_SPLIT_CHECK_WIDTH = 21
elif OPERATING_SYSTEM=="Linux": elif OPERATING_SYSTEM=="Linux":
HELP_HINT_CHECKBOX_WIDTH = 15
MDX_CHECKBOXS_WIDTH = 16
VR_CHECKBOXS_WIDTH = 16
ENSEMBLE_CHECKBOXS_WIDTH = 20
DEMUCS_CHECKBOXS_WIDTH = 16
DEMUCS_PRE_CHECKBOXS_WIDTH = 24
GEN_SETTINGS_WIDTH = 20
MENU_COMBOBOX_WIDTH = 18
MENU_OPTION_WIDTH = 12
READ_ONLY_COMBO_WIDTH = 40
SETTINGS_BUT_WIDTH = 23
VR_BUT_WIDTH = 18
SET_MENUS_CHECK_WIDTH = 13
COMBO_WIDTH = 16
SET_VOC_SPLIT_CHECK_WIDTH = 25
FONT_SIZE_F1 = 10 FONT_SIZE_F1 = 10
FONT_SIZE_F2 = 8 FONT_SIZE_F2 = 8
FONT_SIZE_F3 = 9 FONT_SIZE_F3 = 9
@ -175,23 +190,8 @@ elif OPERATING_SYSTEM=="Linux":
FONT_SIZE_2 = 9 FONT_SIZE_2 = 9
FONT_SIZE_3 = 10 FONT_SIZE_3 = 10
FONT_SIZE_4 = 11 FONT_SIZE_4 = 11
FONT_SIZE_5 = 12 FONT_SIZE_5 = 13
FONT_SIZE_6 = 15 FONT_SIZE_6 = 15
HELP_HINT_CHECKBOX_WIDTH = 13
MDX_CHECKBOXS_WIDTH = 14
VR_CHECKBOXS_WIDTH = 16
ENSEMBLE_CHECKBOXS_WIDTH = 25
DEMUCS_CHECKBOXS_WIDTH = 18
DEMUCS_PRE_CHECKBOXS_WIDTH = 27
GEN_SETTINGS_WIDTH = 17
MENU_COMBOBOX_WIDTH = 19
MENU_OPTION_WIDTH = 15
READ_ONLY_COMBO_WIDTH = 45
COMBO_WIDTH = 19
SETTINGS_BUT_WIDTH = 26
VR_BUT_WIDTH = 20
SET_MENUS_CHECK_WIDTH = 15
SET_VOC_SPLIT_CHECK_WIDTH = 28
elif OPERATING_SYSTEM=="Windows": elif OPERATING_SYSTEM=="Windows":
HELP_HINT_CHECKBOX_WIDTH = 15 HELP_HINT_CHECKBOX_WIDTH = 15
MDX_CHECKBOXS_WIDTH = 14 MDX_CHECKBOXS_WIDTH = 14
@ -207,8 +207,7 @@ elif OPERATING_SYSTEM=="Windows":
VR_BUT_WIDTH = 16 VR_BUT_WIDTH = 16
SET_MENUS_CHECK_WIDTH = 13 SET_MENUS_CHECK_WIDTH = 13
COMBO_WIDTH = 14 COMBO_WIDTH = 14
SET_VOC_SPLIT_CHECK_WIDTH = 23 SET_VOC_SPLIT_CHECK_WIDTH = 23
FONT_SIZE_F1 = 10 FONT_SIZE_F1 = 10
FONT_SIZE_F2 = 8 FONT_SIZE_F2 = 8
FONT_SIZE_F3 = 9 FONT_SIZE_F3 = 9
@ -369,4 +368,4 @@ Y_OFFSET_CONSOLE_FRAME_1080P = IMAGE_HEIGHT + FILEPATHS_HEIGHT + OPTIONS_HEIGHT
LABEL_Y_OFFSET = MAIN_ROW_Y[0] LABEL_Y_OFFSET = MAIN_ROW_Y[0]
ENTRY_X_OFFSET = SUB_ENT_ROW_X ENTRY_X_OFFSET = SUB_ENT_ROW_X
ENTRY_Y_OFFSET = MAIN_ROW_Y[1] ENTRY_Y_OFFSET = MAIN_ROW_Y[1]
OPTION_WIDTH = MAIN_ROW_ALIGN_WIDTH OPTION_WIDTH = MAIN_ROW_ALIGN_WIDTH

View File

@ -23,6 +23,11 @@ DEMUCS_6_STEM_MODEL = 'htdemucs_6s'
DEFAULT = "Default" DEFAULT = "Default"
ALIGNMENT_TOOL = 'Alignment Tool Options' ALIGNMENT_TOOL = 'Alignment Tool Options'
SINGLE_FILE = 'SINGLE_FILE'
MULTIPLE_FILE = 'MULTI_FILE'
MAIN_MULTIPLE_FILE = 'MAIN_MULTI_FILE'
CHOOSE_EXPORT_FIR = 'CHOOSE_EXPORT_FIR'
DUAL = "dual" DUAL = "dual"
FOUR_STEM = "fourstem" FOUR_STEM = "fourstem"
ANY_STEM = "Any Stem" ANY_STEM = "Any Stem"
@ -1561,4 +1566,4 @@ def secondary_stem(stem:str):
else: else:
secondary_stem = stem.replace(NO_STEM, "") if NO_STEM in stem else f"{NO_STEM}{stem}" secondary_stem = stem.replace(NO_STEM, "") if NO_STEM in stem else f"{NO_STEM}{stem}"
return secondary_stem return secondary_stem