From 0d9300bbab95b34716a538dc680908f139f02aeb Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sun, 27 Jul 2025 21:33:09 -0700 Subject: [PATCH] better --- logs/app.log | 68 ++++++++++++++++++ ui/pages/__pycache__/settings.cpython-312.pyc | Bin 41174 -> 39915 bytes ui/pages/settings.py | 30 +------- 3 files changed, 69 insertions(+), 29 deletions(-) diff --git a/logs/app.log b/logs/app.log index dbaf7f53..3c7c1ff4 100644 --- a/logs/app.log +++ b/logs/app.log @@ -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 diff --git a/ui/pages/__pycache__/settings.cpython-312.pyc b/ui/pages/__pycache__/settings.cpython-312.pyc index 379262832f93ee2ad55de50e3a646ac85a7f3172..4e329cf7e63898391cc858968f07e270ff4234ed 100644 GIT binary patch delta 624 zcmcb1km>byCce|Wyj%=G5csz(qo83U-;qkD1w4~q2Hf7fzKV@w@`gYmNud&6kO~k; z5n9a%Vbu!P2v4dNnS7yDUR$I_Buf|~j7+98qzEr!glS-80ICw5ypT_L@~dzjMv+Oi z;*+DR)fh!4AG8vgoX{XY*|));sYYn>L2Hr8e62h%=86`c$+tAPlvYEHt`$XcjwsCZ zTCo~2kaGg+c^O5)Mx-b3imSq$lOhIJC|)Bzsn&LKUWO>bQiu-oOy0>qTf`>6ZBd#$ zFOGZis}6TY+sTctQXD|HGX^tgicb#f{5p9_mo1~fC_0nel8JihZu&KVqm!4V@ zUtExx2T?j%dX_BHQ>M*Uv&5N1uxXflv0G$v)*MB)uS`I@j5bf4GoO(SqHwa=JaaY< zW}vXa0V%K!C6IGLZvMq#lbfGXnv-f* YWHmW^L6l%2CnL`U^REmbx(K8U0A7Tu>;M1& delta 1405 zcmZuxOKcle6!n`V&WjT}_%r^DKN-hPnznNIM8d*J6QZ^XrF@zXNECtP#v{kZwZnK^ zHDR1UTM{=28hTYVA0e48*ksXGUa(=&NbC^EmMv_VN@T&NLP7|&8`$uk9Z$XJNb}yk z=bn4sxo`3Q{GR!BpV9rK)oN7a-H%JmN-sP*_gnt%vKre?&>H>1hCS4X zG6vZYn}Bb1My;`lA(d>nnX#Zr`0O+Xn^!fkvrNj8w$Vb`O|bm|59d~UtkTIQxOW(2 zSecETriywtY~EuUFwtaVQxpa6y&l9;{WFL9-H3(#fC=thO(G-gkD7F{sl`hjf^ROI{fsxWs4HQ8h&F2>fc&fbcV(ct}01`($WWo-L? z7&1ZpT9?hnol1CRrGiw_K+{;*sqme$^JeA*awk;u61*Op9~N);j-8LK4JFp*TNuF`7tALh5KhoFfxNa~&$x zqcMoCPa-|+t@on=_+|Zvx4TKLrb!9X$pvBlBOzQfLGD%fXbi6c@xEO2ULR z6G}vcdh~86o)&64N=_|C6AdD9zL|YIqoFQ?5iyxwtaaC8VmO(WYF!~RLy#i1-sqvx z;9*VI0$dQ{HLa2peYkS{db^9b0R4s;_>E5JTkHhi#&L#M=g)7PZPS}Qxrq`xlGQvk zyK~1%W*=0Cy{nJaD%MqSjh9Rl*{&+qSFodq9b0o{++WZ7inuS=Ug7;k-e2NhDdPa? zun+F~vb_&&eFZ*HvW;eSRcx+cZxMS715;)E+8 zmnT(&r-(hdQx&hj==GPpR3A)V9DCVP!R{h<=Z4Gp#VT%QzA}E{02?dVS;Wq*Xc-Sx zl`L7t!}&X3?jQqK#@;H{Rj{>)ty@lVaQ=-O4-oo2ul>4%F$c(lBaV_KMPD9Xbdy!I zz!136U-{P|k8ICmI0+lvx10=W%fEWd!aSSBQP%2hcbA^L0^&H$rf(d{7jCDKx*-c^ zxBY4_t&Txd#GG?c U>F#;`n;O)!>3^c4yGUvO10TwT1ONa4 diff --git a/ui/pages/settings.py b/ui/pages/settings.py index 5f6f003f..52af91f5 100644 --- a/ui/pages/settings.py +++ b/ui/pages/settings.py @@ -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