[GH-ISSUE #43] [Bug Report] Process Hangs with No Print Statements #35

Closed
opened 2026-02-27 04:57:12 +03:00 by kerem · 7 comments
Owner

Originally created by @Geezer1834 on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/43

Originally assigned to: @Googolplexed0 on GitHub.

Bug Description
Authentication via the --creds location works as expected, and the configuration is handled properly using --config-location. However, when I pass a file containing multiple URLs using the --file parameter, the process hangs indefinitely without any output or progress.

Bug Triggering Command

/usr/bin/zotify --creds=/home/../.zotify/ --config-location=/home/.../.zotify/ --file=/path/to/test

Error Traceback / Logs
No specific error is shown. The command simply hangs and does not proceed.

Additional Context
The file test contains multiple URLs (one per line), e.g.:

https://open.spotify.com/track/abc123
https://open.spotify.com/album/xyz789

Originally created by @Geezer1834 on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/43 Originally assigned to: @Googolplexed0 on GitHub. Bug Description Authentication via the --creds location works as expected, and the configuration is handled properly using --config-location. However, when I pass a file containing multiple URLs using the --file parameter, the process hangs indefinitely without any output or progress. Bug Triggering Command /usr/bin/zotify --creds=/home/../.zotify/ --config-location=/home/.../.zotify/ --file=/path/to/test Error Traceback / Logs No specific error is shown. The command simply hangs and does not proceed. Additional Context The file test contains multiple URLs (one per line), e.g.: https://open.spotify.com/track/abc123 https://open.spotify.com/album/xyz789
kerem 2026-02-27 04:57:12 +03:00
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

Just tested the -f mode functionality, no issues on my system. What version of the library? Can you confirm that everything works as expected when downloading an individual track? If you aren't seeing the ### FILE {filename} NOT FOUND ### error then there isn't an issue naming/finding the file.

<!-- gh-comment-id:3166680250 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): Just tested the `-f` mode functionality, no issues on my system. What version of the library? Can you confirm that everything works as expected when downloading an individual track? If you aren't seeing the `### FILE {filename} NOT FOUND ###` error then there isn't an issue naming/finding the file.
Author
Owner

@Geezer1834 commented on GitHub (Aug 8, 2025):

thanks for the response, single track also fails to work the behavior remains the same

<!-- gh-comment-id:3166846676 --> @Geezer1834 commented on GitHub (Aug 8, 2025): thanks for the response, single track also fails to work the behavior remains the same
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

If you do not see the Logging In... Loader bar then something in the library installation must be incorrect. Try reinstalling with pipx install --force https://github.com/Googolplexed0/zotify to see if that fixes it. If that doesn't help, try running with the --debug cmd line flag and include the resulting terminal output and .log file here.

<!-- gh-comment-id:3168940423 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): If you do not see the `Logging In...` Loader bar then something in the library installation must be incorrect. Try reinstalling with `pipx install --force https://github.com/Googolplexed0/zotify` to see if that fixes it. If that doesn't help, try running with the `--debug` cmd line flag and include the resulting terminal output and .log file here.
Author
Owner

@Geezer1834 commented on GitHub (Aug 23, 2025):

As I mentioned, I can log in, but it then hangs here:

/usr/bin/zotify --creds=/home/.zotify/ --config-location=/home/.zotify/
https://open.spotify.com/intl-de/track/62aP9fBQKYKxi7PDXwcUAS?si=ef1112f0c67348c3

WARNING: CONFIG OAUTH_ADDRESS IS DEPRECATED, IGNORING

THIS WILL BE REMOVED IN FUTURE VERSIONS

Delete the "OAUTH_ADDRESS": "0.0.0.0" line from your config.json

    [∙●∙] Logging in...

I also ran:

pip uninstall librespot
pip install git+https://github.com/kokarare1212/librespot-python
pipx install --force https://github.com/Googolplexed0/zotify

still the same... any Idea?

