maybe helpful
This commit is contained in:
parent
41dff606da
commit
529456300a
6 changed files with 4097 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
{"access_token": "BQAzO_tx0AALuWymWh3viTz7ZF18Z8hFu81luI-P-PzmYzhjiY6YvKX1HD6o8FUoMP6CbCChrs0Yba3ry7FskS-c7iBqVZpfudOfAyRu4jfU3ZsLPq-BrCIiDzEyE9im5jmHlkJsRvSvtiJuOJ2jmLCoa89sNBUjvsS-lUGJJOyLt7LSx_ei_zo-4F8TXVyV1TCVTxvLgF2xeOtpEV1Vy-PKKzCa6DSKTeWxlsTo5VjCRxRL346cZMM5WTRFr35q", "token_type": "Bearer", "expires_in": 3600, "scope": "user-library-read user-read-private playlist-read-private playlist-read-collaborative user-read-email", "expires_at": 1753518526, "refresh_token": "AQDmfQkPCGObfJeTUIbW1hAAwhSqkuHRA3Qh2dqVYMRh0eCkFMQgPNJDDzF8y-BiaVbj80zePkK_XSfYH1aJutMtNbnsqRKWuxP31BTrMc7pdUdbE7Fma4oH8wpDUKdG3MM"}
|
||||
{"access_token": "BQDRZfv8u-o-8MztmJBHtTa82-T_seY-U4WxCp3wytct5Yz2ZJujMaFpX025k-H2r5Fg1jDJtfrqd2O9iEPKVWjjoXtTNZybpTgMfJwOQbbQJA2zyLI2iS0lbbmzTdjLEW9sQsFk6f1_VCSfQeJYdqsfHF-CH6vhy3rv1RoNzzLg4q0abcM1wt3v6i2qMXmlFSELjZLDwIRtr0qutguSc8Bf4KEi10JcZb0cuLLmymrLPF9cu_sQEmfxYjaR4c75", "token_type": "Bearer", "expires_in": 3600, "scope": "user-library-read user-read-private playlist-read-private playlist-read-collaborative user-read-email", "expires_at": 1753555337, "refresh_token": "AQDmfQkPCGObfJeTUIbW1hAAwhSqkuHRA3Qh2dqVYMRh0eCkFMQgPNJDDzF8y-BiaVbj80zePkK_XSfYH1aJutMtNbnsqRKWuxP31BTrMc7pdUdbE7Fma4oH8wpDUKdG3MM"}
|
||||
Binary file not shown.
|
|
@ -542,7 +542,7 @@ class SoulseekClient:
|
|||
|
||||
return None
|
||||
|
||||
async def search(self, query: str, timeout: int = 30, progress_callback=None) -> tuple[List[TrackResult], List[AlbumResult]]:
|
||||
async def search(self, query: str, timeout: int = 35, progress_callback=None) -> tuple[List[TrackResult], List[AlbumResult]]:
|
||||
if not self.base_url:
|
||||
logger.error("Soulseek client not configured")
|
||||
return [], []
|
||||
|
|
@ -578,7 +578,7 @@ class SoulseekClient:
|
|||
all_responses = []
|
||||
all_tracks = []
|
||||
all_albums = []
|
||||
poll_interval = 1.5 # Check every 1.5 seconds for more responsive updates
|
||||
poll_interval = 1 # Check every 1.5 seconds for more responsive updates
|
||||
max_polls = int(timeout / poll_interval) # 20 attempts over 30 seconds
|
||||
|
||||
for poll_count in range(max_polls):
|
||||
|
|
|
|||
4093
logs/app.log
4093
logs/app.log
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
|
@ -1093,7 +1093,7 @@ class ArtistsPage(QWidget):
|
|||
self.album_downloads = {} # {album_id: {total_tracks: X, completed_tracks: Y, active_downloads: [download_ids], album_card: card_ref}}
|
||||
self.download_status_timer = QTimer(self)
|
||||
self.download_status_timer.timeout.connect(self.poll_album_download_statuses)
|
||||
self.download_status_timer.start(2000) # Poll every 2 seconds
|
||||
self.download_status_timer.start(500) # Poll every .5 seconds
|
||||
self.download_status_pool = QThreadPool()
|
||||
self.download_status_pool.setMaxThreadCount(1)
|
||||
self._is_status_update_running = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue