This commit is contained in:
Broque Thomas 2025-07-27 21:33:09 -07:00
parent ab2d4fdeeb
commit 0d9300bbab
3 changed files with 69 additions and 29 deletions

View file

@ -176602,3 +176602,71 @@
2025-07-27 21:23:21 - newmusic.plex_client - INFO - _find_music_library:127 - Found music library: Music
2025-07-27 21:23:21 - newmusic.plex_client - INFO - _setup_client:113 - Successfully connected to Plex server: PLEX-MACHINE
2025-07-27 21:23:23 - newmusic.main - INFO - change_page:233 - Changed to page: settings
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - get_all_searches:952 - Getting all searches with endpoint: searches
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - _make_request:242 - Making GET request to: http://localhost:5030/api/v0/searches
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - _make_request:243 - Headers: {'Content-Type': 'application/json', 'X-API-Key': '1234567891234567'}
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - _make_request:254 - Response status: 200
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - _make_request:255 - Response text: [{"endedAt":"2025-07-27T21:28:19.7264233Z","fileCount":13,"id":"41b335b7-58a3-4201-8506-22e0954564eb","isComplete":true,"lockedFileCount":0,"responseCount":12,"responses":[],"searchText":"Tommy Cash Baba Yaga","startedAt":"2025-07-27T21:28:02.1709869Z","state":"Completed, TimedOut","token":80},{"endedAt":"2025-07-27T21:28:20.4645342Z","fileCount":5,"id":"7e66f9a9-00ac-451b-a199-5f6a7f18930c","isComplete":true,"lockedFileCount":0,"responseCount":5,"responses":[],"searchText":"Tommy Cash SugaSuga"...
2025-07-27 21:25:21 - newmusic.soulseek_client - INFO - get_all_searches:957 - Retrieved 50 searches from slskd
2025-07-27 21:25:21 - newmusic.soulseek_client - DEBUG - maintain_search_history:1058 - Search count (50) within limit (200), no maintenance needed
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - get_all_searches:952 - Getting all searches with endpoint: searches
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - _make_request:242 - Making GET request to: http://localhost:5030/api/v0/searches
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - _make_request:243 - Headers: {'Content-Type': 'application/json', 'X-API-Key': '1234567891234567'}
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - _make_request:254 - Response status: 200
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - _make_request:255 - Response text: [{"endedAt":"2025-07-27T21:28:19.7264233Z","fileCount":13,"id":"41b335b7-58a3-4201-8506-22e0954564eb","isComplete":true,"lockedFileCount":0,"responseCount":12,"responses":[],"searchText":"Tommy Cash Baba Yaga","startedAt":"2025-07-27T21:28:02.1709869Z","state":"Completed, TimedOut","token":80},{"endedAt":"2025-07-27T21:28:20.4645342Z","fileCount":5,"id":"7e66f9a9-00ac-451b-a199-5f6a7f18930c","isComplete":true,"lockedFileCount":0,"responseCount":5,"responses":[],"searchText":"Tommy Cash SugaSuga"...
2025-07-27 21:27:21 - newmusic.soulseek_client - INFO - get_all_searches:957 - Retrieved 50 searches from slskd
2025-07-27 21:27:21 - newmusic.soulseek_client - DEBUG - maintain_search_history:1058 - Search count (50) within limit (200), no maintenance needed
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - get_all_searches:952 - Getting all searches with endpoint: searches
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - _make_request:242 - Making GET request to: http://localhost:5030/api/v0/searches
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - _make_request:243 - Headers: {'Content-Type': 'application/json', 'X-API-Key': '1234567891234567'}
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - _make_request:254 - Response status: 200
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - _make_request:255 - Response text: [{"endedAt":"2025-07-27T21:28:19.7264233Z","fileCount":13,"id":"41b335b7-58a3-4201-8506-22e0954564eb","isComplete":true,"lockedFileCount":0,"responseCount":12,"responses":[],"searchText":"Tommy Cash Baba Yaga","startedAt":"2025-07-27T21:28:02.1709869Z","state":"Completed, TimedOut","token":80},{"endedAt":"2025-07-27T21:28:20.4645342Z","fileCount":5,"id":"7e66f9a9-00ac-451b-a199-5f6a7f18930c","isComplete":true,"lockedFileCount":0,"responseCount":5,"responses":[],"searchText":"Tommy Cash SugaSuga"...
2025-07-27 21:29:21 - newmusic.soulseek_client - INFO - get_all_searches:957 - Retrieved 50 searches from slskd
2025-07-27 21:29:21 - newmusic.soulseek_client - DEBUG - maintain_search_history:1058 - Search count (50) within limit (200), no maintenance needed
2025-07-27 21:30:23 - newmusic.main - INFO - closeEvent:246 - Closing application...
2025-07-27 21:30:23 - newmusic.main - INFO - closeEvent:251 - Cleaning up Downloads page threads...
2025-07-27 21:30:23 - newmusic.main - INFO - closeEvent:256 - Stopping status monitoring thread...
2025-07-27 21:30:25 - newmusic.main - INFO - closeEvent:261 - Stopping search maintenance timer...
2025-07-27 21:30:25 - newmusic.main - INFO - closeEvent:266 - Closing Soulseek client...
2025-07-27 21:30:25 - newmusic.main - INFO - closeEvent:272 - Application closed successfully
2025-07-27 21:30:29 - newmusic - INFO - setup_logging:57 - Logging initialized with level: DEBUG
2025-07-27 21:30:29 - newmusic.main - INFO - main:286 - Starting NewMusic application
2025-07-27 21:30:29 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:30:29 - newmusic.soulseek_client - INFO - _setup_client:220 - Soulseek client configured with slskd at http://localhost:5030
2025-07-27 21:30:29 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:30:29 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:30:29 - newmusic.soulseek_client - INFO - _setup_client:220 - Soulseek client configured with slskd at http://localhost:5030
2025-07-27 21:30:29 - newmusic.main - INFO - change_page:233 - Changed to page: dashboard
2025-07-27 21:30:29 - newmusic.main - INFO - setup_media_player_connections:205 - Media player connections established between sidebar and downloads page
2025-07-27 21:30:29 - newmusic.main - INFO - setup_settings_connections:210 - Settings change connections established
2025-07-27 21:30:29 - newmusic.main - INFO - setup_search_maintenance:86 - Search maintenance timer started (every 2 minutes, keeps 200 most recent searches)
2025-07-27 21:30:30 - newmusic.plex_client - INFO - _find_music_library:127 - Found music library: Music
2025-07-27 21:30:30 - newmusic.plex_client - INFO - _setup_client:113 - Successfully connected to Plex server: PLEX-MACHINE
2025-07-27 21:30:31 - newmusic.main - INFO - change_page:233 - Changed to page: settings
2025-07-27 21:32:29 - newmusic.soulseek_client - DEBUG - get_all_searches:952 - Getting all searches with endpoint: searches
2025-07-27 21:32:29 - newmusic.soulseek_client - DEBUG - _make_request:242 - Making GET request to: http://localhost:5030/api/v0/searches
2025-07-27 21:32:29 - newmusic.soulseek_client - DEBUG - _make_request:243 - Headers: {'Content-Type': 'application/json', 'X-API-Key': '1234567891234567'}
2025-07-27 21:32:30 - newmusic.soulseek_client - DEBUG - _make_request:254 - Response status: 200
2025-07-27 21:32:30 - newmusic.soulseek_client - DEBUG - _make_request:255 - Response text: [{"endedAt":"2025-07-27T21:28:19.7264233Z","fileCount":13,"id":"41b335b7-58a3-4201-8506-22e0954564eb","isComplete":true,"lockedFileCount":0,"responseCount":12,"responses":[],"searchText":"Tommy Cash Baba Yaga","startedAt":"2025-07-27T21:28:02.1709869Z","state":"Completed, TimedOut","token":80},{"endedAt":"2025-07-27T21:28:20.4645342Z","fileCount":5,"id":"7e66f9a9-00ac-451b-a199-5f6a7f18930c","isComplete":true,"lockedFileCount":0,"responseCount":5,"responses":[],"searchText":"Tommy Cash SugaSuga"...
2025-07-27 21:32:30 - newmusic.soulseek_client - INFO - get_all_searches:957 - Retrieved 50 searches from slskd
2025-07-27 21:32:30 - newmusic.soulseek_client - DEBUG - maintain_search_history:1058 - Search count (50) within limit (200), no maintenance needed
2025-07-27 21:32:30 - newmusic.main - INFO - closeEvent:246 - Closing application...
2025-07-27 21:32:30 - newmusic.main - INFO - closeEvent:251 - Cleaning up Downloads page threads...
2025-07-27 21:32:30 - newmusic.main - INFO - closeEvent:256 - Stopping status monitoring thread...
2025-07-27 21:32:33 - newmusic.main - INFO - closeEvent:261 - Stopping search maintenance timer...
2025-07-27 21:32:33 - newmusic.main - INFO - closeEvent:266 - Closing Soulseek client...
2025-07-27 21:32:33 - newmusic.main - INFO - closeEvent:272 - Application closed successfully
2025-07-27 21:32:36 - newmusic - INFO - setup_logging:57 - Logging initialized with level: DEBUG
2025-07-27 21:32:36 - newmusic.main - INFO - main:286 - Starting NewMusic application
2025-07-27 21:32:36 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:32:36 - newmusic.soulseek_client - INFO - _setup_client:220 - Soulseek client configured with slskd at http://localhost:5030
2025-07-27 21:32:36 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:32:37 - newmusic.spotify_client - INFO - _setup_client:179 - Spotify client initialized (user info will be fetched when needed)
2025-07-27 21:32:37 - newmusic.soulseek_client - INFO - _setup_client:220 - Soulseek client configured with slskd at http://localhost:5030
2025-07-27 21:32:37 - newmusic.main - INFO - change_page:233 - Changed to page: dashboard
2025-07-27 21:32:37 - newmusic.main - INFO - setup_media_player_connections:205 - Media player connections established between sidebar and downloads page
2025-07-27 21:32:37 - newmusic.main - INFO - setup_settings_connections:210 - Settings change connections established
2025-07-27 21:32:37 - newmusic.main - INFO - setup_search_maintenance:86 - Search maintenance timer started (every 2 minutes, keeps 200 most recent searches)
2025-07-27 21:32:37 - newmusic.plex_client - INFO - _find_music_library:127 - Found music library: Music
2025-07-27 21:32:37 - newmusic.plex_client - INFO - _setup_client:113 - Successfully connected to Plex server: PLEX-MACHINE
2025-07-27 21:32:52 - newmusic.main - INFO - change_page:233 - Changed to page: settings

View file

@ -664,34 +664,6 @@ class SettingsPage(QWidget):
download_layout.addLayout(path_container)
download_layout.addLayout(transfer_path_container)
# Sync Settings
sync_group = SettingsGroup("Sync Settings")
sync_layout = QVBoxLayout(sync_group)
sync_layout.setContentsMargins(16, 20, 16, 16)
sync_layout.setSpacing(12)
# Auto-sync checkbox
auto_sync = QCheckBox("Auto-sync playlists every hour")
auto_sync.setChecked(True)
auto_sync.setStyleSheet(self.get_checkbox_style())
# Sync interval
interval_layout = QHBoxLayout()
interval_label = QLabel("Sync Interval (minutes):")
interval_label.setStyleSheet("color: #ffffff; font-size: 12px;")
interval_spin = QSpinBox()
interval_spin.setRange(5, 1440) # 5 minutes to 24 hours
interval_spin.setValue(60)
interval_spin.setStyleSheet(self.get_spin_style())
interval_spin.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
interval_layout.addWidget(interval_label)
interval_layout.addWidget(interval_spin)
sync_layout.addWidget(auto_sync)
sync_layout.addLayout(interval_layout)
# Logging Settings
logging_group = SettingsGroup("Logging Settings")
logging_layout = QVBoxLayout(logging_group)
@ -727,8 +699,8 @@ class SettingsPage(QWidget):
logging_layout.addLayout(log_path_container)
layout.addWidget(download_group)
layout.addWidget(sync_group)
layout.addWidget(logging_group)
layout.addStretch() # Push content to top, prevent stretching
return column