Log:

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=accesspoint HTTP/1.1" 200 None
INFO:Librespot:Session:Created new session! device_id: 93b922b8d028448662b40b278c31927dc0451d14, ap: ap-gew1.spotify.com:80
INFO:Librespot:Session:Connection successfully!
INFO:Librespot:Session:Session.Receiver started
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=spclient HTTP/1.1" 200 None
INFO:Librespot:Session:Skipping 02
INFO:Librespot:Session:Received license_version: 0
INFO:Librespot:Session:Received country_code: CH
DEBUG:Librespot:Session:Parsed product info: {'type': 'premium', 'ab-ad-player-targeting': '1', 'ab-watch-now': '0', 'ab_recently_played_feature_time_filter_t
hreshold': 'com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30', 'ad-formats-preroll-video': '0', 'ad-session-persistence': '1', 'ads': '0
', 'app-developer': '0', 'arsenal_country': '1', 'audio-preview-url-template': 'https://p.scdn.co/mp3-preview/{id}', 'audio-quality': '1', 'audiobook-onboardi
ng-completed': '0', 'autoplay': '1', 'browse-overview-enabled': '1', 'capping-bar-threshold': '3601', 'catalogue': 'premium', 'collection': '1', 'created_by_p
artner': None, 'employee-free-opt-in': '0', 'enable-annotations': '2', 'enable-annotations-read': '0', 'enable-crossfade': '1', 'explicit-content': '1', 'fina
ncial-product': 'pr:premium,tc:0,rt:v2_CH_default_prepaid-b2b_retail_external-CH-3m-42CHF-3m_42_CHF_default', 'head-file-caching': '1', 'head-files': '1', 'he
ad-files-url': 'https://heads-fa-tls13.spotifycdn.com/head/{file_id}', 'high-bitrate': '1', 'image-url': 'https://i.scdn.co/image/{file_id}', 'incognito_mode_
timeout': '21600', 'is_email_verified': '1', 'key-caching-auto-offline': '0', 'key-caching-max-count': '10000', 'key-caching-max-offline-seconds': '1800', 'ke
y-memory-cache-mode': '1:15,300', 'libspotify': '1', 'license-acceptance-grace-days': '30', 'license-agreements': None, 'loudness-levels': '1:-5.0,0.0,3.0:-2.
0', 'metadata-link-lookup-modes': '0', 'mobile': '1', 'mobile-payment': '0', 'name': 'Spotify Premium', 'network-operator-premium-activation': '1', 'nft-disab
led': '1', 'offline': '1', 'on-demand': '1', 'on-demand-trial': 'expired', 'on-demand-trial-in-progress': '0', 'payment-state': None, 'payments-initial-campai
gn': 'prepaid', 'payments-locked-state': '0', 'player-license': 'premium', 'player-license-v2': 'premium', 'playlist-annotations-markup': '0', 'preferred-loca
le': 'en', 'prefetch-keys': '1', 'prefetch-strategy': '18', 'prefetch-window-max': '2', 'product-expiry': '2025-11-02T06:47:06Z', 'publish-activity': '0', 'pu
blish-playlist': '0', 'radio': '1', 'rating-access': '1', 'remote-control': '6', 'restrict-playlist-collaboration': '0', 'send-email': '1', 'shows-collection'
'1', 'shows-collection-jam': '0', 'shuffle': '0', 'shuffle-algorithm': 'FRESH', 'sidebar-navigation-enabled': '0', 'storage-size-config': '10240,90,500,3',
'streaming': '1', 'streaming-rules': None, 'subscription-enddate': '2025-11-02T06:47:06Z', 'ugc-abuse-report': '1', 'ugc-abuse-report-url': 'https://support.s
potify.com/abuse/?uri={uri}', 'unrestricted': '1', 'user-profile-show-invitation-codes': '0', 'video-cdn-sampling': '100', 'video-device-blacklisted': '0', 'v
ideo-keyframe-url': 'http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg', 'video-man
ifest-url': 'https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm', 'widevine-license-url': 'https://spclient.wg.spoti
fy.com/widevine-license/v1/video/license'}
INFO:Librespot:Session:Skipping 1f
INFO:Librespot:Session:Skipping 69
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
DEBUG:Librespot:MercuryClient:Handling packet, cmd: 0xb5, seq: -2557763113369731072, flags: b'\x01', parts: 1
DEBUG:Librespot:MercuryClient:Couldn't dispatch Mercury event seq: -2557763113369731072, uri: hm://pusher/v1/connections/OTNiOTIyYjhkMDI4NDQ4NjYyYjQwYjI3OGMzM
TkyN2RjMDQ1MWQxNCtBUCt0Y3A6Ly8wYWNhNDAxMy5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMTgrRTM5MjZCODQwNDdEMTVGQTlGN0U5RDlDNUY5RUZDMTM5OTg1QzQ2QTE4MDgyNTFGNEQwMjc4OTNEQkYxOUN
ERQ%3D%3D, code: 200, payload: b''
DEBUG:Librespot:Session:Received 0x10: dbbc5d40a056f13c9a60b858f5fde9f89e111245
INFO:Librespot:Session:Skipping unknown command cmd: 0x75, payload: b'\x00\x00\x01'
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=dealer HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:443
DEBUG:urllib3.connectionpool:https://login5.spotify.com:443 "POST /v3/login HTTP/1.1" 200 None
INFO:Librespot:TokenProvider:Login5 authentication successful, got access token
DEBUG:Librespot:TokenProvider:Using Login5 access token for scopes: ['playlist-read']
INFO:Librespot:Session:Authenticated as xxxx!
<!-- gh-comment-id:3216499702 --> @Geezer1834 commented on GitHub (Aug 23, 2025): As I mentioned, I can log in, but it then hangs here: /usr/bin/zotify --creds=/home/.zotify/ --config-location=/home/.zotify/ \ https://open.spotify.com/intl-de/track/62aP9fBQKYKxi7PDXwcUAS?si=ef1112f0c67348c3 ### WARNING: CONFIG `OAUTH_ADDRESS` IS DEPRECATED, IGNORING ### ### THIS WILL BE REMOVED IN FUTURE VERSIONS ### ### Delete the "OAUTH_ADDRESS": "0.0.0.0" line from your config.json ### [∙●∙] Logging in... I also ran: pip uninstall librespot pip install git+https://github.com/kokarare1212/librespot-python pipx install --force https://github.com/Googolplexed0/zotify still the same... any Idea? Log: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=accesspoint HTTP/1.1" 200 None INFO:Librespot:Session:Created new session! device_id: 93b922b8d028448662b40b278c31927dc0451d14, ap: ap-gew1.spotify.com:80 INFO:Librespot:Session:Connection successfully! INFO:Librespot:Session:Session.Receiver started DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=spclient HTTP/1.1" 200 None INFO:Librespot:Session:Skipping 02 INFO:Librespot:Session:Received license_version: 0 INFO:Librespot:Session:Received country_code: CH DEBUG:Librespot:Session:Parsed product info: {'type': 'premium', 'ab-ad-player-targeting': '1', 'ab-watch-now': '0', 'ab_recently_played_feature_time_filter_t hreshold': 'com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30', 'ad-formats-preroll-video': '0', 'ad-session-persistence': '1', 'ads': '0 ', 'app-developer': '0', 'arsenal_country': '1', 'audio-preview-url-template': 'https://p.scdn.co/mp3-preview/{id}', 'audio-quality': '1', 'audiobook-onboardi ng-completed': '0', 'autoplay': '1', 'browse-overview-enabled': '1', 'capping-bar-threshold': '3601', 'catalogue': 'premium', 'collection': '1', 'created_by_p artner': None, 'employee-free-opt-in': '0', 'enable-annotations': '2', 'enable-annotations-read': '0', 'enable-crossfade': '1', 'explicit-content': '1', 'fina ncial-product': 'pr:premium,tc:0,rt:v2_CH_default_prepaid-b2b_retail_external-CH-3m-42CHF-3m_42_CHF_default', 'head-file-caching': '1', 'head-files': '1', 'he ad-files-url': 'https://heads-fa-tls13.spotifycdn.com/head/{file_id}', 'high-bitrate': '1', 'image-url': 'https://i.scdn.co/image/{file_id}', 'incognito_mode_ timeout': '21600', 'is_email_verified': '1', 'key-caching-auto-offline': '0', 'key-caching-max-count': '10000', 'key-caching-max-offline-seconds': '1800', 'ke y-memory-cache-mode': '1:15,300', 'libspotify': '1', 'license-acceptance-grace-days': '30', 'license-agreements': None, 'loudness-levels': '1:-5.0,0.0,3.0:-2. 0', 'metadata-link-lookup-modes': '0', 'mobile': '1', 'mobile-payment': '0', 'name': 'Spotify Premium', 'network-operator-premium-activation': '1', 'nft-disab led': '1', 'offline': '1', 'on-demand': '1', 'on-demand-trial': 'expired', 'on-demand-trial-in-progress': '0', 'payment-state': None, 'payments-initial-campai gn': 'prepaid', 'payments-locked-state': '0', 'player-license': 'premium', 'player-license-v2': 'premium', 'playlist-annotations-markup': '0', 'preferred-loca le': 'en', 'prefetch-keys': '1', 'prefetch-strategy': '18', 'prefetch-window-max': '2', 'product-expiry': '2025-11-02T06:47:06Z', 'publish-activity': '0', 'pu blish-playlist': '0', 'radio': '1', 'rating-access': '1', 'remote-control': '6', 'restrict-playlist-collaboration': '0', 'send-email': '1', 'shows-collection' : '1', 'shows-collection-jam': '0', 'shuffle': '0', 'shuffle-algorithm': 'FRESH', 'sidebar-navigation-enabled': '0', 'storage-size-config': '10240,90,500,3', 'streaming': '1', 'streaming-rules': None, 'subscription-enddate': '2025-11-02T06:47:06Z', 'ugc-abuse-report': '1', 'ugc-abuse-report-url': 'https://support.s potify.com/abuse/?uri={uri}', 'unrestricted': '1', 'user-profile-show-invitation-codes': '0', 'video-cdn-sampling': '100', 'video-device-blacklisted': '0', 'v ideo-keyframe-url': 'http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg', 'video-man ifest-url': 'https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm', 'widevine-license-url': 'https://spclient.wg.spoti fy.com/widevine-license/v1/video/license'} INFO:Librespot:Session:Skipping 1f INFO:Librespot:Session:Skipping 69 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 DEBUG:Librespot:MercuryClient:Handling packet, cmd: 0xb5, seq: -2557763113369731072, flags: b'\x01', parts: 1 DEBUG:Librespot:MercuryClient:Couldn't dispatch Mercury event seq: -2557763113369731072, uri: hm://pusher/v1/connections/OTNiOTIyYjhkMDI4NDQ4NjYyYjQwYjI3OGMzM TkyN2RjMDQ1MWQxNCtBUCt0Y3A6Ly8wYWNhNDAxMy5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMTgrRTM5MjZCODQwNDdEMTVGQTlGN0U5RDlDNUY5RUZDMTM5OTg1QzQ2QTE4MDgyNTFGNEQwMjc4OTNEQkYxOUN ERQ%3D%3D, code: 200, payload: b'' DEBUG:Librespot:Session:Received 0x10: dbbc5d40a056f13c9a60b858f5fde9f89e111245 INFO:Librespot:Session:Skipping unknown command cmd: 0x75, payload: b'\x00\x00\x01' DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=dealer HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:443 DEBUG:urllib3.connectionpool:https://login5.spotify.com:443 "POST /v3/login HTTP/1.1" 200 None INFO:Librespot:TokenProvider:Login5 authentication successful, got access token DEBUG:Librespot:TokenProvider:Using Login5 access token for scopes: ['playlist-read'] INFO:Librespot:Session:Authenticated as xxxx!
Author
Owner

@Googolplexed0 commented on GitHub (Aug 24, 2025):

INFO:Librespot:Session:Authenticated as xxxx!

The next line should be DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:XXX, when requesting the metadata with get_track_metadata(). No idea how it is not getting to this point but also isn't erroring out. Try updating to v0.9.26 and sending your debug.log again. Might help pinpoint where things are breaking.

<!-- gh-comment-id:3217654109 --> @Googolplexed0 commented on GitHub (Aug 24, 2025): > INFO:Librespot:Session:Authenticated as xxxx! The next line should be `DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:XXX`, when requesting the metadata with `get_track_metadata()`. No idea how it is not getting to this point but also isn't erroring out. Try updating to v0.9.26 and sending your debug.log again. Might help pinpoint where things are breaking.
Author
Owner

@Geezer1834 commented on GitHub (Aug 24, 2025):

...

    [∙∙∙] Logging in...                                                                                                                                   

DEBUG
Session Initialized Successfully

/usr/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '

Below my log after upgrading v0.9.26:

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=accesspoint HTTP/1.1" 200 None
INFO:Librespot:Session:Created new session! device_id: 8d8297cf69030430cc7897d44deea0849e074d4a, ap: ap-gew1.spotify.com:443
INFO:Librespot:Session:Connection successfully!
INFO:Librespot:Session:Session.Receiver started
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=spclient HTTP/1.1" 200 None
INFO:Librespot:Session:Skipping 02
INFO:Librespot:Session:Received license_version: 0
INFO:Librespot:Session:Received country_code: CH
DEBUG:Librespot:Session:Parsed product info: {'type': 'premium', 'ab-ad-player-targeting': '1', 'ab-watch-now': '0', 'ab_recently_played_feature_time_filter_t
hreshold': 'com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30', 'ad-formats-preroll-video': '0', 'ad-session-persistence': '1', 'ads': '0
', 'app-developer': '0', 'arsenal_country': '1', 'audio-preview-url-template': 'https://p.scdn.co/mp3-preview/{id}', 'audio-quality': '1', 'audiobook-onboardi
ng-completed': '0', 'autoplay': '1', 'browse-overview-enabled': '1', 'capping-bar-threshold': '3601', 'catalogue': 'premium', 'collection': '1', 'created_by_p
artner': None, 'employee-free-opt-in': '0', 'enable-annotations': '2', 'enable-annotations-read': '0', 'enable-crossfade': '1', 'explicit-content': '1', 'fina
ncial-product': 'pr:premium,tc:0,rt:v2_CH_default_prepaid-b2b_retail_external-CH-3m-42CHF-3m_42_CHF_default', 'head-file-caching': '1', 'head-files': '1', 'he
ad-files-url': 'https://heads-fa-tls13.spotifycdn.com/head/{file_id}', 'high-bitrate': '1', 'image-url': 'https://i.scdn.co/image/{file_id}', 'incognito_mode_
timeout': '21600', 'is_email_verified': '1', 'key-caching-auto-offline': '0', 'key-caching-max-count': '10000', 'key-caching-max-offline-seconds': '1800', 'ke
y-memory-cache-mode': '1:15,300', 'libspotify': '1', 'license-acceptance-grace-days': '30', 'license-agreements': None, 'loudness-levels': '1:-5.0,0.0,3.0:-2.
0', 'metadata-link-lookup-modes': '0', 'mobile': '1', 'mobile-payment': '0', 'name': 'Spotify Premium', 'network-operator-premium-activation': '1', 'nft-disab
led': '1', 'offline': '1', 'on-demand': '1', 'on-demand-trial': 'expired', 'on-demand-trial-in-progress': '0', 'payment-state': None, 'payments-initial-campai
gn': 'prepaid', 'payments-locked-state': '0', 'player-license': 'premium', 'player-license-v2': 'premium', 'playlist-annotations-markup': '0', 'preferred-loca
le': 'en', 'prefetch-keys': '1', 'prefetch-strategy': '18', 'prefetch-window-max': '2', 'product-expiry': '2025-11-02T06:47:06Z', 'publish-activity': '0', 'pu
blish-playlist': '0', 'radio': '1', 'rating-access': '1', 'remote-control': '6', 'restrict-playlist-collaboration': '0', 'send-email': '1', 'shows-collection'
'1', 'shows-collection-jam': '0', 'shuffle': '0', 'shuffle-algorithm': 'FRESH', 'sidebar-navigation-enabled': '0', 'storage-size-config': '10240,90,500,3',
'streaming': '1', 'streaming-rules': None, 'subscription-enddate': '2025-11-02T06:47:06Z', 'ugc-abuse-report': '1', 'ugc-abuse-report-url': 'https://support.s
potify.com/abuse/?uri={uri}', 'unrestricted': '1', 'user-profile-show-invitation-codes': '0', 'video-cdn-sampling': '100', 'video-device-blacklisted': '0', 'v
ideo-keyframe-url': 'http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg', 'video-man
ifest-url': 'https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm', 'widevine-license-url': 'https://spclient.wg.spoti
fy.com/widevine-license/v1/video/license'}
INFO:Librespot:Session:Skipping 1f
INFO:Librespot:Session:Skipping 69
DEBUG:Librespot:MercuryClient:Handling packet, cmd: 0xb5, seq: 654712994852241408, flags: b'\x01', parts: 1
DEBUG:Librespot:MercuryClient:Couldn't dispatch Mercury event seq: 654712994852241408, uri: hm://pusher/v1/connections/OGQ4Mjk3Y2Y2OTAzMDQzMGNjNzg5N2Q0NGRlZWE
wODQ5ZTA3NGQ0YStBUCt0Y3A6Ly8wYWNhNDA5YS5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMzArNkM4RTgzNkZBMEMzQkNDREZBMkExRkNDNDIyRDA2NEQzRDVDMDZBRTBEQUI2QkY3NzEyMDlCQzAyOEU3MEJFN
g%3D%3D, code: 200, payload: b''
DEBUG:Librespot:Session:Received 0x10: 0f403f29aae93dc62cb34d6abc1497955c30f051
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443
INFO:Librespot:Session:Skipping unknown command cmd: 0x75, payload: b'\x00\x00\x01'
DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=dealer HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:443
DEBUG:urllib3.connectionpool:https://login5.spotify.com:443 "POST /v3/login HTTP/1.1" 200 None
INFO:Librespot:TokenProvider:Login5 authentication successful, got access token
DEBUG:Librespot:TokenProvider:Using Login5 access token for scopes: ['playlist-read']
INFO:Librespot:Session:Authenticated as xxxxx!
<!-- gh-comment-id:3217814274 --> @Geezer1834 commented on GitHub (Aug 24, 2025): ... [∙∙∙] Logging in... DEBUG Session Initialized Successfully ✓ /usr/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' Below my log after upgrading v0.9.26: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=accesspoint HTTP/1.1" 200 None INFO:Librespot:Session:Created new session! device_id: 8d8297cf69030430cc7897d44deea0849e074d4a, ap: ap-gew1.spotify.com:443 INFO:Librespot:Session:Connection successfully! INFO:Librespot:Session:Session.Receiver started DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=spclient HTTP/1.1" 200 None INFO:Librespot:Session:Skipping 02 INFO:Librespot:Session:Received license_version: 0 INFO:Librespot:Session:Received country_code: CH DEBUG:Librespot:Session:Parsed product info: {'type': 'premium', 'ab-ad-player-targeting': '1', 'ab-watch-now': '0', 'ab_recently_played_feature_time_filter_t hreshold': 'com.spotify.gaia=30,driving-mode=120,spotify%3Ainternal%3Astartpage=30', 'ad-formats-preroll-video': '0', 'ad-session-persistence': '1', 'ads': '0 ', 'app-developer': '0', 'arsenal_country': '1', 'audio-preview-url-template': 'https://p.scdn.co/mp3-preview/{id}', 'audio-quality': '1', 'audiobook-onboardi ng-completed': '0', 'autoplay': '1', 'browse-overview-enabled': '1', 'capping-bar-threshold': '3601', 'catalogue': 'premium', 'collection': '1', 'created_by_p artner': None, 'employee-free-opt-in': '0', 'enable-annotations': '2', 'enable-annotations-read': '0', 'enable-crossfade': '1', 'explicit-content': '1', 'fina ncial-product': 'pr:premium,tc:0,rt:v2_CH_default_prepaid-b2b_retail_external-CH-3m-42CHF-3m_42_CHF_default', 'head-file-caching': '1', 'head-files': '1', 'he ad-files-url': 'https://heads-fa-tls13.spotifycdn.com/head/{file_id}', 'high-bitrate': '1', 'image-url': 'https://i.scdn.co/image/{file_id}', 'incognito_mode_ timeout': '21600', 'is_email_verified': '1', 'key-caching-auto-offline': '0', 'key-caching-max-count': '10000', 'key-caching-max-offline-seconds': '1800', 'ke y-memory-cache-mode': '1:15,300', 'libspotify': '1', 'license-acceptance-grace-days': '30', 'license-agreements': None, 'loudness-levels': '1:-5.0,0.0,3.0:-2. 0', 'metadata-link-lookup-modes': '0', 'mobile': '1', 'mobile-payment': '0', 'name': 'Spotify Premium', 'network-operator-premium-activation': '1', 'nft-disab led': '1', 'offline': '1', 'on-demand': '1', 'on-demand-trial': 'expired', 'on-demand-trial-in-progress': '0', 'payment-state': None, 'payments-initial-campai gn': 'prepaid', 'payments-locked-state': '0', 'player-license': 'premium', 'player-license-v2': 'premium', 'playlist-annotations-markup': '0', 'preferred-loca le': 'en', 'prefetch-keys': '1', 'prefetch-strategy': '18', 'prefetch-window-max': '2', 'product-expiry': '2025-11-02T06:47:06Z', 'publish-activity': '0', 'pu blish-playlist': '0', 'radio': '1', 'rating-access': '1', 'remote-control': '6', 'restrict-playlist-collaboration': '0', 'send-email': '1', 'shows-collection' : '1', 'shows-collection-jam': '0', 'shuffle': '0', 'shuffle-algorithm': 'FRESH', 'sidebar-navigation-enabled': '0', 'storage-size-config': '10240,90,500,3', 'streaming': '1', 'streaming-rules': None, 'subscription-enddate': '2025-11-02T06:47:06Z', 'ugc-abuse-report': '1', 'ugc-abuse-report-url': 'https://support.s potify.com/abuse/?uri={uri}', 'unrestricted': '1', 'user-profile-show-invitation-codes': '0', 'video-cdn-sampling': '100', 'video-device-blacklisted': '0', 'v ideo-keyframe-url': 'http://keyframes-fa.cdn.spotify.com/keyframes/v1/sources/{source_id}/keyframe/heights/{height}/timestamps/{timestamp_ms}.jpg', 'video-man ifest-url': 'https://spclient.wg.spotify.com/manifests/v6/{type}/sources/{source_id}/options/supports_drm', 'widevine-license-url': 'https://spclient.wg.spoti fy.com/widevine-license/v1/video/license'} INFO:Librespot:Session:Skipping 1f INFO:Librespot:Session:Skipping 69 DEBUG:Librespot:MercuryClient:Handling packet, cmd: 0xb5, seq: 654712994852241408, flags: b'\x01', parts: 1 DEBUG:Librespot:MercuryClient:Couldn't dispatch Mercury event seq: 654712994852241408, uri: hm://pusher/v1/connections/OGQ4Mjk3Y2Y2OTAzMDQzMGNjNzg5N2Q0NGRlZWE wODQ5ZTA3NGQ0YStBUCt0Y3A6Ly8wYWNhNDA5YS5pcC5nZXcxLnNwb3RpZnkubmV0OjUwMzArNkM4RTgzNkZBMEMzQkNDREZBMkExRkNDNDIyRDA2NEQzRDVDMDZBRTBEQUI2QkY3NzEyMDlCQzAyOEU3MEJFN g%3D%3D, code: 200, payload: b'' DEBUG:Librespot:Session:Received 0x10: 0f403f29aae93dc62cb34d6abc1497955c30f051 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apresolve.spotify.com:443 INFO:Librespot:Session:Skipping unknown command cmd: 0x75, payload: b'\x00\x00\x01' DEBUG:urllib3.connectionpool:https://apresolve.spotify.com:443 "GET /?type=dealer HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login5.spotify.com:443 DEBUG:urllib3.connectionpool:https://login5.spotify.com:443 "POST /v3/login HTTP/1.1" 200 None INFO:Librespot:TokenProvider:Login5 authentication successful, got access token DEBUG:Librespot:TokenProvider:Using Login5 access token for scopes: ['playlist-read'] INFO:Librespot:Session:Authenticated as xxxxx! ✓
Author
Owner

@Googolplexed0 commented on GitHub (Aug 30, 2025):

DEBUG
Session Initialized Successfully

No idea why it isn't progressing further if you are seeing this. Does this occur for you when running the efficient-api branch as well? Also, please attach any future DEBUG.logs as files rather than text.

<!-- gh-comment-id:3239541416 --> @Googolplexed0 commented on GitHub (Aug 30, 2025): > DEBUG > Session Initialized Successfully No idea why it isn't progressing further if you are seeing this. Does this occur for you when running the [efficient-api branch](https://github.com/Googolplexed0/zotify/issues/41) as well? Also, please attach any future DEBUG.logs as files rather than text.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zotify#35
No description provided.