updating naming
This commit is contained in:
parent
d0659e6eb8
commit
906351df96
3 changed files with 24 additions and 12 deletions
8
main.py
8
main.py
|
|
@ -128,7 +128,7 @@ class MainWindow(QMainWindow):
|
||||||
logger.error(f"Error running search maintenance: {e}")
|
logger.error(f"Error running search maintenance: {e}")
|
||||||
|
|
||||||
def init_ui(self):
|
def init_ui(self):
|
||||||
self.setWindowTitle("NewMusic - Music Sync & Manager")
|
self.setWindowTitle("SoulSync - Music Sync & Manager")
|
||||||
self.setGeometry(100, 100, 1400, 900)
|
self.setGeometry(100, 100, 1400, 900)
|
||||||
|
|
||||||
# Set dark theme palette
|
# Set dark theme palette
|
||||||
|
|
@ -343,15 +343,15 @@ def main():
|
||||||
log_file = logging_config.get('path', 'logs/newmusic.log')
|
log_file = logging_config.get('path', 'logs/newmusic.log')
|
||||||
setup_logging(level=log_level, log_file=log_file)
|
setup_logging(level=log_level, log_file=log_file)
|
||||||
|
|
||||||
logger.info("Starting NewMusic application")
|
logger.info("Starting Soulsync application")
|
||||||
|
|
||||||
if not config_manager.config_path.exists():
|
if not config_manager.config_path.exists():
|
||||||
logger.error("Configuration file not found. Please check config/config.json")
|
logger.error("Configuration file not found. Please check config/config.json")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
app.setApplicationName("NewMusic")
|
app.setApplicationName("SoulSync")
|
||||||
app.setApplicationVersion("1.0.0")
|
app.setApplicationVersion(".5")
|
||||||
|
|
||||||
main_window = MainWindow()
|
main_window = MainWindow()
|
||||||
main_window.show()
|
main_window.show()
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -945,10 +945,12 @@ class MetadataUpdaterWidget(QFrame):
|
||||||
info_label.setFont(QFont("Arial", 9))
|
info_label.setFont(QFont("Arial", 9))
|
||||||
info_label.setStyleSheet("color: #b3b3b3; margin-bottom: 5px;")
|
info_label.setStyleSheet("color: #b3b3b3; margin-bottom: 5px;")
|
||||||
|
|
||||||
# Control section
|
# Control section - reorganized for better balance
|
||||||
control_layout = QHBoxLayout()
|
control_layout = QVBoxLayout()
|
||||||
control_layout.setSpacing(15)
|
control_layout.setSpacing(12)
|
||||||
|
|
||||||
|
# Top row: Button
|
||||||
|
button_layout = QHBoxLayout()
|
||||||
self.start_button = QPushButton("Begin Metadata Update")
|
self.start_button = QPushButton("Begin Metadata Update")
|
||||||
self.start_button.setFixedHeight(36)
|
self.start_button.setFixedHeight(36)
|
||||||
self.start_button.setFont(QFont("Arial", 10, QFont.Weight.Medium))
|
self.start_button.setFont(QFont("Arial", 10, QFont.Weight.Medium))
|
||||||
|
|
@ -971,9 +973,16 @@ class MetadataUpdaterWidget(QFrame):
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
""")
|
""")
|
||||||
|
button_layout.addWidget(self.start_button)
|
||||||
|
button_layout.addStretch()
|
||||||
|
|
||||||
|
# Bottom row: Settings and status
|
||||||
|
settings_layout = QHBoxLayout()
|
||||||
|
settings_layout.setSpacing(25)
|
||||||
|
|
||||||
# Refresh interval dropdown
|
# Refresh interval dropdown
|
||||||
refresh_info_layout = QVBoxLayout()
|
refresh_info_layout = QVBoxLayout()
|
||||||
|
refresh_info_layout.setSpacing(4)
|
||||||
|
|
||||||
refresh_label = QLabel("Refresh Interval:")
|
refresh_label = QLabel("Refresh Interval:")
|
||||||
refresh_label.setFont(QFont("Arial", 9))
|
refresh_label.setFont(QFont("Arial", 9))
|
||||||
|
|
@ -998,7 +1007,7 @@ class MetadataUpdaterWidget(QFrame):
|
||||||
border: 1px solid #555555;
|
border: 1px solid #555555;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
min-width: 100px;
|
min-width: 120px;
|
||||||
}
|
}
|
||||||
QComboBox:hover {
|
QComboBox:hover {
|
||||||
border: 1px solid #1db954;
|
border: 1px solid #1db954;
|
||||||
|
|
@ -1027,6 +1036,7 @@ class MetadataUpdaterWidget(QFrame):
|
||||||
|
|
||||||
# Current artist display
|
# Current artist display
|
||||||
artist_info_layout = QVBoxLayout()
|
artist_info_layout = QVBoxLayout()
|
||||||
|
artist_info_layout.setSpacing(4)
|
||||||
|
|
||||||
current_label = QLabel("Current Artist:")
|
current_label = QLabel("Current Artist:")
|
||||||
current_label.setFont(QFont("Arial", 9))
|
current_label.setFont(QFont("Arial", 9))
|
||||||
|
|
@ -1039,10 +1049,12 @@ class MetadataUpdaterWidget(QFrame):
|
||||||
artist_info_layout.addWidget(current_label)
|
artist_info_layout.addWidget(current_label)
|
||||||
artist_info_layout.addWidget(self.current_artist_label)
|
artist_info_layout.addWidget(self.current_artist_label)
|
||||||
|
|
||||||
control_layout.addWidget(self.start_button)
|
settings_layout.addLayout(refresh_info_layout)
|
||||||
control_layout.addLayout(refresh_info_layout)
|
settings_layout.addLayout(artist_info_layout)
|
||||||
control_layout.addLayout(artist_info_layout)
|
settings_layout.addStretch()
|
||||||
control_layout.addStretch()
|
|
||||||
|
control_layout.addLayout(button_layout)
|
||||||
|
control_layout.addLayout(settings_layout)
|
||||||
|
|
||||||
# Progress section
|
# Progress section
|
||||||
progress_layout = QVBoxLayout()
|
progress_layout = QVBoxLayout()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue